colibri/tests
Sam & Claude b325c38f31 Fix platform-matrix watchdog check: exact manifest suffix match (Sam & Claude)
read_manifest used a loose `filename.contains(manifest_type)` substring
match, so for host=osa type=watchdog-host-status it nondeterministically
grabbed either `…watchdog-host-status.json` (correct, has `.status`) or its
sibling `…watchdog-host-status-run-manifest.json` (no `.status`). When the
run-manifest won the read_dir race, source/mode read as "unknown" and the
FreeBSD watchdog-socket-read row failed (11/12).

Match the exact `<host>-<manifest_type>.json` suffix and pick the lexically
greatest (most-recent dated) filename, so selection is deterministic and the
run-manifest sibling is excluded. The underlying watchdog data was always
correct; this was a false failure from loose fixture matching.

cargo test --workspace: all green. cargo clippy --all-targets -D warnings: clean.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-27 12:44:52 +02:00
..
platform-matrix.rs Fix platform-matrix watchdog check: exact manifest suffix match (Sam & Claude) 2026-05-27 12:44:52 +02:00