Repository navigation
Roll back Windows hang watchdog activation - #26804
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configuration
📒 Files selected for processing (2)
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 7 remain after this review. 📝 WalkthroughWalkthrough
Priority: ⬇️ Low Merge Risk: ⚪ Minimal · up to Windows no longer starts the diagnostic watchdog, as intended, while macOS coverage remains. No concrete merge-blocking regression is established by the supplied change context. 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)✅ Passed checks (4 passed)
✨ 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
Roll back the Windows hang watchdog activation from #26763. Orca on Windows no longer starts this extra diagnostic worker; the existing Mac diagnostic stays enabled.
What Changed
Restore the Mac-only platform check before consent resolution, worker creation, and heartbeat setup. Keep the consent check, worker-error cleanup, marker validation, and restart-evidence startup fixes from #26763.
Why
The extra Windows diagnostic worker is not justified by the marginal performance measurements available. Those measurements do not demonstrate a Windows slowdown. The watchdog measures hangs; it does not fix freezes. A Windows-only rollback preserves unrelated Mac consent and startup correctness that a full revert would remove.
Linked Issue
Refs #26763 and #26719. This does not claim to fix the freeze issue.
Visual Proof
N/A — background diagnostic worker only; no visual or interaction change.
Testing
On macOS, with
ORCA_BACKGROUND_LAUNCH=1and no app launch:pnpm test src/main/hang-watchdog src/main/startup/main-process-ready-identity-write.test.ts src/main/startup/main-process-observers-hang-breadcrumb.test.ts src/main/startup/main-process-ready-phase-ordering.test.ts: 10 files, 48 tests passed.pnpm tc: passed.pnpm run check:code-quality:changed: passed.Windows/Linux platform branches were mocked, not tested on native hosts. Full build and full lint were not run locally; CI is pending.
AI Disclosure
Review
The runtime change is one platform guard. Consent, startup evidence, telemetry schema/wire, remote execution, and folder workspaces keep their existing behavior.
Agent skill upstream boundary
Notes
The existing Mac diagnostic remains enabled. No new configuration or benchmark is added. Original contribution credit remains in merged history.
Checklist
N/Awith reasonpnpm lint,pnpm typecheck,pnpm test, andpnpm buildpass (or CI will cover; local preferred)