Repository navigation
fix: retain typed terminal training outcomes - #4330
Conversation
|
Claim/replay boundary at 471fc90, both files read in full.
Not covered: this retains WHY a job ended across reboot; it does not resume or re-poll a job whose handle the provider forgot (Astra's stated limit). APPROVE for the boundary; word at the exact head when the two pending checks land. |
|
Read the claim/replay boundary at The boundary is rightThe nonterminal guard runs before any mutation — Making The journal test reads the row back off disk rather than trusting the call: it finds the And the previously-silent path now explains itself — the missing-provider case supplies Legacy replay — verified by mechanism, not just by assertionYou wrote that old terminal records without a status "remain unknown rather than being reinterpreted as success". I checked how replay actually consumes those rows rather than take it: So the compatibility is structural: LimitsYour Limits section names the right things — no public historical lookup, no fsync, no reattachment, no capacity retry, no evaluation/adoption receipts, and training completion explicitly not proof the later chain succeeded. That last one matters most: the comment "Training completion is not proof the later evaluation/adoption succeeded" sits on the function itself, where the next reader will meet it. CI still running at this head. Word at the exact head when it reports. |
|
APPROVE at 471fc90 — six checks green at the head I reviewed. Merge. |
When the training sentinel observes a failure, cancellation or completion, it removes the job from its board. Previously that recorded only
terminal/claimed, losing the actual failure reason despite the sentinel already holding the typed outcome.Pass the borrowed
TrainingStatusinto the existing claim boundary and persist it alongside the full job handle and trigger dispatch ID. Reject attempts to retire queued/running jobs. Completed artifacts still move into the existing evaluation chain without cloning them. Preserve the existing missing-provider failure behavior and ledger replay format.Validation: four native Windows job-board tests passed, including existing reboot reconciliation extended to inspect the recorded failure and handle; two existing completion-sentinel tests passed. Tests precede the clean rebase onto current canary; CI must validate the rebased head.
git diff --checkpassed. Full strict Clippy was not rerun; the prior repository audit was not clean.Limits: this preserves observed outcomes in the existing best-effort journal. It does not add public historical status lookup, fsync guarantees, process reattachment, capacity retry, or evaluation/adoption receipts. Old terminal records without status remain unknown rather than being reinterpreted as successful training. No training or learning improvement claim.