GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — fix(web): a thread with a running background command no longer reads as idle by mvanhorn · Pull Request #39219 · pingdotgg/t3code

Conversation

@mvanhorn

@mvanhorn mvanhorn commented Nov 19, 2026

Copy link
Copy Markdown
Contributor

Problem

When an agent ends its turn while a background command keeps running (an eval, a long test run) and the agent doesn't call t3_background_wait, the sidebar row shows no status at all. The thread view shows "Running" for that command, but the row looks like an idle, finished thread, and sits among the inbox rows above the Working shelf.

Unawaited commands deliberately don't hold the thread, because they're often a dev server or a watchdog. That rule still makes sense for placement, but the row shouldn't claim nothing is happening.

Change

resolveThreadStatusPill now returns a muted, non-pulsing "Background" pill when the thread would otherwise show no status and it has pending background work. PR watch tasks are excluded since the PR badge already covers them. Placement doesn't change: the thread stays out of the Working shelf, and Failed, Waiting, Plan Ready and Completed all still win over the new pill. The label has a $context so it doesn't share a catalog key with the existing "Background" color setting, and it's translated in every web locale.

Scope

Small fix for an obvious bug (the row and the thread disagree about whether work is running), so there's no issue.

Verification

  • New case in Sidebar.logic.test.ts: an idle thread with an unawaited command gets the Background pill, a PR-watch-only thread and an empty task list get none. Sidebar.logic.test.ts and ThreadStatusIndicators.test.ts pass (94 tests), including the existing "unseen completion with background work" table, which still resolves to Completed.
  • node scripts/i18n-check.ts passes. Lint, format and web typecheck are clean.
  • Screenshots of ThreadRowLeadingStatus rendered in a browser test with a synthetic idle thread and one pending command (the test isn't committed; app styles aren't loaded, so the pill shows unstyled):
Before After
before after

I didn't check the change in the running desktop app.

Built with Claude Opus 5.5 in Claude Code.

🤖 Generated with Claude Code

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@mvanhorn
fix(web): a thread with a running background command no longer reads …
64e9392
…as idle
@github-actions github-actions Bot added vouch:trusted Author is trusted by repo permissions or the VOUCHED list. size:S 10-29 changed lines (additions + deletions). labels Nov 19, 2026
@coderabbitai

coderabbitai Bot commented Nov 19, 2026

Copy link
Copy Markdown
Contributor

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The sidebar now displays a non-pulsing “Background” pill for idle threads with pending tasks other than pull-request watch tasks. Tests cover command tasks, monitor tasks, and empty task lists. The label is translated across supported locales.

Changes: Background status pill

Layer / File(s) Summary
Background status resolution, tests, and translations
apps/web/src/components/Sidebar.logic.ts, apps/web/src/components/Sidebar.logic.test.ts, apps/web/src/i18n/translations/*.json
resolveThreadStatusPill returns a non-pulsing “Background” pill when pending tasks include any task other than a pull-request watch. Tests check command, monitor, and empty task lists. Translation files add the label. Existing completion-holding logic remains unchanged.

Estimated code review effort: 2 (Simple) | ~10 minutes

Change: Bug fix

Possibly related issues

  • pingdotgg/t3code#25585 — The issue reports missing sidebar status for a thread with a running background command. This PR adds a “Background” pill for that case. The issue’s “Done” status behavior is not addressed.

Possibly related PRs

  • pingdotgg/t3code#14910 — Both changes derive sidebar status for threads with pending background commands, and their described outcomes can differ.

Suggested reviewers: juliusmarminge, mnigos, bil0000

Merge Risk: Minimal · up to 64e93

Threads with pending background commands now show a muted Background pill instead of looking idle. Existing status precedence and thread placement are unchanged. No concrete merge-blocking risk was found.

Pre-merge checks: Passed 4

Check name Status Explanation
Title check Passed The title states the main change: a thread with a running background command no longer appears idle. It matches the changeset, which adds a non-pulsing 'Background' status pill for idle threads with p…
Description check Passed The description follows the repository template. It has Problem, Change, Scope, and Verification sections. The Problem section gives the expected behavior and the reproduction context. The Change sect…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title states the main change: a thread with a running background command no longer appears idle. It matches the changeset, which adds a non-pulsing 'Background' status pill for idle threads with pending background work. The title follows the conventional commit format and is specific enough for a teammate scanning history.

Full details: Description check

Explanation

The description follows the repository template. It has Problem, Change, Scope, and Verification sections. The Problem section gives the expected behavior and the reproduction context. The Change section explains the fix and why placement is unchanged. The Scope section explains why no issue is linked, which the template allows for small obvious fixes. The Verification section lists focused tests, i18n checks, and before/after screenshots, and it states what was not checked. The description does not name the model and harness in a way that clearly matches the closing template line, but it does mention Claude Opus 5.5 in Claude Code at the end, so that item is covered.

Finishing Touches

Generate unit tests (beta)

  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Recent review info

Run configuration

  • Source mode: Auto
  • Repository: pingdotgg/t3code
  • Branch: main
  • File: .coderabbit.config.ts
  • Commit: e37e45f
  • Layers: Repository TS config
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: ae8949e7-adc9-4555-9d28-87d0ac4f9c24
Commits

Reviewing files that changed from the base of the PR and between e37e45f and 64e9392.

Files selected for processing: 12

  • apps/web/src/components/Sidebar.logic.test.ts
  • apps/web/src/components/Sidebar.logic.ts
  • apps/web/src/i18n/translations/de.json
  • apps/web/src/i18n/translations/en.json
  • apps/web/src/i18n/translations/es.json
  • apps/web/src/i18n/translations/fr.json
  • apps/web/src/i18n/translations/ja.json
  • apps/web/src/i18n/translations/ko.json
  • apps/web/src/i18n/translations/pt-BR.json
  • apps/web/src/i18n/translations/ru.json
  • apps/web/src/i18n/translations/sv.json
  • apps/web/src/i18n/translations/zh.json

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 8 remain after this review.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

size:S 10-29 changed lines (additions + deletions). vouch:trusted Author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

1 participant

@mvanhorn
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.