Skip to content

fix/security audit hardening - #193

Merged
tukuyomil032 merged 21 commits into
fix/feedback-policyfrom
fix/security-audit-hardening
Sep 2, 2026
Merged

fix/security audit hardening#193
tukuyomil032 merged 21 commits into
fix/feedback-policyfrom
fix/security-audit-hardening

Conversation

@tukuyomil032

Copy link
Copy Markdown
Owner

Problem

Solution

Scope

  • Included:
  • Out of scope:

Validation

Automated checks

  • pnpm check
  • pnpm test
  • pnpm build
  • cd src-tauri && cargo test
  • git diff --check

Manual QA

  • Tested the affected flow in the packaged debug application when applicable
  • Confirmed the relevant error and empty states
  • Confirmed keyboard and accessibility behavior for UI changes

Screenshots or recording

Related issue

Closes #

Notes

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
tukuyomil032 marked this pull request as ready for review September 2, 2026 15:11
@tukuyomil032
tukuyomil032 merged commit a57278a into main Sep 2, 2026
10 of 11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant