Skip to content

fix(chat): keep working timer live during background activity#322

Merged
SDSLeon merged 1 commit into
masterfrom
poracode/bright-wren-63e7dab1
Jul 15, 2026
Merged

fix(chat): keep working timer live during background activity#322
SDSLeon merged 1 commit into
masterfrom
poracode/bright-wren-63e7dab1

Conversation

@SDSLeon

@SDSLeon SDSLeon commented Jul 15, 2026

Copy link
Copy Markdown
Owner
  • Fixed the working timer being suppressed once a foreground turn completed while detached background work (native sub-agents, live workflows) was still running.
  • ThreadProviderIcon now factors in a thread's background-activity state when resolving status tone, so the home page's recent-threads list reflects "working" consistently with other surfaces.
  • ChatPane reconciles the live timer against the last completed-turn record, suppressing the frozen "Worked for" indicator whenever the ticking timer's window subsumes it, avoiding both being shown at once.
  • Added a regression test covering the case where background activity keeps the timer live past the anchored completed turn.

- Suppress the anchored completed-turn footer while a live timer's window subsumes it
- Propagate background-activity status to the provider icon on all surfaces, not just the sidebar
@vercel

vercel Bot commented Jul 15, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
lightcode-landing Building Building Preview, Comment Jul 15, 2026 6:03pm

@SDSLeon SDSLeon merged commit 81b61dd into master Jul 15, 2026
8 of 9 checks passed
@SDSLeon SDSLeon deleted the poracode/bright-wren-63e7dab1 branch July 15, 2026 18:03
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