fix: delay idle event until turn finishes#132
Conversation
How to use the Graphite Merge QueueAdd either label to this PR to merge it via the merge queue:
You must have a Graphite account in order to use the merge queue. Sign up using this link. An organization admin has enabled the Graphite Merge Queue in this repository. Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue. This stack of pull requests is managed by Graphite. Learn more about stacking. |
Merge activity
|
07532e4 to
479c846
Compare
Code ReviewIssue: Idle events may be permanently lost when suppressedLocation: Problem: When Impact: The Root cause: The PR implements the "defer" mechanism (suppress when tool calls are open) but is missing the "resume" mechanism (emit when tool calls drain). Suggested fix: Track whether an idle event was deferred, then emit it when
This ensures the idle event is delayed until tool calls complete, but not lost entirely. |

No description provided.