From a1dc239623a4b42bcffcd2998811e15ab3f89351 Mon Sep 17 00:00:00 2001 From: Rongsong Shen Date: Wed, 2 Sep 2026 01:24:19 +0000 Subject: [PATCH] docs(worker-rejoin-resync): check off completed group headers in tasks.md Cosmetic only - tasks 4, 6, 7 are grouping headers whose sub-tasks were all already complete; marking them [x] for consistency with groups 1-3. Co-Authored-By: Claude Sonnet 5 Claude-Session: https://claude.ai/code/session_01Y4M5MJM2zK6nU43da267Ku --- .kiro/specs/worker-rejoin-resync/tasks.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.kiro/specs/worker-rejoin-resync/tasks.md b/.kiro/specs/worker-rejoin-resync/tasks.md index d7df0d13..c82a58a7 100644 --- a/.kiro/specs/worker-rejoin-resync/tasks.md +++ b/.kiro/specs/worker-rejoin-resync/tasks.md @@ -80,7 +80,7 @@ - _Boundary: resync.c_ - _Depends: 2.1, 2.2, 3.1_ -- [ ] 4. Core: worker-side job-state reporting +- [x] 4. Core: worker-side job-state reporting - [x] 4.1 (P) Retain a job's true outcome for a bounded window after it exits - At the moment a job's exit is detected, before its record would otherwise be discarded, retain its exit status, exit code, and true finish time for a configurable bounded window - Observable completion: a job's outcome remains queryable for the configured window after it exits and is no longer available once the window elapses @@ -112,7 +112,7 @@ - _Requirements: 5.1, 5.2_ - _Boundary: scheduler candidate filter_ -- [ ] 6. Integration: cross-daemon wiring +- [x] 6. Integration: cross-daemon wiring - [x] 6.1 Trigger reconciliation on worker rejoin and send the query - At the moment a worker host becomes connected again (first join, network reconnect, or reconnect after controller failover, treated identically), check whether the controller currently holds non-terminal jobs for that host and, if so, arm a reconciliation round for it - Send the round's query to the worker as a follow-up exchange after the join reply and the existing configuration push have both already been sent, not as an extension of the join call itself @@ -128,7 +128,7 @@ - _Requirements: 8.1, 8.3_ - _Depends: 1.4, 3.2_ -- [ ] 7. Validation: end-to-end and regression coverage +- [x] 7. Validation: end-to-end and regression coverage - [x] 7.1 Full rejoin-reconciliation round trip - Exercise a real rejoin against a live controller and worker pair: a worker with a mix of still-running, finished-success, finished-failure, and unrecognized jobs reconnects, and every job ends up in the correct final state with the scheduler notified - Observable completion: the round trip produces the correct end state for every job kind in one live test run, matching the per-outcome behavior verified in isolation by tasks 2.1-2.2 and 3.2