Skip to main content

max / makenotwork

Move the pom health assertion out of the default test run It asserts this crate and pom agree by reading pom deployed config off disk, so it is only well-posed where both repos exist. Anything that relocates the crate leaves the read dangling, and the panic took multithreaded whole mutation run with it. Ignored here, invoked by name from sweep pom-contract check, which materializes both repos.
Co-Authored-By
Claude Opus 5 (1M context) <noreply@anthropic.com>
Author: Max Johnson <me@maxj.phd> · 2026-08-03 18:27 UTC
Signed with PGP, not checked
Commit: 6e6485b5fe977e42f663a37637e85be1ba905f60
Parent: d4d162e
1 file changed, +12 insertions, -0 deletions
@@ -580,7 +580,19 @@
580 580 use axum::http::StatusCode;
581 581
582 582 /// Schema-drift guard for the `mt` target. See `shared/pom-contract/`.
583 + ///
584 + /// Ignored by default because it is not a unit test: it asserts that this
585 + /// crate and a *different repo* agree, by reading pom's deployed config off
586 + /// disk. `cargo test` is scoped to one crate, so the claim is only
587 + /// well-posed where both repos exist together. Anything that relocates this
588 + /// crate — cargo-mutants copies it to /tmp — leaves the read pointing at
589 + /// nothing, and the panic took multithreaded's entire mutation run with it.
590 + ///
591 + /// It still runs, every night: sweep materializes the whole ~/Code tree and
592 + /// has a `pom-contract` check that invokes it by name with `--ignored`.
593 + /// Ignored here means "run somewhere that can answer it", not "skipped".
583 594 #[test]
595 + #[ignore = "cross-repo: run by sweep's pom-contract check, which materializes pom"]
584 596 fn pom_hetzner_health_expectations_resolve() {
585 597 let body = health_body(true);
586 598 pom_contract::assert_health_expectations_resolve(