fix(daemon): ignore active scheduled gateway task#90501
fix(daemon): ignore active scheduled gateway task#90501sahibzada-allahyar wants to merge 1 commit into
Conversation
|
Codex review: needs real behavior proof before merge. Reviewed June 4, 2026, 9:27 PM ET / 01:27 UTC. Summary PR surface: Source +3, Tests +42. Total +45 across 2 files. Reproducibility: yes. from source, but not from a live Windows run in this review. Current main leaves Review metrics: none identified. Merge readiness Overall follows the weaker of proof and patch quality, so missing proof can cap an otherwise strong patch. Rank-up moves:
Proof guidance:
Risk before merge
Maintainer options:
Next step before merge
Security Review detailsBest possible solution: Land the narrow task-name normalization after a redacted real Windows terminal proof shows the active scheduled launcher is skipped while genuinely legacy tasks remain visible. Do we have a high-confidence way to reproduce the issue? Yes from source, but not from a live Windows run in this review. Current main leaves Is this the best way to solve the issue? Yes for the bounded false-positive bug. Normalizing the root task path before the existing canonical-name comparison is the narrow maintainable fix; the remaining gap is real Windows after-fix proof. AGENTS.md: found and applied where relevant. Codex review notes: model gpt-5.5, reasoning high; reviewed against 126ebfc99710. Label changesLabel changes:
Label justifications:
Evidence reviewedPR surface: Source +3, Tests +42. Total +45 across 2 files. View PR surface stats
What I checked:
Likely related people:
What the crustacean ranks mean
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics. How this review workflow works
|
|
Closing this to free active external PR capacity. The remaining blocker is real Windows scheduled-task/status proof, which I cannot produce from this macOS environment. This can be reopened if Windows proof becomes available. |
Summary
schtaskstask names with a leading\as the same canonical Windows launcher task name.Fixes #90494.
Real behavior proof
findExtraGatewayServicesno longer reports the active Windows Scheduled Task launcher as an extra gateway-like service whenschtasks /Query /FO LIST /VreturnsTaskName: \OpenClaw Gateway.fastino-90494-doctor-windows-task-b, daemon test shard with mocked Windowsschtasksoutput.\OpenClaw Gatewayis skipped as the canonical active launcher task, while a distinct legacy\Clawdbot Legacy Runnertask is still reported.