Tests: every public fixture compiles on every profile without a translator bug, at every landing

The merge check passes over golden_hashes_match_the_table and the public fixtures' inventory
tests, which are often due for a bless, so the one sweep that compiles every public fixture's
subjects on every committed profile under the runtime's policy, and refuses a translator bug (an
internal error, such as a strategy's read of an unplaced push field), ran at no landing. This
test builds the same table with the golden check's own builder and compares no hash: it fails
only on a translator bug, and its name is outside the bless-due filter.
This commit is contained in:
Anees Iqbal committed 2026-12-03 05:55:31 -08:00
1 parent 011540217d
commit 0f4114c882
1 file changed
+17
@@ -956,6 +956,23 @@ fn golden_hashes_match_the_table() {
matches_the_table(DEFAULT, &devices, &observed);
}
/// Every public fixture's subjects on every committed profile under the default policy, the
/// runtime's, built as [`golden_hashes_match_the_table`] builds its table, with no hash compared:
/// it fails only where a compile ends in a translator bug (an internal error, such as a strategy's
/// read of a push field the plan did not place), which building a cell refuses. The golden check
/// is often due for a bless; this one is not, so it runs where that one is passed over.
#[test]
fn every_public_fixture_compiles_on_every_profile_without_a_translator_bug() {
let devices = devices();
let observed = observe(DEFAULT, &devices);
eprintln!(
"{} rows x {} profiles compiled with no translator bug ({} fixture(s) skipped)",
observed.table.rows.len(),
devices.len(),
observed.skipped.len()
);
}
/// `golden`'s committed table holds `observed` cell for cell.
fn matches_the_table(golden: Golden, devices: &[(String, Device)], observed: &Observed) {
let table = golden.table;