fix(tui): recover event stream after lock/sleep disconnect#15436
fix(tui): recover event stream after lock/sleep disconnect#15436Niraj12chaudhary wants to merge 2 commits intoanomalyco:devfrom
Conversation
|
Thanks for your contribution! This PR doesn't have a linked issue. All PRs must reference an existing issue. Please:
See CONTRIBUTING.md for details. |
|
The following comment was made by an LLM, it may be inaccurate: Potentially Related PRs FoundBased on my search, I found several PRs that are related to event stream handling and TUI reliability:
Most relevant: PR #15308 appears to be closely related as it also fixes streaming freeze issues in the TUI with timeout handling, which overlaps with this PR's heartbeat timeout approach. |
|
Thanks for updating your PR! It now meets our contributing guidelines. 👍 |
Issue for this PR
Closes #15431
Type of change
What does this PR do?
Fixes a TUI freeze case after long macOS lock/sleep periods where sessions could remain stuck in
In Progresswith no new output.Changes in this PR:
server.connected/global.disposedso session status is refreshed after reconnect.Why this works:
How did you verify your code works?
bun --cwd packages/opencode typecheckScreenshots / recordings
N/A (TUI event-stream reliability fix)
Checklist