Case file: PR #608 — helios,ignition,ci: restore catalog validation, CPU Python tests, and script separation
Author: lukealonso (COLLABORATOR, priority contributor per the charter; AGENTS.md:376-381 makes him the owner whose approval is required for new captured-graph op families — i.e. he is the designated reviewer here and self-merged). State: merged 2026-11-29 17:23, 23 minutes after opening at 17:00. 13 files, +226/−304. Head 3343f13. Zero reviews, zero comments. CI on the head commit: failed (orientation packet).
Key findings
- Zero review, zero comments, 23-minute self-merge, on a PR that changes a shipped CLI name and adds a CI workflow (#1, #8). No Autobot case file or review was opened for #608 — unlike its immediate causes #555 ("Changes Requested", 2 blockers) and #505 ("Changes Requested"), both of which also merged anyway. Given the author is the charter-designated owner for this area, nothing structurally blocked it, but the case file is the only review artifact that exists.
- The description omits that the console-script rename breaks the repository's own documentation (#3).
pyproject.toml:15renamesignition→ignition-core, but no markdown file is touched in the diff, while ~35 documented command lines still say.venv/bin/ignition(docs/cli-design.md:59, 227-312, 517-520, 563, 641, 669; docs/direct-execution.md:36-68 (not opened); docs/model-preparation.md:297 (not opened), 515-516, 525; docs/multi-host.md:347-355 (not opened); docs/roce-ring.md:177-193 (not opened); docs/signing.md:45 (not opened), 80, 103). In a core-only venv created exactly as docs/cli-design.md:58 instructs (uv sync --locked --extra prepare --extra test),.venv/bin/ignitionno longer exists, so those examples fail.python -m ignitionstill works. This is the clearest undeclared consequence of the change. - CI is still blacked out after this PR. The Rust matrix workflow (
native-serving.yml) is fixed so it will pass when re-enabled but is not re-enabled; the description says re-enabling (ID 390820901) and merging #574 are separate repository actions. So "restore … CI" restores a Python workflow only (#4). - Four of the five fixes are repair for defects introduced by PRs merged one to two days earlier (#2, #6): #555 (voipmonitor, 2026-11-27, intermediate batch capacities 6/12/24) caused the catalog.rs/selection.rs/cost.rs (not opened) regressions; #505 (jcartu, 2026-11-28, FP32 core parameters) introduced the
MappingProxyTypethat crashesdeepcopy. The author of #608 had already reviewed #542/#555's design and flagged theREQUIRED_BATCH_CAPACITIESsplit as a remaining gap — so #608 is partly his own follow-through. - Charter tension on dependency pinning (#8). The new workflow runs
uv sync --extra prepare --extra testwithout--locked(python-cpu.yml:29) while docs/cli-design.md:58 documentsuv sync --locked; there is nouv.lockat head, andflashinfer-pythonis pinned tobranch = "main"(pyproject.toml:47). The charter says "Be explicit and pin everything … pin dependencies to exact versions or commits (#215)". Every future PR resolves a moving git dependency. - Deleted coverage cannot be verified from this repo (#8). The two deleted CUDA tests (−266 of the −304 lines) imported support modules that no longer exist at head (
tests/components/draft_block_broadcast_support,vocabulary_commit_support,causal_prefix_oracle,test_generation_logprobs_cudaall absent), so they were uncollectable — but whether the coverage survives lives inlocal-inference-lab/hyperflare-recipes, outside this repository's verification. - Evidence is measured against a base, not the merged head (
f7256584and "prior to the final docs/Selene rebase"), and no explanation is given for the failing CI check on 3343f13 (#8).
The change
Five disjoint fixes in one PR (#1, #5). Diff is file-for-file what the description says; no undeclared code-level changes were found.
helios/src/model/catalog.rs:130-238(+81/−29). Replaces manifest-wide.any(...)existence checks with per-batch parity.lifecycle_batches= batch capacities of Init/Restore/Snapshot/Resume graphs that also havetoken_capacity == 1,prefill_capacity == 0,sampling_mode == General(:133-140); empty → "prepared model lacks lifecycle graphs" (:143-145).generation_batches= Decode (only when non-speculative) or any Speculative graph (:146-160); empty → "prepared model lacks {Decode|speculative} graph" (:161-168).required_batchesis their union (:169-170), and each batch must resolve every lifecycle kind plus Decode (:171-191). Speculative cores must additionally have a width-one Speculative graph per batch inrequired_batches(:212-224) and atoken_capacity > 1Speculative graph wheneverbatch * 2 <= speculative_token_capacity(:225-232). Asymmetry worth knowing: parity is enforced only over batches declared by the lifecycle or generation sets, not batches declared only by other graph kinds (Mixed/Prefill/Vision).helios/src/runtime_core/selection.rs:175-181(+54/−1). Computesspeculative_max_batch=minbatch_capacity over kind"speculative"graphs withbatch_capacity >= active, falling back toactive, and filterseligible_widthsby<= speculative_max_batchinstead ofactive.next_power_of_two(). This matches themax_batchretention pass at selection.rs:283-289, so the two passes can no longer disagree. New regression testeligible_widths_follow_covering_max_batch_instead_of_next_power_of_twoat selection.rs:1899-1945 (max_active 8, batches 6 and 8, width 8 only on batch 8,max_concurrency: Some(5)→ expects "no captured speculative width fits").helios/src/scheduler/cost.rs:264-269(+35/−1).fresh_durationlooks upself.batches(kind).first().copied()?(smallest declared batch, sincebatchesis sorted+deduped at cost.rs:179-186) instead of a literalbatch: 1; returnsNoneif the kind declares no batches. Downstream,fresh_duration(Snapshot, …)gates prefix checkpointing at scheduler/checkpoints.rs:411-413, :727, :788, so cores whose smallest declared Snapshot batch ≠ 1 previously silently had no prefix checkpointing. New testfresh_duration_uses_smallest_declared_batch_when_batch_one_is_absentat cost.rs:415-446.pyproject.toml:15+tests/preparation/test_packaging.py:25(+1/−1).[project.scripts] ignition→ignition-core, leaving.venv/bin/ignitionto recipe packages. Motivated bylocal-inference-lab/hyperflare-recipes#20(warm-cacheuv syncclobbering the entrypoint when both packages declareignition). No shim, no version bump (version = "0.1.0"at pyproject.toml:7).ignition/direct/scheduler.py:449-459(+12).Request.__deepcopy__memoizes self, re-wraps anyMappingProxyTypeattribute in a freshMappingProxyType(deepcopy(dict(value), memo)), deep-copies the rest. The proxy is installed at scheduler.py:556 byScheduler.validate. Callers that crashed:ignition/bench/runner.py:424,435,tests/bench/test_runner.py:55,57(TypeError: cannot pickle 'mappingproxy' object).- CI.
.github/workflows/native-serving.yml:31(not opened) adds--recipe minimax_m3(needed byfrontend::jinja::tests::PREPARED_TEMPLATES). New.github/workflows/python-cpu.yml(not opened) (+33): triggers on push to main, everypull_request,workflow_dispatch, no path filter; ubuntu-24.04, Python 3.12,astral-sh/setup-uv@v6, apt build deps,BUILD_NVEP=0 FLASHINFER_BUILD_NO_PIP=1 uv sync --extra prepare --extra test(:29), thenCUDA_VISIBLE_DEVICES="" .venv/bin/python -m pytest tests/ -q(:33) — the whole suite, not a subset. - Test doubles / housekeeping.
tests/preparation/test_capture_roce_wait.pyaddscapture_allocation_sizes = (),retire_after_capture,group=None, monkeypatchescapture.torch.distributed.all_gather_object;test_transient_retention.py:119addscapture_allocation_sizes = ();test_core_protection.py:452-453now expects'unknown core publisher'(matches helios/src/runtime_core/protection.rs:995) and drops the huggingface-URL assertion,:733expects'safetensors data length differs from model core'(matches archive.rs:134). Deletedtests/components/test_draft_block_broadcast_cuda.py(22 lines) andtest_vocabulary_commit_cuda.py(244 lines).
The why
A self-described CI blackout — the head branch is literally named post-split-ci-blackout-lock-drift-an (#4).
.github/workflows/held onlynative-serving.yml,helios-lifecycle.yml,release.ymlbefore this PR; no GitHub Actions job had ever run Pythonpytest(search_historyon that folder).helios-lifecycle.ymlpath-filters tohelios/**, selene/**, selene-manager/**, eos/**, verification/helios-lifecycle/**(:4-11), so it never covered Python changes.- The 2026-11-22 split (commit 17bb3c4a, "Remove extracted hyperflare_recipes, qualification drivers, and model tests from core Flare") moved support modules out but left behind tests that no longer collect — nothing re-ran them.
native-serving.yml— the only Rust matrix covering helios/flare/eos/selene — was disabled by hand in repository settings (stated in the description; re-enabling is deferred).- Specific regressions:
packed_combined_budget_keeps_width_one_batches_without_a_useful_packed_shape(helios/src/model/packed_round_tests.rs:68, callingcatalog::validateat :83/:98, asserting the omission error at :100-107) had been failing since #555 relaxed validation; theMappingProxyTypecrash had been live since #505 landed one day earlier.
Related work
- #555 "feat(capacity): add intermediate batch capacities 6, 12, and 24" (voipmonitor, merged 2026-11-27, +456/−242, 31 files) — the direct cause. #608 is repair, not competition; different author. #555 was split from #542, which lukealonso reviewed comment-by-comment, discussing "Splitting
REQUIRED_BATCH_CAPACITIES(powers of two) from…". #555's Autobot review was Changes Requested with 2 blockers and it merged 7 minutes later. Neither review nor #555's body mentioned the batch-1fresh_durationassumption or thenext_power_of_twomismatch — those were latent. - #505 "Bind core-declared FP32 parameters into text forward graphs" (jcartu, merged 2026-11-28/29, +2393/−261) — introduced
MappingProxyTypeat scheduler.py:556. Its own body already recorded thepacked_round_testsfailure and attributed it to #555, so the catalog regression was known before #608 opened. Autobot review: Changes Requested (0 blockers, 2 should-fix); merged anyway. - #613 "helios: fix deferred_prefill checkpoints, shared_pages accounting, drop teardown, and >64 MiB wire prepares" (lukealonso, opened 17:12, merged 17:26 — 12 minutes after #608). Sibling same-day PR; its "pre-existing unrelated failures" list still names the
packed_round_testsfailure as failing before #608 landed. Toucheshelios/src/scheduler/checkpoints.rs(+7/−3), the caller of the fixedfresh_duration, but in disjoint regions (deferred_prefill gating vs. checkpoints.rs:411/727/788 call sites). - #614 (open, same author, same day) "Fix flare-cli/selene-manager test flakes and parallelize helios-lifecycle checks" — same CI-reliability theme, different files.
- #574 (open) "Strip unguarded attributes from hyperflare_recipes objects in AOT guard serialization" — the description defers merging it; not in this diff.
- #490 (open) "flare-cli: keep a channel that closed unnamed from aborting a launch" — the explanation for the
distribution::tests::source_waits_for_receiver_file_verificationBrokenPipe the author reports. - #459 (merged, yatesdr) "Price checkpoint candidates without walking every prefill chunk" — introduced the
fresh_durationcall sites. - #540 (open, FujitsuPolycom) "Retain bounded timing-refresh credit across idle and exclude readiness wait" — same scheduler cost/timing area (
packed_token_capacity, batch selection); a candidate to be affected by the cost.rs change; no engagement recorded between the two. - No other PR in the repository touches
.github/workflows/python-cpu.yml(not opened) — the new workflow competes with nothing.
Recent activity in the touched areas
helios/src is the busiest area in the repo: Luke Alonso 224 commits/180 days, Martin Vit 52, yatesdr 47. In the 60 days before #608 the three Helios files changed only via #555 (c9693765, 2026-11-27), itself the only catalog.rs commit since #479 (e091689b, 2026-11-23) — so #608 lands directly on #555's rewrite. ignition/direct/scheduler.py was last touched by #505's commit 85de9eae one day earlier. .github/workflows changed 2026-11-28 (#589, CUDA 12 batched copies / ARM64 release / Selene budgeting), 2026-11-20 (2925c555, "Automatically advance uv.lock along FlashInfer main in GitHub Actions" — the same lock-drift area the branch name alludes to). tests/components last changed by #484 (2026-11-28) and by the 2026-11-27 split commit 4d957175 ("Move recipe collective wrappers and PCIe factories out of core Ignition"), which is the direct cause of the two uncollectable test files. tests/preparation is owned overwhelmingly by Luke Alonso (205 commits).
People
- lukealonso — 19 merged PRs in 180 days, 1 open (#614). Charter priority contributor; AGENTS.md owner for captured-graph op families. His merged work concentrates in helios/src (15 PRs), docs (11), ignition/preparation (6), tests/preparation (5), verification/helios-lifecycle (5). Earlier same-day PRs: #613, #607, #598, #596, #595, #593, #590, #589… — this PR is one of a rapid series, and the CI-repair theme continues in #614.
- voipmonitor — author of #555, the change this repairs.
- jcartu (CONTRIBUTOR) — author of #505, the other change this repairs.
- yatesdr, Martin Vit — recurrent committers in helios/src and tests/components; yatesdr authored the
fresh_durationcall sites (#459). - FujitsuPolycom — #540 in the adjacent scheduler cost area.
- Community engagement on #608: none. No comment, review, reaction, or linked discussion other than the #490/#574 mentions in the body.
Project fit (charter, docs, roadmap)
Aligned:
- "Bring real evidence. … Bug fixes need to address the root cause; don't just swallow, skip, or retry an unexplained error (#397)" — the three Helios fixes address root causes, each with a named regression test.
- "Keep the runtime small and model-agnostic" (charter line 12; model extensions belong in recipes, not the runtime, #267/#334) — all three Helios fixes are metadata-driven, no per-model branches.
- PR-description convention (why / what changed / claimed result / evidence) — #608 has exactly those four headings.
Tensions:
- Pinning (charter: "Be explicit and pin everything … pin dependencies to exact versions or commits (#215)"):
uv syncwithout--lockedin the new workflow;flashinfer-pythonfrombranch = "main"; nouv.lockat head. - Do not delete evidence of failure (root-cause rule): the two deleted CUDA test files are deleted rather than repaired. The stated reason (support modules moved to
hyperflare-recipes) was verified true in this tree, and the coverage question moves outside this repository. - Docs as contract:
docs/cli-design.md,docs/direct-execution.md(not opened),docs/model-preparation.md(not opened),docs/multi-host.md(not opened),docs/roce-ring.md(not opened),docs/signing.md(not opened),AGENTS.md:162/253/282/285/289/415/426/498all still describe the core CLI asignition; none mentionignition-core(only pyproject.toml:15 and tests/preparation/test_packaging.py:25 do).
Claims and evidence
| Claim | Evidence | Status |
|---|---|---|
| Helios lib passes with new tests | "Rebased on f7256584": cargo test --locked --release --manifest-path helios/Cargo.toml (not opened) --features runtime-core,server --lib → 1,713 passed, 0 failed, 43 ignored |
Plausible, same-family counts appear on neighbouring PRs (≈#505: 1,692; #613: flare 242), but measured on a pre-final-rebase base, not head 3343f13 |
| Other Rust crates pass | "Prior to the final docs/Selene rebase (identical code diff)": eos 2, selene/selene-manager test-support, flare 234 lib + 7 + 1, 4 ignored, heliopause 211 + 6 ignored | Code-identical base, older rebase |
| TLA+ conformance | verification/helios-lifecycle/check.py (not opened) --tlc-jar /tmp/tla2tools.jar: 8 models, 95 Rust traces passed |
Same prior-rebase base |
| Python CPU suite | full pytest tests/: 2,317 passed, 454 skipped; 190 passed/1 skipped on the targeted subset |
Prior-rebase base; test_source_identity failure attributed to a stale .venv flare_heliopause binary |
| New CI workflow works | Not claimed to have run | Created in this PR; first run is post-merge |
| Script separation fixes the clobber | Reasoned from hyperflare-recipes#20 |
Depends on that repo's uv.lock advancing past this commit — not verifiable here |
| Failing CI check on head | Not addressed anywhere in the description | Unexplained |
Not run: cargo kani (host lacks it; covered by .github/workflows/helios-lifecycle.yml:36-47 (not opened), untouched), no GPU export, no live serving benchmark. No performance claim is made, so the missing benchmark is consistent with the charter's benchmark requirement.
Reach
- Operators following in-repo docs:
.venv/bin/ignitiondisappears in a core-only venv; ~35 documented invocations stop working (see Key finding 2).python -m ignitionunaffected. - Anyone with a wrapper, Dockerfile, systemd unit or CI step invoking the core console script
ignition: silent rename toignition-core, no shim, no version bump (pyproject.toml:7). - Recipe/
hyperflare-recipesconsumers: unaffected until that repo'suv.lockadvances (stated). - Helios runtime users: malformed cores that previously loaded (missing per-batch lifecycle/speculative graphs) now fail to load with a specific message — stricter validation on non-power-of-two batch catalogs. Cores whose smallest declared Snapshot batch ≠ 1 gain prefix checkpointing. Already-exported power-of-two cores keep working.
- CI cost: one new job on every PR and every push to main, installing
--extra prepare(torch==2.14.1+cu132, torchvision, transformers 5.23.0, flashinfer from git main, cuda-python 13.3.1, cuda-tile, flare-heliopause built locally withBUILD_NVEP=0) and running the entiretests/suite on a CPU runner — materially heavier than the one-line description suggests, and a new flake surface (contrast #614, which exists to deflake other tests). - Dependencies: no runtime dependency change; a new moving git-source surface in CI.
Process
Draft-or-ready: opened and merged as ready. Age: same-day, ~23 minutes. Review state: none — no human review, no Autobot review or case file (compare #542/#555 and #505, which did get Autobot reviews). CI: failed on the head commit, unexplained. Two repository actions are explicitly deferred by the description rather than done here: re-enabling the Native serving workflow (ID 390820901) and merging #574.
Open questions / could not be found
- What specifically failed in CI on head 3343f13? The description's limitations cover only a stale local
.venvand an unrelated BrokenPipe (#490). - Does the deleted CUDA coverage (draft-block broadcast, vocabulary commit) exist in
local-inference-lab/hyperflare-recipes? Not verifiable from this repository; the support modules it imported are absent here. - Did anyone intend to update the ~35 doc references to
.venv/bin/ignitionin a follow-up? No issue or PR was found for it. - Was the
uv sync(no--locked, flashinferbranch = "main") choice deliberate for the new workflow, or an oversight? Not stated; it diverges from docs/cli-design.md:58 and the charter's pinning rule. - When will
native-serving.ymlbe re-enabled, and canpython-cpu.ymlalone catch the Rust regressions #555/#505 shipped? (It cannot — it runs pytest only.) - No engagement with #540, the open PR in the same scheduler cost area; whether its batch/timing logic assumes the old
batch: 1fresh_durationbehaviour could not be determined from the available material.