.nornir/testmatrix-arms.json
{
"_comment": [
"Rescue arms for the silenced-test guard (nornir_testmatrix::gatedtests).",
"",
"WHAT THE GUARD CATCHES. A tests/*.rs file whose crate-level inner attribute",
" #![cfg(all(feature = \"viz\", feature = \"server\", feature = \"testmatrix\"))]",
"is unsatisfied under a plain `cargo test` compiles to an EMPTY binary and",
"prints `running 0 tests ... ok` — green-by-vacuum. The guard resolves each",
"crate's `default` feature closure statically and RED-flags any gated file that",
"is neither default-reachable nor re-invoked by a declared arm here.",
"",
"nornir's DEFAULT set (Cargo.toml) already carries server, viz, mcp, net-scan,",
"docs-export, robot, vector, embed-tract, embed-ort, gen-candle, gen-ollama,",
"manual-embed, claude, embed-holger — so the ~60 test files gating ONLY on",
"those (every `#![cfg(feature = \"viz\")]`, the mcp/net-scan/gen-candle files,",
"etc.) are NOT silenced and need no arm. The genuinely-dark files are the ones",
"whose gate names a NON-default feature: scip, testmatrix, saga, ra-ingest, or",
"embed-ort-rocm.",
"",
"THE AUDIT (2026-07-22, on `oden`). Ten tests/*.rs files were dark on a stock",
"build. (NB: tests/ra_ingest_coverage_wiring.rs is NOT one of them — it is an",
"UNGATED default-build tripwire that merely QUOTES `#![cfg(feature =",
"\"ra-ingest\")]` in a string/doc-comment; it compiles and runs on `cargo test`.)",
"",
"COMBINED ARM — files un-darkened by scip + testmatrix + saga + ra-ingest, with",
"the default features (viz, server, ...) STAYING ON. Verified by running",
" cargo test -p nornir --features \"scip testmatrix saga ra-ingest\" --test <each>",
"Per-file PASS counts (all green):",
" cli_scip_find_usages (scip) ................. 1 passed",
" server_scip_ingest (viz+server+scip) ...... 2 passed",
" ra_ingest_smoke (ra-ingest) ............ 1 passed",
" self_emitters_server (server+testmatrix) .... 1 passed [rescued rot, below]",
" self_emitters_viz (viz+testmatrix) ....... 5 passed",
" viz_functional_matrix (viz+server+testmatrix) 1 passed, 3 ignored [infra e2e]",
" viz_utfallsrum_slice (viz+server+testmatrix) 1 passed [rescued rot, below]",
" saga_e2e (viz+saga) ............. 1 passed",
"Total: 12 test fns run green (+3 #[ignore]d server e2e in viz_functional_matrix).",
"",
"ROT UN-SILENCING EXPOSED — three dark files had bit-rotted while nobody",
"compiled them. The guard is doing exactly its job here.",
"",
" (1) self_emitters_server.rs — FIXED + verified. Six `std::env::{set,remove}_var`",
" calls needed `unsafe` blocks (Rust edition 2024 made them unsafe), and its",
" `nornir::security::SecurityReport { .. }` literal was missing the newer",
" `advisory_db_rev` field. Mechanical fixes over LIVE code; now 1 passed.",
"",
" (2) viz_utfallsrum_slice.rs — FIXED + verified. Its `spawn_server()` seeded the",
" spawned nornir-server via the `NORNIR_MONITOR`/`NORNIR_POLL` env, which",
" commits 0c240f9/9ea97c4 REMOVED — the server now ignores it and boots an",
" empty registry, so the 45s serve-poll timed out every run (on any box, not",
" an oden-infra limit). Ported `spawn_server()` to the real `Workspaces.Register`",
" RPC (mirrors the passing tests/server_ops_jobs.rs and tests/server_scip_ingest.rs).",
" The test spins its OWN in-process server (env!(CARGO_BIN_EXE_nornir-server)",
" on 127.0.0.1:<free port>) — no external :7878, no network. Now 1 passed,",
" driving real per-workspace warehouse data over the wire (fat=local, thin=gRPC).",
" NB: viz_functional_matrix.rs's THREE #[ignore]d server tests carry the same",
" dead-NORNIR_MONITOR seeding; they are skipped by default so they do not fail,",
" but would need the same RPC port if ever un-ignored.",
"",
" (3) ragnars_emb_matrix.rs — DELETED (not rescued). It drove an int8 IVF engine",
" `znippy_zoomies::vann::ragnars_emb` (RagnarsEmbIndex / RagnarsParams /",
" synth_corpus / bench) that znippy-zoomies DELETED in commit a9c9279 (\"remove",
" the Ragnar-style int8 IVF (ragnars_emb) — exact flat + int8-rerank only\",",
" 2026-07-02). nornir's own .nornir/vector-cpu-simd.md records the removal.",
" The module no longer exists, so the test could not compile against the",
" current dependency and cannot be rescued — it tests a subsystem that is gone.",
" Removed rather than declared (a false rescue of an uncompilable file would be",
" exactly the green-by-vacuum this guard forbids).",
"",
"ROCm ARM — embed_rocm_buckets.rs (embed-ort-rocm). VERIFIED at COMPILE level on",
"oden (AMD Radeon 890M, RDNA3 iGPU; NO ROCm SDK / MIGraphX runtime installed).",
"`embed-ort-rocm` = embed-ort + ort/migraphx + ort/rocm; the ort/ort-sys crates",
"BUILD the ROCm+MIGraphX execution providers without the SDK (the EP is selected",
"at RUNTIME). `cargo test -p nornir --features embed-ort-rocm --test",
"embed_rocm_buckets --no-run` is GREEN (the test executable builds).",
"The RUN is INFRA-GATED and was NOT green on oden: it blocks inside",
"OrtEmbedder::load() (no onnxruntime/ROCm runtime present for ort to initialise),",
"so the test never reaches its own no-adapter self-skip. A real MIGraphX bucketed",
"parity run needs a ROCm-provisioned onnxruntime (ORT_DYLIB_PATH + LD_LIBRARY_PATH)",
"on a ROCm host — run it there for the real parity check. HONEST NOTE: this arm is",
"compile-verified only; do NOT read it as a passing GPU run on oden.",
"",
"One arm per gate-family, not a single --all-features sweep: scip/testmatrix/saga/",
"ra-ingest co-build cleanly on top of the default (viz+server) tree in one arm;",
"embed-ort-rocm pulls a different (ort ROCm EP) tree and is its own arm."
],
"arms": [
{ "package": "nornir", "features": ["scip", "testmatrix", "saga", "ra-ingest"] },
{ "package": "nornir", "features": ["embed-ort-rocm"], "test": "embed_rocm_buckets", "note": "COMPILE-verified on oden (--no-run green); RUN is ROCm-infra-gated (blocks in OrtEmbedder::load with no onnxruntime/ROCm runtime) — run on a ROCm host with ORT_DYLIB_PATH for the real MIGraphX parity check" }
]
}