feat(devops): Tauri debugging rules, async IPC, and hardened GUI tests#16
Merged
Conversation
- Add .cursorrules with IPC registration, serde, async, and error-handling rules - Move heavy commands to async + spawn_blocking; expose *_sync for Rust E2E tests - Add serde rename_all camelCase on IPC structs - Centralize invoke error logging in src/lib/tauri.js - Wire AboutTab to about_info command; add console error detection to GUI smoke - Add playwright.config.mjs; run test:gui in CI - Document DevTools debugging and GUI testing in DEVELOPER.md Co-authored-by: Yusuf Shalahuddin Al Ayyubi As Sobari <yusuf.shalahuddin@live.com>
- Add Rust E2E: forensic scan, hash, preview, partial extract, stat_paths - Add ipc_registry_test.rs and tests/ipc-coverage.mjs - GUI smoke: password ZIP, preview, flat view, about version/centering (20 tests) - test:all runs IPC + E2E (12) + GUI; CI runs full pipeline - Add root .cargo/config.toml for Linux link flags from repo root Co-authored-by: Yusuf Shalahuddin Al Ayyubi As Sobari <yusuf.shalahuddin@live.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Implements the Tauri development practices from the project guide: DevTools debugging, IPC safety, async heavy commands, and automated GUI testing in CI.
Changes
.cursorrulesPermanent AI rules for IPC registration, serde camelCase, async commands, error handling, and testing.
Async IPC (no UI freeze)
Heavy commands (
compress,extract,inspect,forensic_scan,hash, etc.) now usespawn_blockingviarun_blocking(). Sync implementations exposed as*_syncfor Rust E2E tests.Frontend IPC logging
src/lib/tauri.jswraps allinvoke()calls withtry/catch+console.error('[ZipLoom IPC] ...')— visible in DevTools Console.GUI tests
tests/gui-smoke.mjs(16/16 tests)playwright.config.mjsaddednpm run test:guion every pushAbout tab
Loads version/features from
about_infocommand instead of hardcoded values.Docs
DEVELOPER.md— DevTools shortcut, common IPC errors, GUI test workflow.Verify locally
npm run test:all npm run tauri:dev # Cmd+Option+I to open DevTools