Repository navigation
Conversation
Collaborator
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Human comments
What was wrong
In #4365, reconnect could revive an errored thread from daemon liveness even though its stored turn had already ended. Follow-ups then waited for a turn-start event that would never arrive. Separately, a provider startup watchdog leaves an accepted request pending; the timeline misleadingly showed Working, and explicitly stopping it preserved the follow-up with a stale wait that disabled Send now.
What changed
No daemon wire/protocol, database schema, public API, or CLI changes. Existing stop and queue operations remain the recovery surfaces. Historical phantom-active records are not backfilled.
Related integration boundaries: #4271 changes disconnect retention/reconciliation; #4356 adds parent notices to host interruption and terminal queue failure. Keep manual Stop silent and ensure manual-recovery queue rows are not mistaken for exhausted automatic dispatch retries. #3613 and #4017 also affect late/terminal turn settlement. These combinations have not been tested as a merged stack.
How you verified
68fd492163: 4 failures and 1 healthy control pass; patched regression passes. Timeline regression fails before and passes after.454010b9d5712282899dd86065e5b1c70a41b797; retained a separate main-parent control server and resettable pending Stop fixtures.Synthetic fixtures prove the state handling, not the original heartbeat outage or Claude startup incident. No reporter thread was modified. Native Claude replay and the original empty-panel report remain unverified.
Fixes #4365