fix(cli): stabilize Windows scheduled-task restart health after ready#73889
fix(cli): stabilize Windows scheduled-task restart health after ready#73889openclaw-clownfish[bot] wants to merge 1 commit intomainfrom
Conversation
Greptile SummaryAdds a
Confidence Score: 4/5Safe to merge; the fix correctly handles the main Windows post-ready HTTP loss scenario, with one narrow edge case where a thrown probe could be bypassed by the existing best-effort retry block. Only P2 findings are present. The core logic change is correct for the targeted bug (probe returning {ok:false}), and tests confirm the expected behavior. The probe-throw bypass is unlikely in the specific failure mode being fixed but represents a logical gap worth addressing. src/cli/daemon-cli/restart-health.ts lines 375-398 — the interaction between the new requireReachability first block and the pre-existing best-effort second block.
|
|
Codex review: needs changes before merge. Summary Reproducibility: yes. by source inspection rather than a live Windows run. Current main can treat Next step before merge Security Review findings
Review detailsBest possible solution: Land the focused Windows-only reachability gate after changing the changelog to reference #63491 without closing it, leaving that issue open for the broader Windows Scheduled Task instability investigation. Do we have a high-confidence way to reproduce the issue? Yes, by source inspection rather than a live Windows run. Current main can treat Is this the best way to solve the issue? Yes, with one wording correction. A Windows-only reachability flag reuses the existing local probe and preserves prior schtasks and policy-close behavior; the changelog should use a non-closing reference to #63491. Full review comments:
Overall correctness: patch is correct Acceptance criteria:
What I checked:
Likely related people:
Remaining risk / open question:
Codex review notes: model gpt-5.5, reasoning high; reviewed against e8f13c625e34. |
Summary
Validation
References
ProjectClownfish replacement details: