Skip to content

feat(workbench): show that a run is at work, or waiting to retry, in ordinary Chat - #6881

Merged
M4n5ter merged 1 commit into
rust-previewfrom
fix/retry-wait-working-row
Nov 14, 2026
Merged

M4n5ter merged 1 commit into
rust-previewfrom
fix/retry-wait-working-row

Conversation

@UncertaintyDeterminesYou4ndMe

Copy link
Copy Markdown
Contributor

Why

Since #6847 removed the wait line above the composer, an ordinary conversation whose run waits to retry the provider shows only the stop button. With a rate-limited provider this can be minutes of retries with nothing on screen. Bot Chat already has a "Working…" row at the end of Chat until the turn has a header of its own. As agreed in #6078, this brings the same row to ordinary Chat.

Change

  • Ordinary Chat shows the "Working…" row while a turn is at work and has no process or summary header yet. It goes away when the header appears.
  • While the run waits on something nobody has to act on (a provider retry or backoff, a code cell, a child run), the row stays. When the wait is a retry or backoff, it reads "Working… · Waiting to retry".
  • A run that waits for an approval or for access shows its own card, so the row does not show then.
  • The row is added outside the per-section cache in chatDisplaySections, which only refreshes when a turn is expanded or collapsed. The row follows the run state, so it must not be cached with the entries.
  • runWaits.ts holds the wait classification, with a node test.

This is beside #6879, which records failed and retried requests in the trajectory view. This change only covers what Chat shows while the run is waiting.

AI use

Written with Claude Code (Claude Opus 5.5). It wrote the change and the test. I checked it on a local build with a scripted provider: the row reads "Working…" while the model is called, "Working… · Waiting to retry" during backoff, and goes away once the turn shows "Worked for …".

…ordinary Chat

Bot Chat shows "Working…" until the running Turn has its own header.
Ordinary Chat showed nothing, so a model slow to answer, or a run backing
off after a rate limit, looked idle except for the stop button. Since
#6847 removed the wait line above the composer, a retry wait had no
sign at all.

Ordinary Chat now shows the same row. It stays outside the cached Chat
sections, which do not follow the run. Both Chats keep the row while the
run waits on something nobody has to act on (a provider retry, a code
cell, a child run) and name a retry wait "Waiting to retry". A run that
waits for an approval or for access keeps its own card instead.
@M4n5ter
M4n5ter merged commit 20252cc into rust-preview Nov 14, 2026
26 of 32 checks passed
@M4n5ter
M4n5ter deleted the fix/retry-wait-working-row branch November 14, 2026 02:44
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.

2 participants