Repository navigation
fix(chat): keep the Working line through silent stretches of a run - #5709
Conversation
The Working line hid itself once a busy run went a minute without new output, and nothing took its place. #4651 removed the "No new activity" warning that used to replace it but kept the condition that hid the line. A long conversation that needs over a minute for its first token showed an empty chat with only the Stop button, until text arrived. Silence still triggers the background status re-check, and Reconnecting still replaces the line when the run can no longer be confirmed. Signed-off-by: Benjamin Shafii <[email protected]>
|
The latest updates on your projects. Learn more about Vercel for GitHub. 4 Skipped Deployments
|
OpenWork evidence
Run details · Open the preview to inspect evidence and sandbox options. |
There was a problem hiding this comment.
Warden clearance. Complete security and confidentiality review of 4488bc521f9cd8a97805c8fcad1b6c99cfd5fa22 found no high or medium security findings and no confidentiality findings. Any new push dismisses this approval. Analysis run
Warden: approvedNo high or medium security findings and no confidentiality findings. Reviewed |
#5261 moved the session header out of the session pane into the window titlebar. The shimmer spec still looked for a header inside the pane, read an empty filter, and failed its backdrop check. The spec only runs when it changes, so the break went unnoticed until now. Signed-off-by: Benjamin Shafii <[email protected]>
There was a problem hiding this comment.
Warden clearance. Complete security and confidentiality review of 35886a7870fae939272758dfa67d4532c812d95d found no high or medium security findings and no confidentiality findings. Any new push dismisses this approval. Analysis run
#5547 moved the aggregate's live step inline, and its own text now carries the shimmer class. The spec only looked for a shimmering descendant, so it read false. Signed-off-by: Benjamin Shafii <[email protected]>
There was a problem hiding this comment.
Warden clearance. Complete security and confidentiality review of 6b443e53427283976f5a2cb39fc65eae81e3f5d1 found no high or medium security findings and no confidentiality findings. Any new push dismisses this approval. Analysis run
The evidence report marks a test Incomplete when it records no assertion evidence, so the shimmer spec's proof stayed Incomplete even when every step passed. Each step now records the fact it checked, with the observed values. Signed-off-by: Benjamin Shafii <[email protected]>
There was a problem hiding this comment.
Warden clearance. Complete security and confidentiality review of 2b24dbe186a51a9fb21d4ed98e3f11ff91da2fea found no high or medium security findings and no confidentiality findings. Any new push dismisses this approval. Analysis run
What is this about?
The chat's "Working" line, which shows that a reply is still in progress.
What problem does it solve?
When a reply took more than a minute to start, the line disappeared and the chat looked stuck or finished, even though OpenWork was still working. Only the Stop button hinted otherwise.
What was the situation before?
After a minute with no new output, which is common on long conversations before the first word arrives, "Working 1m 0s" vanished. Nothing showed below your message until text started streaming.
How is this implemented?
apps/app/src/components/chat/message-list.tsx: a minute of silence no longer hides the Working line. fix(app): remove no-new-activity warning #4651 removed the "No new activity" warning that used to replace it, but kept the condition that hid the line.apps/app/tests/message-list-working-line.test.tsxrenders a busy run that has been silent for two minutes, plus the Reconnecting case.What else changed?
evals/specs/chat-loading-shimmer.e2e.test.tshad two checks broken by later UI changes, unnoticed because the spec only runs when it changes. It now finds the session header in the window titlebar (moved by feat(desktop): refine sidebar icons and native chrome (ENG-273) #5261) and accepts the shimmer on the live step itself (moved by fix(chat): clear model errors and calm, readable tool steps #5547). Each step also records what it observed, so the report can be complete.Release note
The chat keeps showing "Working" while a reply takes more than a minute to start, instead of going blank.
Evidence
evals/specs/chat-loading-shimmer.e2e.test.ts— before: after a minute with no new output, the Working line disappears; after: it still shows "Working 1m …".Design: P1, P11