fix(mobile): a dev server left running no longer shows the waiting bolt #15194
main fromrefs/pull/15194/head·merged by Yash-Singh1(GitHub profile, opens in a new tab) View on GitHubFollow-up to #15114. When a turn ends with only a command still running, like a dev server, the shared title now says "Running: bun run dev" and web shows a still dot. Mobile still drew the bolt it uses for work that will wake the agent, so it looked the same as a real wait.
Mobile now passes the presentation's waiting flag through to the floating pill. The bolt stays for subagents, monitors, and background tasks. A terminal symbol marks command-only work. The status kind is renamed from waiting to background, since it now covers both.
| Before | After |
|---|---|
Verification: iOS dev client (iPhone Duo simulator) against an isolated dev server with a seeded thread whose turn settled and whose bun run dev command was still running. Before is upstream code; after includes this change. Mobile typecheck and targeted lint pass. Android was not exercised. Its icon map already resolves terminal.
Made with Claude Code (Claude Opus 5.5).
🤖 Generated with Claude Code
- 1
github-actions[bot](GitHub profile, opens in a new tab) added labelsvouch:trusted
github-actions[bot](GitHub profile, opens in a new tab) added labelssize:S
Approvability#
Verdict: Approved at
a1f5b27Macroscope's review found this PR approvable — This is a narrow mobile UI bug fix that distinguishes agent-waking background work from long-running command-only work using an existing status flag. It preserves existing behavior for waiting tasks and introduces no schema, deployment, security, billing, default, or static-analysis changes.
You can add or adjust custom eligibility rules. [Learn more](https://docs.macroscope.com/approvability#example-custom-eligibility-rules).Navigate logical layers of code changes, visualize relationships, and explore their blast radius.
No actionable comments were generated in the recent review. 🎉
ℹ️ Recent review info
⚙️ Run configuration
- Configuration used: Repository: pingdotgg/t3code/.coderabbit.yaml
- Review profile: CHILL
- Plan: Advanced
- Run ID:
e60a5abd-2b71-490a-bce1-d9415823cc6b
📥 Commits
Reviewing files that changed from the base of the PR and between f391794a35c604d57e166a3ab48d56fc6e4e469a and a1f5b27f5189a1a250b2c2e8af314dfd07f0dcfd.
📒 Files selected for processing (3)
apps/mobile/src/features/threads/ThreadDetailScreen.tsxapps/mobile/src/features/threads/floating-working-control.tsxapps/mobile/src/features/threads/floating-working-status.ts
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 6 remain after this review.
📝 Walkthrough
Walkthrough#
The floating status model replaces the waiting variant with a background variant that includes a waiting value. The thread detail screen passes that value, and the status label uses it to select an icon.
Changes#
Background status indicator
Layer / File(s) Summary Define and render background status
apps/mobile/src/features/threads/floating-working-status.ts,apps/mobile/src/features/threads/ThreadDetailScreen.tsx,apps/mobile/src/features/threads/floating-working-control.tsxThe status type adds a required waitingvalue to the background variant. The thread detail screen passes the value, and the label displays a bolt when it is true or a terminal icon when it is false.Priority: ⬇️ Low
Estimated code review effort: 2 (Simple) | ~8 minutes
Change: Bug fix
Suggested reviewers:
juliusmarmingeMerge Risk: ⚪ Minimal · up to
a1f5bThe indicator distinguishes command-only background work from work that can wake the agent. No actionable merge-blocking risk remains.
🚥 Pre-merge checks | ✅ 4 | ❌ 1
❌ Failed checks (1 warning)#
Check name Status Explanation Resolution Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 1 functions across 3 files. Write docstrings for the functions missing them to satisfy the coverage threshold. ✅ Passed checks (4 passed)
Check name Status Explanation Title check ✅ Passed The title clearly identifies the mobile fix: command-only work no longer shows the waiting bolt. Description check ✅ Passed The description explains the problem, the change, and focused verification, with before-and-after screenshots and Android coverage noted. It references follow-up issue #15114but does not include expl…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. - Fix all pre-merge checks with AI
✨ Finishing Touches
🧪 Generate unit tests (beta)
- Create a new PR
- Autopilot · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Comment `@coderabbitai help` to get the list of available commands.Yash-Singh1(GitHub profile, opens in a new tab) approved these changes
Yash-Singh1(GitHub profile, opens in a new tab) closed this
Sign in to join this conversation.
macroscopeapp[bot](GitHub profile, opens in a new tab) approved these changes