AIENOS-VERIFY-ALL passes again: optimized model tests, own target dir, 60m timeout
merged29189d306dd81c2d #436 · opened 2026-10-19 13:12 UTC · closed 2026-10-19 13:21 UTC · merged 2026-10-19 13:21 UTC
Imported from GitHub aien-dev/aienux#436, by drakestapleton
Labels: ready-to-merge
Base 472ed37c3011877844e09c52243dbde28030e70f · Head 5375ac1ce0a11603fbf06fe0938b2cf3b5b27bbe
Merged on GitHub as 5d039d8b94b59fa248f9ca7c673bf2f28bc14ff9; reachable from main d01b2f19cccf3e173a6bdb3541813d467f537a76 (observed 2026-11-18T16:35:38Z)
drakestapleton wrote on 2026-10-19 13:12 UTC
Makes the AIENOS-VERIFY-ALL gate pass on the Spark judge. It has failed on every aienos head that selected it since 2026-10-16, so main would fail it too; it blocks the crumb migration #434. Three causes, one fix each:
Timeout: unoptimized model tests.scripts/verify_all.sh runs cargo test --workspace without optimization. The Llama-3.2-1B model file is on the Spark, so the aienos-infer forward tests run a real forward pass in a debug build. In the judge run of #434 (b312281f, receipt ff3245d4) the gate was killed at its timeout still inside forward_matches_llama_cpp_f32_activations. Fix: root Cargo.toml[profile.dev.package.aienos-infer] opt-level = 3. Only this crate is optimized; debug assertions and overflow checks stay on; no test is skipped. cargo test -p aienos-infer --test forward: 4 passed, 1 ignored, 165 s.
Wrong target directory. The harness and its QEMU scripts read build output from target/ in the checkout (target/aarch64-unknown-uefi/release/aienos-boot.efi), but the judge sets CARGO_TARGET_DIR to a shared directory, so the UEFI image check failed with No such file or directory (fa1adc07, 2026-10-16). The shared directory also handed test binaries built in another head's worktree: forward.rs then read fixtures through a stale CARGO_MANIFEST_DIR and 3 tests failed with NotFound (c3cc26f8, 09f8040f). Fix: verify_all.sh exports CARGO_TARGET_DIR="$REPO_ROOT/target", so every run builds in its own checkout.
Gate timeout. With its own cold target/, the whole harness took 1591 s (26.5 min) on the Spark, too close to the 30 min limit. tests/gates/aienos-verify-all.gate timeout goes to 60 min. The gate's command, inputs and expected verdict are unchanged.
Checked on the Spark (aarch64, this branch's code):bash tests/gates/run.sh verify-all with an in-checkout target ended VERIFY_ALL: PASS (every step ran; QEMU steps are emulator evidence only, hardware NOT_RUN), exit 0, 1591 s. crumb verify . OK (crumbs recompiled with the pinned tool, crumb commit last).
This changes tests/gates/, so it is a pipeline configuration change (rule A4): the desk runs the operator judge on the exact head and merges on PASS. Hardware columns stay NOT_RUN.
Apply it
git checkout -b patch-29189d306dd81c2d472ed37c3011877844e09c52243dbde28030e70f
curl -fsSL https://interplane.io/drakestapleton/aienux/patches/29189d306dd81c2d.patch | git am