Skip to content

fix(app): one shimmer across the Working and background tasks line - #6070

Merged
OmarMcAdam merged 2 commits into
devfrom
background-task-shimmer-me-timbers
Oct 16, 2026
Merged

OmarMcAdam merged 2 commits into
devfrom
background-task-shimmer-me-timbers

Conversation

@OmarMcAdam

@OmarMcAdam OmarMcAdam commented Oct 15, 2026 •

Copy link
Copy Markdown
Member

What is this about?

The desktop chat's status line while a turn runs with commands left in the background: "Working 3m · 2 running background tasks" now shimmers as one line.

What problem does it solve?

People found the line distracting: two shimmers swept past each other at different speeds and out of step.

What was the situation before?

"Working 3m" and "2 running background tasks" each had their own sweep. The bright band crossed each part separately, faster and wider on the longer label, and the "·" between them never shimmered.

How is this implemented?

  • message-list.tsx (LoadingMessage): one ow-text-shimmer span wraps the Working text, the separator and the count.
  • background-tasks.tsx: BackgroundTasksLabel takes a shimmer prop, off inside the Working line so it does not paint a second sweep over the shared one. On its own line after the turn, it shimmers as before.
  • A count the connection cannot confirm stays outside the sweep, still, as before.

What else changed?

Release note

While the agent works with background tasks running, the status line now shimmers as one line instead of two out-of-step parts.

Evidence

evals/proofs/background-tasks-one-shimmer.proof.test.ts. Before: the Working line holds two shimmering parts, "Working 0s" and "2 running background tasks". After: it holds one, covering "Working Ns · 2 running background tasks".

Design: V6, T1

@vercel

vercel Bot commented Oct 15, 2026 •

Copy link
Copy Markdown
Contributor

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

Project Deployment Actions Updated
openwork-den Ready Ready Preview Oct 15, 2026 11:54pm UTC
openwork-diagnostics Ready Ready Preview Oct 15, 2026 11:54pm UTC
openwork-landing Ready Ready Preview, v0 Oct 15, 2026 11:54pm UTC
1 Skipped Deployment
Project Deployment Actions Updated
openwork-app Ignored Ignored Preview Oct 15, 2026 11:54pm UTC

Request Review

@OmarMcAdam OmarMcAdam changed the title fix(app): sweep one shimmer across the Working and background tasks line fix(app): one shimmer across the Working and background tasks line Oct 15, 2026
@OmarMcAdam
OmarMcAdam temporarily deployed to pr-internal-specs October 15, 2026 23:14 — with GitHub Actions Inactive
@github-actions

github-actions Bot commented Oct 15, 2026 •

Copy link
Copy Markdown
Contributor

OpenWork evidence

Status Commit Preview Updated
🟢 Ready · evidence passed 2ccfecd Open preview 2026-10-15 23:58:42 UTC

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

diff-warden[bot]
diff-warden Bot previously approved these changes Oct 15, 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 15f34f3241390e7997ad84585e5c643895d58594 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 15, 2026 •

Copy link
Copy Markdown
Contributor

Warden: approved

No high or medium security findings and no confidentiality findings.

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

@github-actions
github-actions Bot temporarily deployed to Evidence / PR 6070 October 15, 2026 23:20 Inactive
@github-actions
github-actions Bot temporarily deployed to Evidence / PR 6070 October 15, 2026 23:24 Inactive
@OmarMcAdam
OmarMcAdam temporarily deployed to pr-internal-specs October 15, 2026 23:26 — with GitHub Actions Inactive
diff-warden[bot]
diff-warden Bot previously approved these changes Oct 15, 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 093a0319a34d51ce3ee5c42ebdd251625e67b89e found no high or medium security findings and no confidentiality findings. Any new push dismisses this approval. Analysis run

diff-warden[bot]
diff-warden Bot previously approved these changes Oct 15, 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 621984a5435485f2be5608560da419bb52e56a3a 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 6070 October 15, 2026 23:36 Inactive
While a turn runs with commands left in the background, the status line read
"Working 3m · 2 running background tasks" with two separate shimmers: each
part swept its own band at its own speed and phase, and the separator never
shimmered. One shimmer span now wraps the whole line; the count label skips
its own shimmer there (new shimmer prop) and keeps it on its standalone line
after the turn. A count the connection cannot confirm stays outside the
sweep, still, as before.

The background shell tasks spec now asserts the Working line has exactly one
shimmer covering the full text.

Signed-off-by: OmarMcAdam <[email protected]>
@OmarMcAdam
OmarMcAdam force-pushed the background-task-shimmer-me-timbers branch from 621984a to f7c5a59 Compare October 15, 2026 23:44
@vercel
vercel Bot temporarily deployed to Preview – openwork-landing October 15, 2026 23:44 Inactive
@vercel
vercel Bot temporarily deployed to Preview – openwork-diagnostics October 15, 2026 23:44 Inactive
@vercel
vercel Bot temporarily deployed to Preview – openwork-den October 15, 2026 23:44 Inactive
@OmarMcAdam
OmarMcAdam temporarily deployed to pr-internal-specs October 15, 2026 23:44 — with GitHub Actions Inactive
diff-warden[bot]
diff-warden Bot previously approved these changes Oct 15, 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 f7c5a59b46f498075f6022f31f2cd33124a8fd46 found no high or medium security findings and no confidentiality findings. Any new push dismisses this approval. Analysis run

…s line

A one-off proof (evals/proofs) for this PR, since evals/specs and the
background shell tasks spec were retired in #6055. A member's agent leaves a
report export running, then keeps working on a second request: the Working
line must hold exactly one shimmer covering "Working Ns · 2 running
background tasks". After the turn, the count keeps its own single shimmer,
and it goes away once both commands finish.

The world starts the app on OpenCode v2 itself (background commands only
exist there) and turns backgroundShellTasks on before sign-in.

Locally: fails on origin/dev (ef455ca) with two shimmering parts
['Working 0s', '2 running background tasks']; passes on this branch.

Signed-off-by: OmarMcAdam <[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 2ccfecdabf9e455fabdc156e0d5367313067bb4c found no high or medium security findings and no confidentiality findings. Any new push dismisses this approval. Analysis run

This branch was successfully deployed

5 active (1 outdated) and 1 inactive deployments
Evidence / PR 6070 — 2ccfecda Deployed Oct 15, 2026 by github-actions[bot]
Preview – openwork-landing — 2ccfecda Deployed Oct 15, 2026 by vercel[bot]
Preview – openwork-den — 2ccfecda Deployed Oct 15, 2026 by vercel[bot]
Preview – openwork-diagnostics — 2ccfecda Deployed Oct 15, 2026 by vercel[bot]
Preview – openwork-app — f7c5a59b Deployed Oct 15, 2026 by vercel[bot]
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