Repository navigation
Keep a "chats resumed" entry in the bottom bar until you've seen the result - #27580
Conversation
…esult is seen After every chat resumed, the bottom-bar entry vanished the moment the run finished, leaving a fading toast as the only way back to the list. Show 'N chats resumed' while a finished run's summary has not been shown yet, reusing the run's existing finishedViewShown flag so the entry ends exactly when the summary is viewed and closed.
|
After Orca resumes interrupted chats, a successful run currently removes its bottom-bar entry immediately, leaving only the brief toast to reopen the result. This PR keeps a “N chats resumed” entry until the finished list is displayed and closed, and resets filters and collapsed groups when the run finishes. Review stopped at round six with an open P2; no merge and no push. The published head remains
Verified: 138 focused tests across 13 suites and renderer typecheck passed on the local fix. Final source readiness and a dedicated performance pass found no additional issue; the subsequent challenger finding supersedes the readiness “no open findings” conclusion. The failed-reread consequence is supported by source tracing and direct execution of the row projection; a full renderer regression for it has not been executed. Checks and gaps: local static checks passed 21/23, with failures limited to the unchanged main-branch missing exports in the sync-spawn audit and this Mac’s Bun 1.3 typecheck limitation. Published-head GitHub static analysis failed on the same main defect; full CI is not green, and the local commit has no CI run. Remote rendered QA was not completed: OpenCode setup encountered a model-selection compatibility limitation, then source review reached its stop. The top-level M4Air Product question: should the completed entry disappear after its result is opened and closed, as implemented, or remain until Orca restarts? No lifetime change was made during this review. |
# Conflicts: # src/renderer/src/components/NativeChatResumeRunPanel.tsx
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info
📝 Walkthrough
Priority: ⬇️ Low Merge Risk: ⚪ Minimal · up to This change keeps a "chats resumed" entry in the status bar until the finished result has been viewed. It is renderer-only and has focused test coverage, so no merge-blocking risk is evident. The author notes that rendered-app QA was not completed. Pre-merge checks ·
|
ELI5
After Orca restarted and resumed several chats, an all-success run removed its bottom-bar progress entry as soon as it finished. The brief toast then became the only way to reopen the list of resumed chats. The finished dialog could also keep a filter or collapsed group from the running view, so opening it did not always show the result it claimed had been seen.
Now a successful run leaves a ✓ N chats resumed entry in the bottom bar until you open and close the finished result. When the run finishes, the result opens on All with its groups expanded, so the completed chats are visible. A result you watched finish in the dialog is already seen and needs no later entry.
What Changed
Why
A separate success flag or timer would have introduced another copy of the result and another cleanup rule. The existing run already records whether its finished result has been shown, so the bottom bar can use that fact directly. The filter and group reset ensure that this marker reflects the finished view the user actually receives.
Jinjing raised the unclear post-resume dialog in Slack. A broader dialog redesign is being mocked separately; this PR addresses the bottom-bar result and its acknowledgment behavior.
Intended difference from the common pattern: Orca shows one result for a resume that can affect chats across worktrees, including chats outside the current view. The entry is temporary and disappears after the result is seen.
Linked Issue
N/A (maintainer change from a Slack report)
Visual Proof
Both runs used a hidden Orca dev build on a throwaway profile, driven only through the developer tools connection. Three real Claude chats were left running a 5-minute command, Orca was quit, and on relaunch the chats were resumed from the dialog. Before = current main (c62c5a4). After = this PR plus #27580, merged locally.
Right when the resume finishes (toast + bottom bar):
15 seconds later, after the toast has gone. On main nothing is left to reopen the result. With this PR, "✓ 3 chats resumed" stays:
Clicking "3 chats resumed" opened the finished result ("Resumed 3 of 3 chats", every row ✓). After Done, the entry left the bottom bar.
(The toast's button alignment in the "after" shots comes from #28042, which was merged into the same local build.)
Testing
35 focused resume and status-bar tests passed. Regressions cover automatic and manual resume, older failures alongside a new success, a failed host reread, an in-progress filter, collapsed groups, and an empty skipped run.
pnpm tc:webpassed on the merged branch.git diff --check origin/main...HEADpassed.orca-ci-checks --no-typecheckon the merged branch passed 24 of 25 checks. The CI typecheck command failed locally because this Mac’s Bun 1.3.14 reportedScript not found "check"; GitHub’s static analysis and full typecheck job passed.Rendered Electron check (10-12, local hidden dev build): a real restart with 3 Claude chats, resumed from the dialog. The entry appeared when the run finished, stayed after the toast left, opened the result, and was gone after Done. Main showed no entry. The M4Air ran 62 focused renderer checks successfully.
CI:
gh pr checks 27580 --watch --fail-fast --interval 60passed. Applicable checks included static analysis and typecheck, all five test shards, relay integration, and macOS/Windows packaging.I manually tested these changes locally (macOS hidden dev build; see Visual Proof)
Automated tests added/updated, or explained why not below
Review
Four review rounds and a final readiness pass found and fixed success-entry suppression, a misleading result after a failed host reread, hidden finished rows, and retirement of an empty result. No P0, P1, or P2 findings remain in the final review ledger.
Agent skill upstream boundary
Notes
The changes are renderer-only and add strings to all six locales. They do not change paths, shortcuts, persistence, SSH execution, mobile, or client-host compatibility.
Checklist
N/Awith reasonpnpm lint,pnpm typecheck,pnpm test, andpnpm buildpass (or CI will cover; local preferred)