Skip to content

fix(desktop): recover from proxy sidecar exits - #38

Merged
kev1n77 merged 2 commits into
mainfrom
codex/sidecar-crash-recovery
Jul 16, 2026
Merged

kev1n77 merged 2 commits into
mainfrom
codex/sidecar-crash-recovery

Conversation

@kev1n77

@kev1n77 kev1n77 commented Jul 16, 2026

Copy link
Copy Markdown
Owner

Summary

  • poll the verified proxy sidecar without blocking and detect unexpected process exit
  • isolate monitors by runtime generation so stale tasks cannot stop a replacement session
  • remove the failed proxy runtime, restore the system proxy, re-enable Gateway capture, and emit a structured runtime error
  • reload the frontend workspace after sidecar failure so the displayed mode matches the recovered backend state
  • update CAP-006 progress and threat-model evidence

Verification

  • cargo fmt --all -- --check
  • cargo test --workspace --all-targets
  • cargo clippy --workspace --all-targets -- -D warnings
  • cargo test --manifest-path apps/desktop/src-tauri/Cargo.toml (12 unit + 1 watchdog integration)
  • cargo clippy --manifest-path apps/desktop/src-tauri/Cargo.toml --all-targets -- -D warnings
  • npm run check (20 tests)
  • npm run build

@kev1n77
kev1n77 merged commit 16300be into main Jul 16, 2026
9 checks passed
@kev1n77
kev1n77 deleted the codex/sidecar-crash-recovery branch July 16, 2026 07:59
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