Explore report · NVIDIA/hyperflare-inference #608

Raw Markdown for agents: https://autobot.eidonix.com/p/415f855b-9399-482f-a387-ae76feaa3330.md

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

  1. 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.
  2. The description omits that the console-script rename breaks the repository's own documentation (#3). pyproject.toml:15 renames ignition → 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/ignition no longer exists, so those examples fail. python -m ignition still works. This is the clearest undeclared consequence of the change.
  3. 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).
  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 MappingProxyType that crashes deepcopy. The author of #608 had already reviewed #542/#555's design and flagged the REQUIRED_BATCH_CAPACITIES split as a remaining gap — so #608 is partly his own follow-through.
  5. Charter tension on dependency pinning (#8). The new workflow runs uv sync --extra prepare --extra test without --locked (python-cpu.yml:29) while docs/cli-design.md:58 documents uv sync --locked; there is no uv.lock at head, and flashinfer-python is pinned to branch = "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.
  6. 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_cuda all absent), so they were uncollectable — but whether the coverage survives lives in local-inference-lab/hyperflare-recipes, outside this repository's verification.
  7. Evidence is measured against a base, not the merged head (f7256584 and "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.

  1. 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 have token_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_batches is 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 in required_batches (:212-224) and a token_capacity > 1 Speculative graph whenever batch * 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).
  2. helios/src/runtime_core/selection.rs:175-181 (+54/−1). Computes speculative_max_batch = min batch_capacity over kind "speculative" graphs with batch_capacity >= active, falling back to active, and filters eligible_widths by <= speculative_max_batch instead of active.next_power_of_two(). This matches the max_batch retention pass at selection.rs:283-289, so the two passes can no longer disagree. New regression test eligible_widths_follow_covering_max_batch_instead_of_next_power_of_two at 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").
  3. helios/src/scheduler/cost.rs:264-269 (+35/−1). fresh_duration looks up self.batches(kind).first().copied()? (smallest declared batch, since batches is sorted+deduped at cost.rs:179-186) instead of a literal batch: 1; returns None if 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 test fresh_duration_uses_smallest_declared_batch_when_batch_one_is_absent at cost.rs:415-446.
  4. pyproject.toml:15 + tests/preparation/test_packaging.py:25 (+1/−1). [project.scripts] ignition → ignition-core, leaving .venv/bin/ignition to recipe packages. Motivated by local-inference-lab/hyperflare-recipes#20 (warm-cache uv sync clobbering the entrypoint when both packages declare ignition). No shim, no version bump (version = "0.1.0" at pyproject.toml:7).
  5. ignition/direct/scheduler.py:449-459 (+12). Request.__deepcopy__ memoizes self, re-wraps any MappingProxyType attribute in a fresh MappingProxyType(deepcopy(dict(value), memo)), deep-copies the rest. The proxy is installed at scheduler.py:556 by Scheduler.validate. Callers that crashed: ignition/bench/runner.py:424,435, tests/bench/test_runner.py:55,57 (TypeError: cannot pickle 'mappingproxy' object).
  6. CI. .github/workflows/native-serving.yml:31 (not opened) adds --recipe minimax_m3 (needed by frontend::jinja::tests::PREPARED_TEMPLATES). New .github/workflows/python-cpu.yml (not opened) (+33): triggers on push to main, every pull_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), then CUDA_VISIBLE_DEVICES="" .venv/bin/python -m pytest tests/ -q (:33) — the whole suite, not a subset.
  7. Test doubles / housekeeping. tests/preparation/test_capture_roce_wait.py adds capture_allocation_sizes = (), retire_after_capture, group=None, monkeypatches capture.torch.distributed.all_gather_object; test_transient_retention.py:119 adds capture_allocation_sizes = (); test_core_protection.py:452-453 now expects 'unknown core publisher' (matches helios/src/runtime_core/protection.rs:995) and drops the huggingface-URL assertion, :733 expects 'safetensors data length differs from model core' (matches archive.rs:134). Deleted tests/components/test_draft_block_broadcast_cuda.py (22 lines) and test_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).

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

Project fit (charter, docs, roadmap)

Aligned:

Tensions:

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

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

  1. What specifically failed in CI on head 3343f13? The description's limitations cover only a stale local .venv and an unrelated BrokenPipe (#490).
  2. 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.
  3. Did anyone intend to update the ~35 doc references to .venv/bin/ignition in a follow-up? No issue or PR was found for it.
  4. Was the uv sync (no --locked, flashinfer branch = "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.
  5. When will native-serving.yml be re-enabled, and can python-cpu.yml alone catch the Rust regressions #555/#505 shipped? (It cannot — it runs pytest only.)
  6. No engagement with #540, the open PR in the same scheduler cost area; whether its batch/timing logic assumes the old batch: 1 fresh_duration behaviour could not be determined from the available material.