You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Cancelling a control task leaves its worker-response routes #1827
cancel_task removes only queued_tasks. The response route remains in in_flight; a later response finds the route, cannot find the task, and returns before terminal cleanup. Repeated failed replays can retain routes for the main-process lifetime.
Evidence: runtime-confirmed unit plus source. Candidate command exited 101: 1 run, 0 passed, 1 failed, 124 filtered; two cancelled-task routes remained and the unrelated route was preserved.
Normal task completion purges routes, but malformed replay calls cancel_task instead; worker answers and worker-close synthesis both hit the same early return for the absent task.
Acceptance criteria: Cancellation must retire every response route belonging to that task while preserving routes belonging to other tasks. Cover late worker answers and worker closure after cancellation.
Source checked at bd19a78e2831fa9b3bc099eff96359f1bd457958 on 2026-10-03:
Runtime evidence, where stated, was collected on 8ed38435c6e80dc374de421116d8b145f1e5ce6a; the reviewed mechanisms remain unchanged at the source revision above. Audit regression tests are prepared locally and are not yet published on main.
Reproduced on the frozen bd19a78e2831fa9b3bc099eff96359f1bd457958 base and included in #1843.
command::server::tests::cancelling_a_task_retires_its_in_flight_response_routes is red. After cancellation, two worker-response routes for the cancelled task remain while the unrelated witness route also remains. The combined suite reports the same unique failure in the Sōzu lib/bin targets.
These are IPC response routes, not HTTP frontend routes. The draft contains no product fix.
Activity
FlorentinDUBOIS commentedon Oct 3, 2026
Reproduced on the frozen
bd19a78e2831fa9b3bc099eff96359f1bd457958base and included in #1843.command::server::tests::cancelling_a_task_retires_its_in_flight_response_routesis red. After cancellation, two worker-response routes for the cancelled task remain while the unrelated witness route also remains. The combined suite reports the same unique failure in the Sōzu lib/bin targets.These are IPC response routes, not HTTP frontend routes. The draft contains no product fix.
fix(command): withdraw the upgrade-main refusal for pending commands
fix(command): earliest-deadline poll, cancelled-task routes, stopping…