Repository navigation
fix(server): reconnect live goal clients after HTTP shutdown - #468
Conversation
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
@codex review |
|
Codex Review: Didn't find any major issues. 🚀 Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
|
@codex review |
|
Codex Review: Didn't find any major issues. Bravo. Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
Stopping an HTTP server could leave its live SSE responses open, keeping clients attached to a retired endpoint. Shutdown now ends those streams so the same TUI client can reconnect, retain its goal and apply steering before its next file write. The stream-EOF regression failed before the fix and passes afterward.
Completes #3’s interruption/recovery coverage on top of #467: unrelated prompts leave paused goals unchanged, explicit resume is idempotent, and a real second CLI process resumes the same default-Auto goal from its saved checkpoint without resetting its deadline or usage. Native CI explicitly runs these cases on macOS and Windows. Existing process-kill, deadline and stop/pause/clear cases remain in place; the plan is updated.
Validation: the stream-EOF regression failed before the fix; all 36 server tests and the focused live-client/CLI/approval scenarios pass. Local fmt, lint, all-target/all-feature Clippy, and the affected nextest selection pass: 2,586/2,586 tests (14 skipped). Final-head CI passes on Linux, macOS and Windows, including real-binary smoke and the native recovery/reconnect/CLI scenarios. Codex reviewed exact head
7aba96c2with no findings and a thumbs-up. No known regressions.