Repository navigation
A waiting remainder whose demand serving was never told goes back once, so a partition records and prices it (card a9e94342, gate 3) - #5569
Conversation
…e, so a partition records and prices it (card a9e94342, gate 3) The windows 5090, 2026-10-28 18:08Z (46b04ea): serving.training_growth=NoDemand, 2 lanes proposed at 51,694, against Kimi's smallest parked 2de02f40 example needing 51,712. TrainingDemand is written only by a partition (#5557); the stranded job was partitioned before that, and #5563 holds it until served >= needed, so no partition runs again and serving is never told its window. It would wait forever. - return_parked_remainder: below its window, a remainder is held only when every parked example is outstanding in her demand store (TrainingDemand::records_all); otherwise it goes back once (its receipt ends it, probe training.job.remainder_unrecorded), so the next dispatch's partition records it and prices it on the one pricing path. Nothing is priced outside the partition. - The pass passes her demand dir (genome root's training-demand), the store the partition writes and serving reads. Test: with demand recorded, the job still waits (no lane, 49,664) and returns at 64,256 as before; with none recorded, it goes back once at 49,664 and then reads AlreadyReturned. Not built locally (Intel serving node, engine build); CI compiles and runs it. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE
|
Blocking source review at eeec61b: TrainingDemand::records_all uses read(), which turns unreadable/corrupt state into an empty store. The partition logs demand.record errors and continues. A returned legacy job can therefore create a new all-parked job whose demand is still missing; that new job has a different return receipt and is returned again. The same-job replay fixture does not bound this cross-job cycle. Distinguish absent demand from read/decode errors, retain/requeue recovery on errors, and prevent failed partition persistence from producing repeated unrecorded-return jobs. Add a successive-job fixture with a failing demand store alongside the legacy-absent happy path. No local Rust execution performed. |
…cannot answer or be written holds it (Codex on #5569, card a9e94342) - TrainingDemand::records_all reads strictly: a missing file is empty, but no store, an unreadable file or corrupt JSON is an error, never "not recorded". - An unrecorded remainder below its window records each parked example's window from its measured row (unpriced) BEFORE going back. A later all-parked job of the same examples then finds it recorded and waits, even if that partition's own write fails: the receipt no longer has to bound a cross-job loop. A failed record or an unanswering store holds the job (Internal; the pass asks again) and returns nothing. - Fixture: the successor job waits after the first returned; a corrupt store and a read-only one (skipped where the runner can still write it) hold the job with nothing added. Not built locally; CI compiles and runs it. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE
…s exactly one measured row; otherwise it is refused and nothing returns (Codex on #5569, card a9e94342) A partition missing (or duplicating) a parked example's row recorded only part of its demand, returned, and its successor found it unrecorded and returned again. Now that is Invalid: held for a human, never retried and never returned. Test: a partition missing row 2 is refused naming example 2, nothing added. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE
|
Source PASS at dcf7cda, conditional exact-head CI. The strict demand read and record-before-return address the original cross-job persistence loop. The latest amendment validates exactly one row per parked example before writing demand, rejecting partial/duplicate measured coverage without returning input. Successor-waits, corrupt/unwritable store and missing-row fixtures exercise the identified failure paths. No local Rust run; earlier green head does not substitute for this head's checks. |
The windows 5090, 2026-10-28 18:08Z (46b04ea): serving.training_growth=NoDemand, 2 lanes
proposed at 51,694, against Kimi's smallest parked 2de02f40 example needing 51,712.
TrainingDemand is written only by a partition (#5557); the stranded job was partitioned
before that, and #5563 holds it until served >= needed, so no partition runs again and
serving is never told its window. It would wait forever.
example is outstanding in her demand store (TrainingDemand::records_all); otherwise it goes
back once (its receipt ends it, probe training.job.remainder_unrecorded), so the next
dispatch's partition records it and prices it on the one pricing path. Nothing is priced
outside the partition.
writes and serving reads.
Test: with demand recorded, the job still waits (no lane, 49,664) and returns at 64,256 as
before; with none recorded, it goes back once at 49,664 and then reads AlreadyReturned.
Not built locally (Intel serving node, engine build); CI compiles and runs it.
Co-Authored-By: Claude Opus 5.5 (1M context) [email protected]
Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE