Skip to content

[CI] Fix CI - #1217

Merged
Ying1123 merged 2 commits into
mainfrom
fix-ci
Aug 26, 2024
Merged

Ying1123 merged 2 commits into
mainfrom
fix-ci

Conversation

@wisclmy0611

Copy link
Copy Markdown
Collaborator

No description provided.

@wisclmy0611
wisclmy0611 requested a review from Ying1123 August 26, 2024 02:35
@Ying1123
Ying1123 enabled auto-merge (squash) August 26, 2024 02:45
@Ying1123
Ying1123 merged commit 7514b9f into main Aug 26, 2024
@Ying1123
Ying1123 deleted the fix-ci branch August 26, 2024 02:56
timethink pushed a commit to timethink/sglang that referenced this pull request Mar 9, 2025
efschu pushed a commit to efschu/htsglang that referenced this pull request Sep 8, 2026
…der 2026-09-08)

USER ORDER, verbatim: "nimm als default ab jetzt makespan".

`--pp-solve-objective` now defaults to `makespan` -- the solver's SPEED cut
(42,11,11 / attn 10,3,3 in the perf boots). `incumbent` and `maxkv` stay
selectable and unchanged.

WHAT THIS DEFAULT COSTS, said at the flag, in the picker's reason string, on
the PP-CUT SHIPPED line of every boot, and in the tests: makespan BUYS TTFT
WITH KV -- P pool 587k solver-priced against the incumbent's 714k measured, for
+33.5 % prefill measured in pp1/pp2 only. sgl-project#1254 originally took makespan AWAY
from the default precisely because that trade was being paid without anyone
selecting it. It returns because it was selected, and the two alternatives stay
priced beside it on every boot so the cost is visible per boot rather than
inferred later.

THE CONSUMERS FOLLOW BY CONSTRUCTION -- checked, not assumed. The chosen
candidate fans out through ONE seam:
  chosen.layers/attn -> stage_ratio/attn_ratio -> PCutFacts(cut)
and the five argv sites, the W46 split==map guard, the flip-order map, the ring
form key / checkpoint-derived ring spans (fix 5) and W55/ledger all read that
one object -- `stage_ratio, attn_stage_ratio = cut.stage_ratio,
cut.attn_stage_ratio`. No consumer re-derives the incumbent for itself, so a
different objective moves them together or not at all. The W40 round-trip
refusal (`derive_pp_layer_split` must reproduce the solved cut) is what makes
that checkable rather than merely stated. Tests pin the seam and pin the
ABSENCE of `P_PP_STAGE_RATIO_SCORES` in the argv-building window, which is the
drift that would decouple them.

THE OBJECTIVE-DEFAULT TESTS FLIP WITH THE VALUE, AND SO DO THEIR NAMES.
`test_the_flag_defaults_to_the_measured_incumbent_not_to_a_solved_cut` is now
`test_the_flag_defaults_to_makespan_by_user_order`: a test that keeps a name
describing the old assertion is how a suite starts lying about what it pins.
The incumbent's own expiry reason (PP2's unpriced fixed posts -- lm_head, the
MTP/draft head, the draft pools; 966,544 read against a PROFILED 155,164) is
unchanged and stays on its arm, because it is still why `maxkv` putting sixteen
layers on PP2 is wrong.

NO LOCAL DRY-RUN WAS POSSIBLE. weg2sb5e is booting from /spinning/wt-weg2-serve
and the launcher refuses over a live instance (sgl-project#1217 shm residue: LIVE
launch_server pids) -- correctly. So the default is driven HERMETICALLY
instead: the parser's own default, the objective table, and `pick_shipped_cut`
against a synthetic priced decision, asserting it returns the makespan row and
that its reason names both the order and the cost. The PP-CUT SHIPPED line's
three-arm pricing is pinned by source assertion against `main`. Work was done
in /spinning/wt-weg2-serve-next on weg2/serve-makespan-0908 off 3ea18de;
/spinning/wt-weg2-serve was not touched.

NEVER BOOTED ON THE SERVING FORM. The first makespan boot IS the acceptance:
P pool 587k solver-priced against 714k incumbent measured, TTFT/prefill
+33.5 % measured in pp1/pp2 only. Nothing here has been on metal.
efschu pushed a commit to efschu/htsglang that referenced this pull request Sep 13, 2026
…libration on the P-cut path, image check in price

8509b9e built `read_pp_calibration` and `refuse_foreign_image` and called
NEITHER from production -- counted 0 and 0 outside host_ledger and its tests --
and keyed the lookup with a PATH digest that could never have found the boot
seat's record. Fourth present-but-unwired instance in this family, and produced
in the commit whose own message cited the lesson. The boot seat's real record
exposed it in one smoke.

CONTENT DIGEST, reproduced bit for bit rather than re-invented.
`digest_inputs.algo` in the record is the authority and `checkpoint_digest` is
its second implementation, VERIFIED against the real file:
  computed 89dcd9c419533886144102a0df37d292375d5ea678f80d2f8fd19c68413b9675
  record   89dcd9c419533886144102a0df37d292375d5ea678f80d2f8fd19c68413b9675
NAMES ONLY, not (name, dtype, shape): the safetensors index carries neither,
which the boot seat found while measuring and reported as a deviation from its
own proposal instead of silently. The path form yields
`397b7ba47a99...@138b30a8` -- the SNAPSHOT COMMIT -- so the same checkpoint
re-downloaded orphans its own calibration; it stays only as the fallback for a
checkpoint whose config or index cannot be read.

WIRED, BOTH, at the sites that otherwise hand a foreign number over unasked:
 * `read_pp_calibration` at the P-cut path, where `stage_ratio` is otherwise
   filled from the 64-layer incumbent vector without asking which model is
   loading. Depth comes from the checkpoint's own config (`checkpoint_layers`),
   because the launcher has no layer-count variable at that site -- a first
   draft referenced `pp_layers`, which does not exist there and would have been
   a NameError on the live path;
 * `refuse_foreign_image` through `resolve_image_terms`, threaded
   `launcher -> choose -> price -> resolve_image_terms` as `model_digest_want`.
   Empty = the pre-sgl-project#1362 caller, byte-identical.
Three reachability ratchets COUNT the call sites, red on 8509b9e where the
counts were 0. Counting is the only form of this check that does not depend on
my remembering -- three previous ratchets in this family pinned what I had
thought of, and this defect was what I had not.

DESK ACCEPTANCE against the REAL record, not a double:
  4B  -> Weg2ModelIdentityMismatch, "W99" present, "KERNEL-ARCH-ABBRUCH"
         VERBATIM in the line, and it names the measuring run
  27B -> no refusal (64 layers, the depth the constants were measured on)
The launcher dry-run vehicle was NOT used: the sgl-project#1217 guard refused it because a
live `launch_server` (pid 1483656) held /dev/shm -- the boot seat's INT4 work.
Correct behaviour and the ordering condition already in the briefing block, so
the acceptance was taken directly on the P-cut path instead. Stated rather than
worked around.

LOCAL: 205 passed / 5 failed; the five reproduce identically on a pristine
checkout of the base cd01231 (5 failed / 131 passed there) -- the known
ring_ledger_1235 and fix8_image_1233 set, none from this commit. ruff clean.
No boot, no GPU, no /dev/shm.

NEXT (user order 2026-09-13): the vehicle is RedHatAI/Qwen3.8-27B-INT4, 64
layers like the 27B. Its own calibration record will be read by content digest
exactly as this one is; without its own census the Sigma H path takes the
manifest route with the printed 1.449 surcharge, and a record without a model
digest is W99.
efschu pushed a commit to efschu/htsglang that referenced this pull request Sep 13, 2026
…libration on the P-cut path, image check in price

8509b9e built `read_pp_calibration` and `refuse_foreign_image` and called
NEITHER from production -- counted 0 and 0 outside host_ledger and its tests --
and keyed the lookup with a PATH digest that could never have found the boot
seat's record. Fourth present-but-unwired instance in this family, and produced
in the commit whose own message cited the lesson. The boot seat's real record
exposed it in one smoke.

CONTENT DIGEST, reproduced bit for bit rather than re-invented.
`digest_inputs.algo` in the record is the authority and `checkpoint_digest` is
its second implementation, VERIFIED against the real file:
  computed 89dcd9c419533886144102a0df37d292375d5ea678f80d2f8fd19c68413b9675
  record   89dcd9c419533886144102a0df37d292375d5ea678f80d2f8fd19c68413b9675
NAMES ONLY, not (name, dtype, shape): the safetensors index carries neither,
which the boot seat found while measuring and reported as a deviation from its
own proposal instead of silently. The path form yields
`397b7ba47a99...@138b30a8` -- the SNAPSHOT COMMIT -- so the same checkpoint
re-downloaded orphans its own calibration; it stays only as the fallback for a
checkpoint whose config or index cannot be read.

WIRED, BOTH, at the sites that otherwise hand a foreign number over unasked:
 * `read_pp_calibration` at the P-cut path, where `stage_ratio` is otherwise
   filled from the 64-layer incumbent vector without asking which model is
   loading. Depth comes from the checkpoint's own config (`checkpoint_layers`),
   because the launcher has no layer-count variable at that site -- a first
   draft referenced `pp_layers`, which does not exist there and would have been
   a NameError on the live path;
 * `refuse_foreign_image` through `resolve_image_terms`, threaded
   `launcher -> choose -> price -> resolve_image_terms` as `model_digest_want`.
   Empty = the pre-sgl-project#1362 caller, byte-identical.
Three reachability ratchets COUNT the call sites, red on 8509b9e where the
counts were 0. Counting is the only form of this check that does not depend on
my remembering -- three previous ratchets in this family pinned what I had
thought of, and this defect was what I had not.

DESK ACCEPTANCE against the REAL record, not a double:
  4B  -> Weg2ModelIdentityMismatch, "W99" present, "KERNEL-ARCH-ABBRUCH"
         VERBATIM in the line, and it names the measuring run
  27B -> no refusal (64 layers, the depth the constants were measured on)
The launcher dry-run vehicle was NOT used: the sgl-project#1217 guard refused it because a
live `launch_server` (pid 1483656) held /dev/shm -- the boot seat's INT4 work.
Correct behaviour and the ordering condition already in the briefing block, so
the acceptance was taken directly on the P-cut path instead. Stated rather than
worked around.

LOCAL: 205 passed / 5 failed; the five reproduce identically on a pristine
checkout of the base cd01231 (5 failed / 131 passed there) -- the known
ring_ledger_1235 and fix8_image_1233 set, none from this commit. ruff clean.
No boot, no GPU, no /dev/shm.

NEXT (user order 2026-09-13): the vehicle is RedHatAI/Qwen3.8-27B-INT4, 64
layers like the 27B. Its own calibration record will be read by content digest
exactly as this one is; without its own census the Sigma H path takes the
manifest route with the printed 1.449 surcharge, and a record without a model
digest is W99.

(cherry picked from commit bd568ad)
efschu pushed a commit to efschu/htsglang that referenced this pull request Sep 14, 2026
…MainBase

test_weg2_hicache_disabled_1386.py's TheDraftKvProducerFallsWithIt (5 of the
file's 19 tests) mocked launcher.SHM_DIR to a private empty tmpdir and looked
isolated, but two of main()'s three host-facing seams silently read the real
box regardless:

1. `shm_residue_sweep(shm_dir: str = SHM_DIR)` binds that default ONCE, at
   module-import time. `main`'s call (`shm_residue_sweep(log, ns.tag, stamp,
   dry)`, no `shm_dir=` keyword) always used the ORIGINAL /dev/shm the
   function was defined against -- mock.patch.object(launcher, "SHM_DIR",
   tmp) changed the ATTRIBUTE but not what this call read. Reproduced via
   inspect.signature: the bound default stays "/dev/shm" even while the
   module attribute reads the patched path. Any live `sglang.launch_server`
   process (or residue) anywhere on the box could reach the sgl-project#1217 preflight's
   pgrep/live-holder refusal, explaining "goes red whenever a boot runs
   somewhere else" without any of these tests' own isolation ever engaging.

2. `choose_host_ledger`'s `meminfo_path`/`cgroup_root` were never threaded
   through main()'s call at all -- every dry run in this file read the REAL
   /proc/meminfo and cgroup tree. Verified empirically: with
   host_ledger.read_meminfo/read_cgroup monkeypatched to a busy-box reading
   (MemAvailable 5 GiB, cgroup current 100 GiB), this file's own model/arm
   combination raises W20 Weg2HostLedgerRefused -- a second, independent live
   dependency, on top of the SHM one, that a live boot's actual memory
   pressure could trip.

Fixed both at their one call site in main(): new MEMINFO_PATH/CGROUP_ROOT
module constants (named exactly like the existing SHM_DIR, for the identical
reason), and shm_dir=SHM_DIR / meminfo_path=MEMINFO_PATH /
cgroup_root=CGROUP_ROOT passed explicitly so the mock's fresh module-attribute
read actually reaches the call instead of the frozen default.

_HermeticMainBase now also builds and mocks a pinned quiet-box
/proc/meminfo + cgroup2 tree (this box's own real reading, 2026-09-14,
verified currently-fundable -- not an arbitrarily generous synthetic one, so
the fixture preserves rather than widens what these tests cover), reusing
the exact fake-host construction test_weg2_cushion_headroom_autoresolve_1378_stage2b.py
built for the same choose_host_ledger seam rather than a second fixture path.

New test class TheFiveTestsAboveAreActuallyHermeticNow (3 cases): a
hermetic, self-contained reproduction of each half of the live dependency --
a residue file this test process itself holds open (found via the real
/proc, no subprocess needed) for the SHM path, and a deliberately too-small
fake host for the memory path -- proving main() actually reads the mocked
values, plus a structural check on the call site's own source.

Manually verified both required danger-direction mutants: reverting
shm_dir=SHM_DIR to the bare call kills
test_a_mocked_shm_residue_with_a_live_holder_is_actually_seen; reverting
meminfo_path=MEMINFO_PATH/cgroup_root=CGROUP_ROOT kills both
test_a_too_small_mocked_host_actually_refuses_the_ladder and the structural
call-site test. Both restored, diff empty. Full file green (22 of 22,
19 original + 3 new).
efschu pushed a commit to efschu/htsglang that referenced this pull request Sep 14, 2026
…MainBase

test_weg2_hicache_disabled_1386.py's TheDraftKvProducerFallsWithIt (5 of the
file's 19 tests) mocked launcher.SHM_DIR to a private empty tmpdir and looked
isolated, but two of main()'s three host-facing seams silently read the real
box regardless:

1. `shm_residue_sweep(shm_dir: str = SHM_DIR)` binds that default ONCE, at
   module-import time. `main`'s call (`shm_residue_sweep(log, ns.tag, stamp,
   dry)`, no `shm_dir=` keyword) always used the ORIGINAL /dev/shm the
   function was defined against -- mock.patch.object(launcher, "SHM_DIR",
   tmp) changed the ATTRIBUTE but not what this call read. Reproduced via
   inspect.signature: the bound default stays "/dev/shm" even while the
   module attribute reads the patched path. Any live `sglang.launch_server`
   process (or residue) anywhere on the box could reach the sgl-project#1217 preflight's
   pgrep/live-holder refusal, explaining "goes red whenever a boot runs
   somewhere else" without any of these tests' own isolation ever engaging.

2. `choose_host_ledger`'s `meminfo_path`/`cgroup_root` were never threaded
   through main()'s call at all -- every dry run in this file read the REAL
   /proc/meminfo and cgroup tree. Verified empirically: with
   host_ledger.read_meminfo/read_cgroup monkeypatched to a busy-box reading
   (MemAvailable 5 GiB, cgroup current 100 GiB), this file's own model/arm
   combination raises W20 Weg2HostLedgerRefused -- a second, independent live
   dependency, on top of the SHM one, that a live boot's actual memory
   pressure could trip.

Fixed both at their one call site in main(): new MEMINFO_PATH/CGROUP_ROOT
module constants (named exactly like the existing SHM_DIR, for the identical
reason), and shm_dir=SHM_DIR / meminfo_path=MEMINFO_PATH /
cgroup_root=CGROUP_ROOT passed explicitly so the mock's fresh module-attribute
read actually reaches the call instead of the frozen default.

_HermeticMainBase now also builds and mocks a pinned quiet-box
/proc/meminfo + cgroup2 tree (this box's own real reading, 2026-09-14,
verified currently-fundable -- not an arbitrarily generous synthetic one, so
the fixture preserves rather than widens what these tests cover), reusing
the exact fake-host construction test_weg2_cushion_headroom_autoresolve_1378_stage2b.py
built for the same choose_host_ledger seam rather than a second fixture path.

New test class TheFiveTestsAboveAreActuallyHermeticNow (3 cases): a
hermetic, self-contained reproduction of each half of the live dependency --
a residue file this test process itself holds open (found via the real
/proc, no subprocess needed) for the SHM path, and a deliberately too-small
fake host for the memory path -- proving main() actually reads the mocked
values, plus a structural check on the call site's own source.

Manually verified both required danger-direction mutants: reverting
shm_dir=SHM_DIR to the bare call kills
test_a_mocked_shm_residue_with_a_live_holder_is_actually_seen; reverting
meminfo_path=MEMINFO_PATH/cgroup_root=CGROUP_ROOT kills both
test_a_too_small_mocked_host_actually_refuses_the_ladder and the structural
call-site test. Both restored, diff empty. Full file green (22 of 22,
19 original + 3 new).
efschu pushed a commit to efschu/htsglang that referenced this pull request Sep 24, 2026
…en Start (fnFL2 H26)

Metall 24.09. 08:56-08:57Z, Boot fnFL2x140: drei Starts, drei Verweigerungen
"sgl-project#1217 shm residue: LIVE launch_server pid(s)=[3122930]" (dann 3157795,
3189930), jede PID Sekunden spaeter weg. Der Riegel lief nur, weil zwei tote
16-KB-Flags sglang_loads_* von weg2xsn414 in /dev/shm lagen, und sein
`pgrep -f "sglang[.]launch_server"` traf einen TEILSTRING: die Bash-Tool-Shell
des Operators, `bash -c '... pgrep -fc "sglang.launch_server"; ... bash
start_when_free.sh fnFL2x139 boot_nf_x140.sh fnFL2x140'` -- den VORFAHREN
dieses Launchers (Tool-Shell -> start_when_free.sh -> boot_nf_x140.sh ->
boot_nf_cd_long.sh -> arm_fnFL2_long.sh -> timeout -> python -m
sglang.srt.weg2.launcher --dry-run), der genau so lange lebte wie der Start,
auf den er wartete.

Neu: live_launch_servers(tag, proc_root) liest /proc selbst.
* eigene PID und die ganze Elternkette zaehlen nie;
* nur ein echter Server zaehlt: argv[0] beginnt mit python und `-m
  sglang.launch_server` als GANZES Argument (is_launch_server_argv); alles
  andere mit dem Modulnamen in der Kommandozeile wird nur geloggt;
* ein echter Server zaehlt mit lebendem CUDA-Kontext (/dev/nvidia* in fd
  oder maps) oder mit anderem Boot-Tag (SGLANG_WEG2_BOOT_TOKEN, fehlend =
  fremd); nur ein Server DIESES Tags ohne CUDA-Kontext wird uebersprungen.
Danach wie bisher: Halter auf eigenen Resten verweigert, Reste ohne Halter
werden archiviert (sgl-project#1233). Nebenbei hermetisch: der Riegel liest proc_root,
die Tests brauchen kein echtes pgrep mehr.

Test: test_weg2_residue_selfcatch_h26.py (9) -- gemessene Kette als falsches
/proc (Selbstfang vorbei, Reste archiviert), echter fremder Server mit
CUDA-Kontext (Verweigerung, nichts bewegt), Halter (Verweigerung).
efschu pushed a commit to efschu/htsglang that referenced this pull request Sep 24, 2026
…-TP0 der Karte, nicht an der Transiente; Kante 0.402/0.708, PP2 bis 0.48 (fnFL2 H59)

fnFL2x164 (2e2aac1, 4 Sitze, FR_P 0.410/0.712 = H41d-Kante) starb im VIERTEN
Chunk auf PP0: 320 MiB angefordert, 287 frei, 627 MiB Split-Verschnitt, torch-
Kopfraum nach der Anforderung 594. Die "377/627/647 MiB groessere Transiente"
der H55-Sonde ist eine Definitionsfrage: WEG2-VRAM-PEAK transient = peak -
START, der Planer rechnet peak - allocated NACH dem Chunk; die Differenz ist,
was der Chunk liegen laesst (x164 Chunk 0: 411/649/651 MiB, ab Chunk 1 ~320,
nach Chunk 3 gesaettigt) = der Chunk-WACHSTUMS-Term. In Planer-Definition lag
x164 bei 3663/3264/3263 MiB, UNTER den Stuetzstellen 3697/3287/3267 ([vram-peak]
3.58/3.19/3.19 GiB wie x160/x162/x163). Die 4 Sitze kosten nichts (x162 -> x163:
allocated +3, privat_frei -3 MiB, Kopfraum gleich), die neuen Baeume auch nicht
(x163 und x165 auf 2e2aac1 zeilengleich).

Die Ursache ist der MITBEWOHNER: cap einer P-Stufe enthaelt den schlafenden
D-Rang derselben Karte. D-TP0 hielt in x164s erstem Flip 1782 statt 1698 MiB
(x160, die Referenz; +84 MiB Allokator-Cache, torch_untagged 1018 statt 934)
-> cap PP0 28885 statt 28967; die Karte versprach 458 und hatte 372. Ueber die
Flips waechst er (x165: 1698 -> 1956 -> 1982 -> 1994 -> 2004), TP1/TP2 bis
838/836 nach dem 259k-Prompt (x160). Gemessen in 17 D-Logs x145..x165.

- p_card_chunk: Form-Schluessel ``seats`` (P --max-running-requests aus der
  Zeile max_total_num_tokens=..., max_running_requests=N) in PCardReference;
  mehr Sitze als die Referenz -> PCardFormUnmeasured (Bilanz entfaellt mit
  Namen), eine Referenz mischt keine Sitze. Mitbewohner: co_tenant_by_flip /
  co_tenant_at lesen den Schlafstand je D-Rang (WEG2-DC-BREAKDOWN stage=release
  tags=['weights_...] nvml_proc), die Referenz nennt ihn am Chunk-0-Punkt
  (Minimum ueber K0 + Mitbewohner, sonst sind zwei Boots nicht vergleichbar),
  solve_p_card zieht (gemessener Hochstand - Referenzstand) ab;
  P_CARD_CO_TENANT_FNFL2 = (2004, 838, 836). ChunkWindow/chunk_windows lesen
  die H55-Fenster mit beiden Transienten und persist.
- Referenz P_CARD_REFERENCE_FNFL2 = fnFL2x163 + x164 + x165 (4 Sitze): K0 aus
  x163 (normiert), Wachstum 335 MiB je 16k aus x164, Saettigung Chunk 3/3/1.
  Gegen x164s eigene Zeilen: Chunk 0..2 1350/1015/680 gerechnet gegen
  1362/1013/692 gemessen, Chunk 3 345 < 400 -> verweigert. x165 (0.36/0.64):
  gesaettigt 2181 gerechnet gegen 2196 gemessen. x160 bleibt als
  P_CARD_REFERENCE_FNFL2_X160 (1 Sitz, Geschichte).
- Kante (262k = 97k, Mitbewohner-Hochstand): PP0 238 Zeilen = 0.402 (403
  MiB), PP1 395 = 0.708 (417 MiB), PP2 0.996 (Karte traegt 576 Zeilen).
  NICHT 0.686 auf PP1: die NVML-Restluft am Chunk-Hochstand ist die Karte NACH
  dem Allokator-Cache und kein Todesmass -- x165 (0.36/0.64, lebend, alle sechs
  Chunks) hatte 7/84 MiB, x160 (0.332/0.605, 259k in 16 Chunks) 143/225 MiB.
- launcher.p_card_verdict: Sitze = wirksames P --max-running-requests (--extra-p
  schlaegt --p-bs), D-Log neben jedem --p-card-reference-logs-P-Log liefert den
  Mitbewohner und frischt den Hochstand auf.
- pp_cut_launch: W40 des gepinnten Schnitts nennt den Satz des Pool-Modells
  (Rang und Ueberschreitung in MiB) statt nur der Klasse.
- vram_hires_report: IN-PROZESS-Tabelle mit tr_plan (Planer-Definition),
  persist und kopf_torch (card_free + reserved - peak - privat_frei, die
  Waehrung der Karte).

Dry-Run-Gate (Launcher, x164-Form, Harness ohne sgl-project#1217-Pruefung und mit dem
ruhigen Host-Kasten des x164-Dry-Runs): FR_P 0.410/0.712 -> W132 (123/364 MiB,
"Groesste tragbare Fraction 0.402,0.708,0.996"); 0.402/0.708 mit FR_P[2]
0.39/0.45/0.47/0.48 -> W40 passiert, P-KARTE PASST, WAKE-CREDIT FERTIG (D->P
card2 876/426/281/209 MiB), DRY-RUN complete; 0.49 -> W40 Pool-Boden (PP2 KV
254374 < 262144 Token); 0.50 -> W40 Pool-Boden (204874); 0.55/0.60/0.65 ->
W40 Pool-Modell (Rang 2 ueber 17168 MiB um 102.6/605.3/1088.8).

Tests: test_weg2_p_card_chunk_h41 (Fixture-Zeilen x163/x164/x165 P+D, x160 D;
x164-Tod im vierten Chunk, Pfad 1362/1013/692, Mutant ohne Mitbewohner-Term
laesst x164 durch, Kante 238/395 und eine Zeile mehr stirbt, Sitze, Launcher-
Naht mit D-Log), test_pp_cut_launch_1236 (W40-Grund), test_weg2_vram_hires_h55
(tr_plan/persist/kopf_torch an x164s Zeilen).
efschu pushed a commit to efschu/htsglang that referenced this pull request Sep 26, 2026
…/sem/credit counterparts, flag alias, cross-generation sgl-project#1217 census)

compat_shims.py + _compat_boot.py and their call sites (RENAME_PLAN 8.7 step 2; FL2 draft,
FL4 rebase on f3659af, FL6 on 2bddf04). Every old/new name in the shim files is written
split, so the files are a fixed point of rename_to_flliper.py and bridge in both directions.

FL6 (RENAME_PLAN 8.14 item 1): the launcher's sgl-project#1217 live-server census now sees the other
package generation. LAUNCH_SERVER_MODULES = this tree's stock server module + the other
spelling (compat_shims.name_variants) for is_launch_server_argv and the mention filter;
BOOT_TOKEN_ENV_KEYS = both spellings of the boot token env key (compat_shims.env_name_variants
over name_compat.ENV_PREFIX_PAIRS), running spelling first, for _proc_boot_tag. Before: an
old-generation server was invisible to a renamed launcher (not a server argv, no mention),
and a token under the other key read as "no token". vram_hires._RX_SCHED names ranks of
either generation's scheduler title.

Tests (CPU, test27b.sh, own HOME): test_compat_shims 29 passed (22 + 7 new
TestOtherGenerationServers), with test_weg2_residue_selfcatch_h26 and test_weg2_vram_hires_h55
67 passed. Red first: the 7 new tests against the launcher without the FL6 change fail
(census [26] instead of [20, 22, 23, 26], token None instead of tagA, argv False).
Renamed side: see RENAME_PLAN 8.15.

Unify note (RM, pick onto 33139d9): launcher.main conflict line by line -- FL6 parse (_canonical_flags) + link_state_dir, then the H91 seat defaults and the WEG2-STANDARD-FORM line. The three H91/H95 source pins index the new parse line; h91b window 300 -> 600.
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.

2 participants