Skip to content

Fix port conflicts in test_throughput.py - #1043

Merged
merrymercy merged 1 commit into
mainfrom
merrymercy-patch-1
Aug 12, 2024
Merged

merrymercy merged 1 commit into
mainfrom
merrymercy-patch-1

Conversation

@merrymercy

Copy link
Copy Markdown
Collaborator

No description provided.

@merrymercy
merrymercy marked this pull request as ready for review August 12, 2024 04:19
@merrymercy
merrymercy merged this pull request into main Aug 12, 2024
@merrymercy
merrymercy deleted the merrymercy-patch-1 branch 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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant