Repository navigation
Fix port conflicts in test_throughput.py - #1043
Merged
Merged
Conversation
merrymercy
marked this pull request as ready for review
August 12, 2024 04:19
efschu
pushed a commit
to efschu/htsglang
that referenced
this pull request
Aug 31, 2026
…enumeration THE DENOMINATOR HAS NOW BEEN WRONG TWICE IN THE SAME CLASS, so this closes the class instead of writing a third hand-list. `_seen_this_pass` alone missed `add_chunked_req` (which fills `can_run_list` BEFORE the loop). The union with `admitted_list` still missed every request that HOLDS an extent without being touched by this pass -- boot 11 measured it exactly: the deferring rids carried `extent=4618` and `extent=1295` with `hitless=0`, while the publisher counted `seen=0 published=0 admitted=1`. STRUCTURAL STATEMENT, and it is the user's amendment finally landing whole: the extent is a property of the REQUEST, so every pass-scoped population is wrong by construction. `holders_with_unspent_extent` is DERIVED, not enumerated afresh: it builds on `phase_flip_runtime._live_reqs`, the residency authority the CUTOVER itself uses, which covers `running_mbs`, `last_mbs`, `running_batch`, `last_batch` and `chunked_req`. One deviation, declared rather than silent: `waiting_queue` is added, because the cutover authority answers "what holds POOL ROWS I must move" while this answers "what holds a FACT I must publish" -- and a queued request holds the second but not the first. That queued request IS the boot-8 population. THE #858b LAST_MBS WARNING WAS CHECKED, NOT BELIEVED, AND IS STALE. W30 added that route to the authority (phase_flip_runtime.py:1346-1347) after `ResidentCarryError` measured the gap on all three ranks, under the explicit rule "fix it at the one authority, not at the consumers". Deriving inherits that fix rather than re-opening the hole. sgl-project#1041's `seen` is widened through the SAME function that builds the carriers, so the instrument and the publication can no longer measure different populations -- which is the precise defect the instrument exists to catch. CHECK: devtools/check_1043_holders.py -- a PLANT TEST, not a list assertion. One request carrying an unspent extent is planted at EVERY holding site (running_mbs, last_mbs, running_batch, last_batch, chunked_req, waiting_queue) and each must reach the population; negative controls pin that a held request with no extent or a zero extent is not a carrier; identity dedup pins that one Req on six routes is carried once; a bare scheduler yields empty rather than raising. Direction E plants a request in an UNWIRED route and asserts it is MISSED -- documenting the authority's real limit as a contract (a new route must be added to the authority and planted here) instead of pretending coverage is automatic. That direction is what makes this a class closure: it rings on the day someone builds a seventh holding site. 13/13 PASS; sgl-project#1040/sgl-project#1041/sgl-project#1042 re-run green; ruff clean.
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.
No description provided.