Skip to content

fix(persona): the WIP = lanes gate counts this node's holders, not the grid's - #4261

Merged
joelteply merged 1 commit into
canaryfrom
fix/wip-gate-counts-this-nodes-holders
Sep 20, 2026
Merged

joelteply merged 1 commit into
canaryfrom
fix/wip-gate-counts-this-nodes-holders

Conversation

@joelteply

Copy link
Copy Markdown
Contributor

What

card_holder::in_flight_by(cards, holders, now) counts only cards whose owner is one of THIS node's holders (every resident's own airc peer id, plus me). PersonaAircRuntime::in_flight_cards_in folds through it. One pure test.

Why

A round's board is grid-wide. work_pull's WIP = lanes gate compared every live hold in the room — the 5090's and the IntelMac's citizens' cards — to this node's own lane count. On the M5, 2026-09-20 13–14Z: in_flight >= lanes every tick, bench.round.pull_deferred_wip for every resident (116 of 119 pulls), persona.work.gate decision=no_held_work for each of them, zero acts on two 67k lanes. The hourly health line read "the lanes are the block, not the seating" — the lanes were idle; the gate was counting other machines' work against them.

A card decoding on another node's lane is not one of ours.

🤖 Generated with Claude Code

https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

…e grid's — the M5 deferred 116 of 119 pulls on foreign holds while its residents held nothing

A round's board is grid-wide. work_pull compared every live hold in the room (the 5090's,
the IntelMac's) to this node's two lanes: in_flight >= lanes every tick, DeferredWip for
every resident, persona.work.gate decision=no_held_work for each of them, zero acts on two
67k lanes (2026-09-20 13-14Z). card_holder::in_flight_by(cards, holders, now) counts only
cards whose owner is one of our holders — every resident's own airc peer id plus me — and
the runtime's in_flight_cards_in folds through it. Pure helper, one test.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
@joelteply

Copy link
Copy Markdown
Contributor Author

APPROVE — reviewed at exact head 1c0ff60 (checks running; merge on green). The predicate was the whole fleet's idle hour: a grid-wide board counted against a node's own lanes, so two foreign holds on a two-lane node deferred every pull while its residents held nothing. in_flight_by over our holders' columns is the right count and the test pins the grid-wide figure it replaces. One note, not a condition: our holders are the runtimes hosted here, which is slightly different from the lanes consumed here — a resident spilled to a remote seat still counts against this node, and a leased-in mind decoding here does not count at all. Both err toward pulling, and lane admission (not this WIP gate) is the guard that actually seats a turn, so the error is a deferred admission, never a starved lane; when a beacon carries seats, the count can become 'holds decoding on this node' and the two agree.

@joelteply
joelteply enabled auto-merge (squash) September 20, 2026 14:52
@joelteply
joelteply merged commit 12dfbb6 into canary Sep 20, 2026
5 of 6 checks passed
@joelteply
joelteply deleted the fix/wip-gate-counts-this-nodes-holders branch September 20, 2026 15:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant