Skip to content

Prevent stale GUI reopen and stop goal polling#169

Merged
SDSLeon merged 1 commit into
masterfrom
lightcode/fair-tern-13394eb4
Jun 14, 2026
Merged

Prevent stale GUI reopen and stop goal polling#169
SDSLeon merged 1 commit into
masterfrom
lightcode/fair-tern-13394eb4

Conversation

@SDSLeon

@SDSLeon SDSLeon commented Jun 14, 2026

Copy link
Copy Markdown
Owner
  • Remember whether a GUI turn is still open so late runtime events cannot reopen a thread after turn.completed and idle.
  • Stop Claude SDK goal-tracking polls on every turn end, including interrupts, while leaving the goal active for the next turn.
  • Add regression tests for the post-idle reopen race and the interrupted-turn poller leak.

- Track open turns in runtime event state so trailing post-idle events do not reopen settled GUI threads
- Stop Claude goal-tracking on every turn end, including interrupts, and add coverage for the poller leak
@vercel

vercel Bot commented Jun 14, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated (UTC)
lightcode-landing Skipped Skipped Jun 14, 2026 6:02am

@SDSLeon SDSLeon merged commit a20c5c0 into master Jun 14, 2026
6 checks passed
@SDSLeon SDSLeon deleted the lightcode/fair-tern-13394eb4 branch June 14, 2026 06:07
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