Repository navigation
Conversation
…he one that served most On the M5 (2026-11-10, 75f1ba7 and after) two lanes served four residents, and Aiko and Benchy waited queued for ten minutes (49 and 55 delib.window.waiting) behind holders that were idle or slow. Only fresh service since a grant made a holder a yield candidate, and the armed yield was the first holder by id, so a slow or idle holder pinned the queue. - A holder idle across two evaluations (her seat from before the first, nothing in custody at either) is a handoff candidate whether or not she served since her grant; one that never served on this engine holds no KV here, so her seat is withdrawn with no physical handoff. - The holder armed to yield (yield_after) is the one that served most since her baseline. Tests: an unused seat goes to the waiter after two idle evaluations, never one; the holder that served most is armed, not the lowest id. Draft for Codex's review (his grant custody code). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
Contributor
Author
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Draft for @codex's review: it changes his grant custody code (fair publisher).
Measured (M5, 2026-11-10, 15:02 to 15:12Z): 2 lanes for 4 residents. Aiko and Benchy waited queued (49 and 55
delib.window.waiting, 'Queued { position: 2, of: 2 }') while holders Aris and Atlas acted 1 and 2 times in 10 minutes.Two causes:
yield_afterarmed the first holder by uuid, so the same holder was always the one armed.Change:
Tests:
an_unused_seat_yields_to_a_waiter_after_two_idle_evaluationsandthe_holder_that_served_most_is_armed_to_yield.Not tested locally yet (no build beside serving). CI compiles it, and a serving-down window plus a replay come before any live read.
🤖 Generated with Claude Code
https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo