Live-clock in-flight tool rows, clear stale stall notice - #529
Merged
TheGreatAxios merged 2 commits intoAug 23, 2026
Merged
Conversation
TheGreatAxios
force-pushed
the
cl-6894-show-the-primary-agents-mid-turn-output-in-the-transcript
branch
from
August 22, 2026 23:16
db708a2 to
506964f
Compare
2 tasks
An ordinary tool call's row sat on a static pending mark for the whole call, indistinguishable from a hung turn once a slow tool ran for minutes. Give it the same live elapsed clock Task rows already carry, skipping calls whose row already states its own fact (a diff's +/- count) and dropping the clock once the answer lands. The "no response for a while" notice had no ttl by design (it must stay up for as long as the silence lasts) but nothing ever cleared it when the run started producing again, so it lingered on screen after the turn was visibly alive. Clear it on the next tick once the stall level drops back to quiet. Fixes CL-6894 https://linear.app/abklabs/issue/CL-6894
The cadence timer is cancelled the moment the turn settles, so a tool.done then inference.done burst that lands before the next tick would otherwise leave the banner up forever.
TheGreatAxios
force-pushed
the
cl-6894-show-the-primary-agents-mid-turn-output-in-the-transcript
branch
from
August 22, 2026 23:58
2e1dc1d to
48e37b1
Compare
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.
Summary
A slow in-flight tool (MCP, search, shell) now ticks a live elapsed clock on its pending row, the same way Task rows already do, so a working stretch is distinguishable from a hung turn.
The stall notice ("no response for a while") is a live diagnosis: it comes down on the same paint as the activity that ends the silence, including when the turn settles before the next monitor tick.
Verification
bun run typecheck— cleanbun test ./src/tui/turn-monitor.test.ts ./src/tui/runtime-bridge.test.ts— 54 passFixes CL-6894