Skip to content

fix(chat): keep the Working line through silent stretches of a run - #5709

Merged
benjaminshafii merged 4 commits into
devfrom
fix/working-line-during-silence
Oct 7, 2026
Merged

benjaminshafii merged 4 commits into
devfrom
fix/working-line-during-silence

Conversation

@benjaminshafii

@benjaminshafii benjaminshafii commented Oct 6, 2026 •

Copy link
Copy Markdown
Member

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.
  • Silence still triggers the background status re-check, and Reconnecting still replaces the line when the run can no longer be confirmed.
  • apps/app/tests/message-list-working-line.test.tsx renders a busy run that has been silent for two minutes, plus the Reconnecting case.

What else changed?

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

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]>
@vercel

vercel Bot commented Oct 6, 2026 •

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

4 Skipped Deployments
Project Deployment Actions Updated
openwork-app Ignored Ignored Preview Oct 6, 2026 6:56pm UTC
openwork-den Ignored Ignored Preview Oct 6, 2026 6:56pm UTC
openwork-diagnostics Ignored Ignored Preview Oct 6, 2026 6:56pm UTC
openwork-landing Ignored Ignored Preview Oct 6, 2026 6:56pm UTC

@github-actions

github-actions Bot commented Oct 6, 2026 •

Copy link
Copy Markdown
Contributor

OpenWork evidence

Status Commit Preview Updated
🟢 Ready · evidence passed 2b24dbe Open preview 2026-10-06 19:01:46 UTC

Run details · Open the preview to inspect evidence and sandbox options.

diff-warden[bot]
diff-warden Bot previously approved these changes Oct 6, 2026

@diff-warden diff-warden Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

@diff-warden

diff-warden Bot commented Oct 6, 2026 •

Copy link
Copy Markdown
Contributor

Warden: approved

No high or medium security findings and no confidentiality findings.

Reviewed 2b24dbe186a5 · Warden run · Updates after every Warden run.

@github-actions
github-actions Bot temporarily deployed to Evidence / PR 5709 October 6, 2026 16:26 Inactive
#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]>
diff-warden[bot]
diff-warden Bot previously approved these changes Oct 6, 2026

@diff-warden diff-warden Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

@github-actions
github-actions Bot temporarily deployed to Evidence / PR 5709 October 6, 2026 18:45 Inactive
#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]>
diff-warden[bot]
diff-warden Bot previously approved these changes Oct 6, 2026

@diff-warden diff-warden Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

@github-actions
github-actions Bot temporarily deployed to Evidence / PR 5709 October 6, 2026 18:52 Inactive
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]>

@diff-warden diff-warden Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

@benjaminshafii
benjaminshafii merged commit b91b406 into dev Oct 7, 2026
31 checks passed

This branch was successfully deployed

1 active and 1 inactive deployments
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