Skip to content

Live-clock in-flight tool rows, clear stale stall notice - #529

Merged
TheGreatAxios merged 2 commits into
mainfrom
cl-6894-show-the-primary-agents-mid-turn-output-in-the-transcript
Aug 23, 2026
Merged

Live-clock in-flight tool rows, clear stale stall notice#529
TheGreatAxios merged 2 commits into
mainfrom
cl-6894-show-the-primary-agents-mid-turn-output-in-the-transcript

Conversation

@TheGreatAxios

@TheGreatAxios TheGreatAxios commented Aug 22, 2026

Copy link
Copy Markdown
Collaborator

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 — clean
  • bun test ./src/tui/turn-monitor.test.ts ./src/tui/runtime-bridge.test.ts — 54 pass

Fixes CL-6894

@linear-code

linear-code Bot commented Aug 22, 2026

Copy link
Copy Markdown

CL-6894

@TheGreatAxios
TheGreatAxios force-pushed the cl-6894-show-the-primary-agents-mid-turn-output-in-the-transcript branch from db708a2 to 506964f Compare August 22, 2026 23:16
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
TheGreatAxios force-pushed the cl-6894-show-the-primary-agents-mid-turn-output-in-the-transcript branch from 2e1dc1d to 48e37b1 Compare August 22, 2026 23:58
@TheGreatAxios
TheGreatAxios merged commit b63681b into main Aug 23, 2026
3 of 4 checks passed
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