Gunnar

nordisk/korp-collectors

.nornir/testmatrix-arms.json

{
  "_comment": [
    "Rescue arms for the gated-tests guard (nornir_testmatrix::gatedtests).",
    "korp-collectors had 5 silenced targets / 23 hidden test fns — every collector",
    "family is behind its own feature, and each one's test file went with it.",
    "",
    "Verified 2026-07-21, all green with no fixes needed:",
    "  collectors_csv        --features csv         8/8",
    "  collectors_mainframe  --features mainframe   7/7",
    "  collectors_osm        --features osm         4/4",
    "  collectors_znippy     --features znippy      2/2",
    "  collectors_e2e_skade  --features skade-sink  1/1",
    "",
    "Two arms, not one: the first four are pure parse/collect features that compose",
    "cheaply, while `skade-sink` pulls the whole iceberg/skade tree for a single",
    "end-to-end landing test. Keeping that one separate is what stops the cheap arm",
    "from silently becoming the expensive one every time it runs.",
    "",
    "--- 2026-08-22, stinky korpdep-8 -------------------------------------------",
    "",
    "NOTHING READ THIS FILE — the same note edda wrote about its own arms three",
    "weeks earlier. The arms were declared and no guard in this repo ran the audit,",
    "so three MORE dark targets accumulated behind them, the `collectors_osm` arm",
    "above went on claiming 4/4 for a file that had not COMPILED since 2026-08-13",
    "(a deleted `region` module, a surviving `use` line, error[E0432]), and the",
    "biggest gap of all was never a target at all.",
    "",
    "tests/this_repo_has_no_silenced_tests.rs now runs on every plain `cargo test`.",
    "It was RED the moment it landed, verbatim:",
    "",
    "  15 test targets scanned · 13 feature-gated · 5 rescued by declared arms",
    "  · 3 SILENCED (15 hidden test fns)",
    "      tests/osm_chain_kvm.rs                       kvm-guest  8 fns",
    "      tests/register_across_processes.rs           service    5 fns",
    "      tests/systemd_unit_is_really_installed.rs    systemd    2 fns",
    "",
    "MEASURED on oden 2026-08-22 with the three new arms:",
    "  register_across_processes         --features service   5/5 pass",
    "  systemd_unit_is_really_installed  --features systemd   0 pass / 2 #[ignore]d",
    "      (both install a REAL systemd --user unit; an #[ignore] is a visible",
    "       choice that shows up in every run, an unsatisfied cfg is not — that is",
    "       the whole distinction this file exists to draw)",
    "  osm_chain_kvm                     --features kvm-guest COMPILES (8 fns; it",
    "      boots QEMU guests, so it is declared, not run on every sweep)",
    "",
    "THE BIG ONE, and why the last arm names no `test`: `osm-daemon` hides no test",
    "FILE, it hides 8 538 lines of LIBRARY. `osm_cut.rs` (the region-cut daemon),",
    "`osm_cut_verify.rs` (the post-condition suite that decides whether a fresh",
    "extract may replace the one being served) and `daemon.rs` are all",
    "`#[cfg(feature = \"osm-daemon\")]`, so their tests are `#[cfg(test)]` modules a",
    "default build never compiles. MEASURED on oden 2026-08-22:",
    "",
    "  cargo test -p korp-collectors                        lib 112 passed",
    "  cargo test -p korp-collectors --features osm-daemon  lib 241 passed, 2 ignored",
    "",
    "129 lib tests — including every guard on the ONLINE verdict — ran nowhere. The",
    "gated-tests guard cannot see that class (it scans test TARGETS, not `cfg`",
    "modules inside the lib), which is exactly why the arm is declared here as data",
    "for the matrix drivers rather than left to whoever remembers the flag."
  ],
  "arms": [
    { "package": "korp-collectors", "features": ["csv", "mainframe", "osm", "znippy"] },
    { "package": "korp-collectors", "features": ["skade-sink"] },
    { "package": "korp-collectors", "features": ["service"], "test": "register_across_processes" },
    { "package": "korp-collectors", "features": ["systemd"], "test": "systemd_unit_is_really_installed" },
    { "package": "korp-collectors", "features": ["kvm-guest"], "test": "osm_chain_kvm" },
    { "package": "korp-collectors", "features": ["osm-daemon"] }
  ]
}