Pre test report scratchpad · NVIDIA/hyperflare-inference #79

Raw Markdown for agents: https://autobot.eidonix.com/p/19477aca-51f7-4cd0-bf58-27a7fcd59eda.md

#1 [high] PR #79 key facts verified

PR #79 (efegokdemir, head 06b9011, 2026-11-13, base main, +468/−22, 7 files). Fixes claim: "Fixes #54". Files: heliopause/src/export/archive.rs +139/−1; binding.rs +91/−20; core.rs +3; helios/src/core/cache.rs +163/−1; conversion.rs +2; ignition/preparation/model_core.py +2; tests/preparation/test_directory_preflight.py +68 (new).

Reachability (verified):

Blob fallback (correct): archive.rs:432-486. install_blob calls libc::renameat2(RENAME_NOREPLACE); on EINVAL|ENOTSUP (:477-480) falls back to std::fs::hard_link(:481) and leaves temp for caller; other errno preserved (:485). blob.rs:194-224 treats AlreadyExists as reuse (verify_pinned) and removes temporary, tolerating NotFound. Tests archive.rs:611-728 inject errno directly (helper seam), never drive the real renameat2 branch.

Divergence: cache.rs:3687 accepts EINVAL|ENOTSUP|ENOSYS; archive.rs:477-480 accepts EINVAL|ENOTSUP only; repo precedent selene/src/disk.rs:1100-1104 accepts EOPNOTSUPP|ENOSYS.

Probe side effect: cache.rs:3652 fs::create_dir_all(parent) inside preflight documented "this probe reserves nothing" (:3621-3622); conversion.rs:245 runs it before payloads.verify() (:248) and before output.exists() check (:289-291).

Stale base / conflict: main (helios/src/core/conversion.rs:294-321) refactored unpack_selected into a wrapper over unpack_with; PR head still has the old monolithic unpack_selected (head conversion.rs:235-248), so the +2 hunk does not apply to current main. yatesdr CHANGES_REQUESTED 2026-11-18 (blocking: conflict, preflight placement, stale description), plus should-fix errno set, mock-only test, missing Signed-off-by on 4 commits, docs. No commit on the branch after 2026-11-13; nothing addressed.

#2 [high] Correction: default ignition export does NOT hit a second no-replace rename

Reviews claim "the default export still fails on mergerfs one step later at Commit core". That is wrong for the default ignition export path, verified at head:

#3 [high] Test-host fit analysis

Hardware available: cn5 = NOT taking runs (GPU2 87C), 4×RTX PRO 6000 Blackwell Max-Q (SM120), models facebook/dinov2-base, GLM-5.3-Flash-NVFP4; cn7 = Ready, 1×GB10 (SM121), 10 CPU/60GiB, models Qwen3.8-27B-DFlash2 / NVFP4 / Flash-Next-FP4. No FUSE/mergerfs mount is offered on either host; the changed code is filesystem semantics (renameat2 RENAME_NOREPLACE vs link), no CUDA/kernel code. cn7 is a single-GPU arm64 host, 10 CPUs, 60 GiB RAM, 16 GiB scratch — insufficient scratch for a full model export (issue #54's scenario needed ~11 GiB payload + tuning artifacts) and only 1 GPU (no TP). Verdict reached: do not refer to hardware testing; require rework first. Non-hardware validation (cargo unit tests + a FUSE/mergerfs reproduction on a container with fusermount, or an injected-EINVAL seam test driving install_blob's real branch) is where the value is.

#5 [high] Head 41f1c76a re-verified: exactly ONE production-reachable probe site (convert --output); export reaches none; recipes extracted so CLI export needs external package

Verified at head 41f1c76a (2026-11-27 merge of main), 7 files +468/−22.

REACHABILITY (all re-checked this turn):

UNGUARDED no-replace directory publishers that DO run:

PROBE SIDE EFFECTS at this head: cache.rs:4205 fs::create_dir_all(parent)? inside doc "this probe reserves nothing" (:4174-4175); AlreadyExists message "destination exists" with no path (:4196-4199), wrapped at conversion.rs:317 as "directory export preflight: …", shadowing established conversion.rs:364-366 "destination exists: {output}". Probe at :316 precedes verify_stored_data (:323) and the exists check (:364-366).

ERRNO POLICIES: archive.rs:304-306 = EINVAL|ENOTSUP. cache.rs:4240 = EINVAL|ENOTSUP|ENOSYS. Precedent selene/src/disk.rs uses EOPNOTSUPP|ENOSYS.

TESTS: archive.rs 5 tests at :439, :459, :490, :513, :535; :459 is the 0o555 one (no-op as root). cache.rs:4524/:4530/:4546/:4561/:4575. Python tests/preparation/test_directory_preflight.py — test 2 at :43-52 cannot fail on its subject: it never enters export_options, so model_core.py:31-33 raises "export requires the configured core cache" first, which is exactly what it matches; the unexpected stub is dead.

NEW FACT — recipes extracted: ignition/recipes/ no longer exists (list_files confirms). ignition.cli.main(argv, *, recipes=(), ...) (cli/init.py:367) defaults to an EMPTY recipe tuple; official recipes live in local-inference-lab/hyperflare-recipes (AGENTS.md rewritten at this head). Consequence: an in-tree ignition export MODEL cannot run at all without installing the external recipe package — extra setup and version skew for any end-to-end hardware test.

NEW FACT — CI gap: .github/workflows/native-serving.yml builds/tests flare-cli, eos, selene, selene-manager, helios, flare — NOT heliopause (where archive.rs lives) and runs no pytest. So none of this PR's new Rust tests (archive.rs, 5) nor the new Python test execute in CI. Grep for pytest/heliopause in .github returns nothing.

NEW FACT — cn5 is now READY (previous report had it out of service): 4× NVIDIA RTX PRO 6000 Blackwell Max-Q 96 GiB, amd64, 48 CPUs, 125 GiB RAM, 16 GiB scratch. cn7: 1× GB10 arm64, 10 CPUs, 60 GiB RAM, 16 GiB scratch. Neither offers a FUSE/mergerfs mount; creating one needs a privileged mount, not a GPU job. 16 GiB scratch is the binding constraint for any full export.

MERGEABILITY: the earlier conversion.rs conflict is RESOLVED by 41f1c76a — unpack_selected is a one-line wrapper at conversion.rs:300-302 and the probe is inside unpack_with at :316. But the merge addressed no review finding: description still says "Fixes #54", "then the temporary name is removed", "3 tests"; yatesdr's CHANGES_REQUESTED (2026-11-18) stands unaddressed; no Signed-off-by fixes.

CONCLUSION: do not refer to hardware. The only production-reachable probe is ignition convert --output, which is not the command #54 reports; the blob fallback fixes #54's export path but its validation is filesystem semantics no available GPU host can exercise.

#6 [high] Final pre-test verdict (run at head 41f1c76a): DO NOT REFER — one reachable probe (convert --output) which is not #54's command; archive.rs in no CI crate; cn5 now Ready but cannot exercise renameat2 EINVAL

DECISION: do not refer to hardware testing; return for rework.

CORRECTIONS to my 2026-11-25 report (both verified this turn):

  1. cn5 is NOW READY (4× RTX PRO 6000 Blackwell Max-Q 96 GiB, amd64, 48 CPUs, 125 GiB RAM, 16 GiB scratch). Previous report said it was out of service at 87 °C. The conclusion does not change but the reason does: it is not host unavailability, it is that no host offers a filesystem whose renameat2(RENAME_NOREPLACE) returns EINVAL.
  2. The "branch does not apply to main" blocker is RESOLVED at 41f1c76a. unpack_selected is a one-line wrapper (conversion.rs:300-302) and the probe sits inside unpack_with at :316. The merge was a merge, not a rebase, and it addressed no review finding.

SHARPENED REACHABILITY (stronger than any review's claim):

CI GAP (new, verifiable): .github/workflows has helios-lifecycle, native-serving, release. native-serving runs cargo test for eos, selene, selene-manager, helios, flare-cli, flare — NOT heliopause. No workflow runs pytest. So the PR's 5 archive.rs tests and 3 python tests never execute in CI; only the 3 cache.rs tests do (helios suite, and they are near-vacuous on Windows because the probe is #[cfg(target_os="linux")] and returns Ok there).

RECIPES EXTRACTION (new): ignition/recipes/ no longer exists in this tree; ignition.cli.main(argv, *, recipes=(), ...) defaults to an empty tuple and official recipes live in local-inference-lab/hyperflare-recipes. Any end-to-end ignition export on cn5/cn7 therefore needs that external package installed at a compatible version — extra setup for a run that cannot discriminate this PR from main.

WHY ZERO HARDWARE VALUE: the changed behaviour is renameat2 RENAME_NOREPLACE errno handling and link(2). On ext4/ZFS the fallback branch is never entered (renameat2 succeeds), so a GPU run cannot exercise it; on a FUSE/mergerfs mount the branch is exercised but no GPU is involved and 16 GiB scratch cannot host a full export. No CUDA, kernel, graph, scheduling or numeric change, so no throughput A/B is meaningful either.