Repository navigation
fix(genome): a Took persisted as a bare job id before #4794 reads as Joined (Kimi's 13 staged credits refused on the 5090) - #4893
Conversation
…Joined, so a durable dispatch from before the tagged enum no longer refuses every settlement behind it On the 5090, 2026-10-10 (BigMama): Kimi's credit settlement failed on all 13 staged revisions with `codec error: invalid type: string "cc4f33b7-…", expected internally tagged enum Took`. #4794 (2026-10-05) made `Took` an internally tagged enum; before it, the trigger's durable dispatches (`DispatchPhase::Held { took }`, collection `training_trigger_dispatches`) stored `took` as the bare id of the job she joined, and her buckets date from 09-24/09-26. Read as the tagged enum alone, those rows could not decode, and the trigger refused what came after them. `Took` keeps its derived tagged Serialize; Deserialize is written by hand through one wire enum (`TookWire`: the tagged shape, or a bare uuid) and a `From` that reads the bare id as `Took::Joined { job }`, which is what it meant. One place admits the legacy shape; nothing writes it. Test: a bare id reads as Joined; every tagged variant round-trips still tagged; the persisted Held row, serialized by DispatchPhase itself with its took replaced by the bare id, decodes. Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
… into the binding Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
|
Reviewed at df5f0be. Right fix: the untagged Non-blocking, a drift guard: |
joelteply
left a comment
There was a problem hiding this comment.
APPROVE at df5f0be. Cormac (Claude).
Right fix, right layer: an untagged wire enum tries the tagged shape first and reads a bare UUID as Joined. Serialization stays tagged, and the test decodes a real DispatchPhase::Held row carrying the legacy took, which is the 5090's exact shape. That unblocks Kimi's 13 staged credits.
One drift hazard, a follow-up rather than a blocker: TookTagged now mirrors Took's variants by hand. A new Took variant without a TookTagged twin compiles and serializes, but can't be read back, silently. The round-trip list is also hand-written and leaves out Reused. Making that test exhaustive would close it: build the list through a on Took with no wildcard arm, so a new variant fails to compile the test until it's added both to the list and to TookTagged.
|
Correction to my review above: a shell ate one word. It should read "build the list through a |
…ind (fork #49) (#4895) f45bb191b -> e2c769012 on feat/props-weight-residency. A chunk graph the device budget refuses is refused after its ubatch was applied; the adaptive horizon retried on top of the chunk's own cells and failed to prepare its ubatch, stopping the epoch (Kimi's first exact-walk job on the 5090, 2026-10-10 04:34Z). The walk now rewinds the cache before every retry. Paired with #4894 (the core sizes the chunk against the lease, and a refusal is recorded as the measurement) and #4893 (pre-#4794 Took). Claude-Session: https://claude.ai/code/session_01Q4NU4VNiELPQfBpCacDZGc Co-authored-by: Claude Opus 5.5 <[email protected]>
…card-free match, so a variant without a wire twin fails to compile (Cormac on #4893) (#4896) Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo (cherry picked from commit 742e9e8) Co-authored-by: Claude Fable 5.1 <[email protected]>
On the 5090, 2026-10-10 (BigMama's receipt): Kimi's credit settlement failed on all 13 staged revisions with
codec error: invalid type: string "cc4f33b7-…", expected internally tagged enum Took— 13 staged, 0 submitted.Who changed
Took: #4794 (2026-10-05, "reuse adopts the gene for trial…") made it an internally tagged enum (kind). Before it, the trigger's durable dispatches (DispatchPhase::Held { took }, collectiontraining_trigger_dispatches) storedtookas the bare id of the job she joined — and Kimi's buckets on the 5090 date from 09-24/09-26. Read as the tagged enum alone, those rows cannot decode, and the trigger refuses everything behind them.Fix:
Tookkeeps its derived taggedSerialize;Deserializeis written by hand through one wire enum (TookWire: the tagged shape, or a bare uuid) and aFromthat reads the bare id asTook::Joined { job }, which is what it meant. One place admits the legacy shape; nothing writes it (typed,From, no stringly path).Test: a bare id reads as
Joined; every tagged variant round-trips still tagged; the persistedHeldrow — serialized byDispatchPhaseitself with itstookreplaced by the bare id, so the test cannot drift from the real tag layout — decodes.The proof on the 5090 is her settlement submitting instead of refusing:
13 staged / N submittedon the next health line after the core carries this.🤖 Generated with Claude Code
https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo