fix/security audit hardening - #193
Merged
Merged
Conversation
Move TypeScript test suites, setup, and Tauri mocks into a source-mirroring tests tree. Update Vitest, Vite aliases, test typechecking, and package dependencies without changing Rust sources.
Move Playwright specs under tests/e2e and provide a page-scoped runtime for deterministic Tauri, provider, store, filesystem, dialog, and event behavior. Reject unregistered mock commands and record calls for UI-level contract assertions.
Decode structured Tauri error payloads after wrapper serialization so plugin failures retain their stable UI classification.
Add deterministic stateful Tauri mocks and screen-level coverage for app shell, server management, console, users, files, backups, settings, properties, Java, Ngrok, and proxy flows.
Exercise final managed destinations, hashless policy dialogs, integrity failures, incompatible installs, and retryable network feedback through Playwright.
Cover blocking dialogs, focus management, retryable inline errors, and security-specific plugin feedback in Playwright.
Add root test typecheck and E2E aliases, pin workflow actions to immutable SHAs, include tests in path filters, and retain Playwright artifacts on failure.
Keep the locked installer while invoking cargo-audit with its supported CLI arguments.
Build managed and outside fixtures from the platform temporary directory so the security test passes on Windows as well as Unix.
Resolve native picker entries and managed destinations through trusted directory entries before copying.
Resolve managed tree entries from trusted roots before recursive filesystem operations and canonicalize picker sources at the copy boundary.
tukuyomil032
marked this pull request as ready for review
September 2, 2026 15:11
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.
Problem
Solution
Scope
Validation
Automated checks
pnpm checkpnpm testpnpm buildcd src-tauri && cargo testgit diff --checkManual QA
Screenshots or recording
Related issue
Closes #
Notes