Repository navigation
Avoid claiming an unverifiable managed server has stopped - #26663
Conversation
ad088c9 to
ebf6a29
Compare
074e1c6 to
68cf6a6
Compare
|
Triage adjustment: rebuilt onto main as one commit and retargeted to main; it no longer depends on #26645 or #26637. Kept the copy change in all six locales and the unit cases, and updated the two shared type comments that still described the note as 'could not be started'. Dropped the Docker idle-exit spec assertion and its CI routing entry because they rely on #26637's paused-process test. The copy is correct on main regardless: it also shows for fenced and unprovable-liveness verdicts, where the process may still be running. |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configuration
📒 Files selected for processing (9)
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 3 remain after this review. 📝 WalkthroughWalkthroughThe managed-server Priority: ⬇️ Low Merge Risk: ⚪ Minimal · up to The warning now describes an unconfirmed response without changing server-status behavior, and the updated translations use the warning’s actual lookup key. No material merge risk remains. 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)✅ Passed checks (4 passed)Full details: Docstring CoverageExplanation 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. (6 skipped: 6 unsupported.)
✨ Finishing Touches 💡 1📝 Generate docstrings 💡
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
ELI5
A server can still be running when Orca cannot get an answer from it. SSH Settings now says that Orca could not confirm an answer, instead of claiming the server stopped.
What Changed
Replace the managed-server warning in all six translations with wording that matches an
unverifiableresult. Keep the existing host diagnostic, warning priority, and recovery behavior. Add three contact-failure cases to the copy tests and extend the real paused-process test to check the rendered warning and its removal after recovery. Route changes to this copy through that Docker SSH test in CI.Why
On an owned Linux SSH host, the captured server PID stayed live while paused. Details correctly said “The managed Orca server process is live but is not answering,” but the main line said “The managed Orca server isn’t running and couldn’t be started.” The corrected wording describes what Orca can verify. Inferring whether the process has stopped from a failed reply would discard the host evidence, and changing recovery would not fix this misleading label.
Linked Issue
Found during SSH → Remote consolidation testing. Maintainer fix; no separate issue opened.
Visual Proof
Before: the main warning claims the server is not running while Details confirms the process is live.
After: the warning reports that an answer could not be confirmed; the same diagnostic is retained.
Actual failing baseline · Actual corrected runtime · Four failing baseline copy cases
Testing
Real hidden Electron renderer on macOS, installed adhoc server template on owned Linux Docker SSH hosts. Pause the captured server PID, reconnect, and open SSH Settings: the PID remains live and the warning matches the expanded host diagnostic. Resume that same PID and reconnect: the warning disappears and a real terminal-list request succeeds. The untouched renderer baseline fails this assertion in 35.3 seconds; the corrected case passes in 30.5 seconds. All three initial idle/recovery/reboot cases pass in 1.7 minutes.
Final stacked verification on
074e1c6c5ac: all four real SSH cases pass in 1.9 minutes (idle/wake 57.9 s; paused live process and rendered warning/recovery 30.1 s; cold-start reconnect 8.1 s; killed server and reboot 13.5 s). 102 affected tests / 10 files, fullpnpm tc, fullpnpm lint, changed-code quality against the parent, fresh Electron e2e build, and commit hooks pass.managed-serving-status-stacked-runtime-green.log
Review
P2; low merge risk. Stacked on #26645, which is stacked on #26637: merge those parents first. The product change is one existing presentation label and its translations. Review the warning and expanded diagnostic together, and confirm that the warning clears after recovery.
Agent skill upstream boundary
Notes
No RPC, host state, process lifecycle, or capability changes. Existing localization key and optional serving note remain compatible with older peers. Folder workspaces and Git providers are unaffected. Tests use background launches and disposable SSH hosts. Native Windows runtime was not exercised; the presentation change has no platform-specific branch.
CI is fully green after one failed-job retry. The initial Windows package job failed two unchanged native tests (Git Bash foreground readiness marker and profile-state SQLite writer deadline); its receipt is retained. The retry, Docker managed-server cases, and final verify gate all pass.
Checklist
N/Awith reasonpnpm lint,pnpm typecheck,pnpm test, andpnpm buildpass (or CI will cover; local preferred)