Skip to content

feat(desktop): manage local runtime lifecycle - #111

Merged
tuzuminami merged 1 commit into
mainfrom
codex/add-tauri-runtime-107
Jul 20, 2026
Merged

feat(desktop): manage local runtime lifecycle#111
tuzuminami merged 1 commit into
mainfrom
codex/add-tauri-runtime-107

Conversation

@tuzuminami

Copy link
Copy Markdown
Owner

Closes #107

What changed

  • Move local API ownership into Tauri managed state with single-instance handling, child lifecycle cleanup, ownership nonce checks, and redacted runtime status.
  • Add explicit, fail-closed recovery for port collisions, missing packaged sidecars, stale markers, and unverified marker quarantine.
  • Harden backend child-process environments and expose a constant-time local runtime health endpoint.
  • Add a least-privilege Tauri capability, recovery UI, development launcher, CI Rust runtime tests, and runbook coverage.

Validation

  • ./scripts/test.sh
  • ./scripts/lint.sh
  • ./scripts/check_licenses.sh
  • ./scripts/check_no_external_network.sh
  • cargo check --locked --manifest-path apps/desktop/src-tauri/Cargo.toml
  • cargo test --locked --manifest-path apps/desktop/src-tauri/Cargo.toml

@tuzuminami
tuzuminami marked this pull request as ready for review July 20, 2026 01:08
@tuzuminami
tuzuminami merged commit 89fb052 into main Jul 20, 2026
2 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.

[P0][macOS][Security] Tauriがlocal sidecarを所有するruntime基盤を先行実装する

1 participant