forge
Explore
Log in

Don't you dare go Hollow

Un-ignore the two pins that are now committed -- the ignore reason is stale

Browse files at this commit

04ca45005602ffb499da28a1c9e895898b9e52f4Ahmet Kaan GümüşParent: f3a70c9
  • test
    • un-ignore the two pins that are now committed -- the ignore reason is stale
Show full message
test(av1): un-ignore the two pins that are now committed -- the ignore reason is stale

`pinned_golden3_stream_decodes_pixel_exact` and `pinned_sbpart_stream_decodes_pixel_exact`
were `#[ignore]`d, so on a plain suite run they contributed nothing -- the same
hole in a different costume from the rc=0-skip one lane-av1pins just closed.

The ignore is stale, and it has been stale twice over. It was introduced at
c9fede5d (2026-08-28, lane-av1golden3) with the reason
`reads a pinned fixture path outside the repo; run manually`, and the doc comment
gave the real cause: "the file only exists on this machine's scratchpad". That was
true then. It stopped being true at 78c805bd, which committed both pins under
`crates/ec-av1/fixtures/` -- a path that travels in the runner tarball, so the
bytes are on every runner. lane-av1pins then replaced the reason with
"bisect aid, not a suite gate", which is ALSO wrong: with the bytes committed
these are ordinary decode-exactness gates, not bisect aids.

No condition that makes this crate ignore a gate applies. Measured on a5867794:
  * no process-global: neither body calls `force_sb128` or `knob_write`;
  * no counter, no `lock_gate_counters()`;
  * no aomenc: they decode committed bytes and compare to ffmpeg, so they are
    also not real-aomenc gates and stay out of the `gate_coverage` census;
  * cost 0.10-0.15 s each (measured), not a minutes-per-item recipe;
  * ffmpeg presence is already guarded by `have_ffmpeg()`, so
    `EC_AV1_REQUIRE_FFMPEG=1` makes a missing ffmpeg a hard failure rather than
    a silent skip.
Precedent: gate_coverage.rs records the 10-bit LR gate "was `#[ignore]`d on
that branch and passes un-ignored on main, which carries the fix".

Plain-run evidence (no `--ignored`), `--release --test-threads=1`:
  pinned_golden3 ... 1 passed; 0.15s; prints "4 frame(s) byte-exact vs ffmpeg
                      from .../crates/ec-av1/fixtures/golden3-pin.obu"
  pinned_sbpart  ... 1 passed; 0.10s; EC_SBPART_DIAG=1 walks all 24576 luma
                      samples ("DIAG frame 0: 0 luma mismatches ... of 192x128")
Both also execute under a plain substring filter (`-- pinned_`) with no
`--exact` and no `--ignored`, and neither appears in `-- --ignored` any more.
`#[ignore]` count in stream.rs 41 -> 39.

`a_real_aomenc_lossless_444_key_frame_decodes_sample_exact` needed no change: it
carries no `#[ignore]` and passes plainly (1 passed, 0.21s).

Meta-gates re-checked after the change, since un-ignoring changes the census
input: `gate_coverage` 10 passed, `refusal_inventory` 15 passed, both green on
6 consecutive runs.

Tests only, no decoder change. Follow-on NOT done here and reported instead:
three sibling pin gates carry the same stale reason and read pins that are still
untracked -- `pinned_golden4_stream_decodes_pixel_exact` (golden4-pin.obu),
`pinned_golden7_stream_decodes_pixel_exact` (golden7-forwarding-mismatch.obu) and
`pinned_lr_sgr_stream_call_unique_dump` (lr-sgr-r7.obu, which `.expect()`s the
read rather than skipping, so it would PANIC in a clean checkout if ever
un-ignored as-is).
crates/ec-av1/src/stream.rsmodified+13 -9
@@ -23663,11 +23663,14 @@ pub(crate) mod tests {
23663 /// `EC_AV1_GATE_DUMP=$SP/golden3-pin.obu` off23663 /// `EC_AV1_GATE_DUMP=$SP/golden3-pin.obu` off
23664 /// [`a_real_aomenc_inter_sequence_with_cdf_forwarding_decodes_pixel_exact`]23664 /// [`a_real_aomenc_inter_sequence_with_cdf_forwarding_decodes_pixel_exact`]
23665 /// (seed 47, frame 1 U). Deterministic and static -- no aomenc/ffmpeg23665 /// (seed 47, frame 1 U). Deterministic and static -- no aomenc/ffmpeg
23666- /// re-encode involved, only re-decodes fixed bytes on disk. Still23666+ /// re-encode involved, only re-decodes fixed bytes on disk. What changed
23667- /// `#[ignore]`d: it is a BISECT aid, not a suite gate. What changed under23667+ /// under lane-av1pinslive is that the gate is LIVE: the bytes are committed
23668- /// lane-av1pins is WHERE the bytes live -- they are now committed at23668+ /// at `crates/ec-av1/fixtures/golden3-pin.obu` instead of a scratchpad that
23669- /// `crates/ec-av1/fixtures/golden3-pin.obu` instead of a scratchpad that23669+ /// tmpfs reaps, so it runs in the ordinary suite on any runner that has
23670- /// tmpfs reaps, so the gate does real work on any runner.23670+ /// ffmpeg (guarded by `have_ffmpeg()`, so `EC_AV1_REQUIRE_FFMPEG=1` turns
23671+ /// its absence into a hard failure rather than a silent skip). It costs
23672+ /// ~0.15 s, touches no process-global, and reads no counter -- none of the
23673+ /// conditions that make this crate ignore its other manual gates.
23671 ///23674 ///
23672 /// The original capture (2026-08-28, `bec27414`) is NOT reproducible: it23675 /// The original capture (2026-08-28, `bec27414`) is NOT reproducible: it
23673 /// predates `5ae053d3` "route all 20 gradients gate fixtures through23676 /// predates `5ae053d3` "route all 20 gradients gate fixtures through
@@ -23681,7 +23684,6 @@ pub(crate) mod tests {
23681 /// `a_real_aomenc_inter_sequence_with_cdf_forwarding_decodes_pixel_exact`23684 /// `a_real_aomenc_inter_sequence_with_cdf_forwarding_decodes_pixel_exact`
23682 /// prints for that seed -- which is what proves the recipe is that gate's.23685 /// prints for that seed -- which is what proves the recipe is that gate's.
23683 #[test]23686 #[test]
23684- #[ignore = "bisect aid, not a suite gate; run it with --ignored"]
23685 fn pinned_golden3_stream_decodes_pixel_exact() {23687 fn pinned_golden3_stream_decodes_pixel_exact() {
23686 let path = std::env::var("EC_AV1_GATE_DUMP_PIN")23688 let path = std::env::var("EC_AV1_GATE_DUMP_PIN")
23687 .map(std::path::PathBuf::from)23689 .map(std::path::PathBuf::from)
@@ -39426,7 +39428,8 @@ pub(crate) mod tests {
39426 /// decodes_pixel_exact` -- fast red/green loop for the bisect, and lets39428 /// decodes_pixel_exact` -- fast red/green loop for the bisect, and lets
39427 /// `EC_AV1_TRACE=1` be set for one run without re-driving the encoder.39429 /// `EC_AV1_TRACE=1` be set for one run without re-driving the encoder.
39428 ///39430 ///
39429- /// lane-av1pins: the bytes are now committed at39431+ /// LIVE since lane-av1pinslive (it was `#[ignore]`d from lane-sbpart r4
39432+ /// only because the bytes lived in a scratchpad). Bytes committed at
39430 /// `crates/ec-av1/fixtures/sbpart-pin.obu` (238 bytes; sha25639433 /// `crates/ec-av1/fixtures/sbpart-pin.obu` (238 bytes; sha256
39431 /// `62238fc077f45d89745d4d254b9c0465464003529da3b42d0a65631fbb7e16e9`),39434 /// `62238fc077f45d89745d4d254b9c0465464003529da3b42d0a65631fbb7e16e9`),
39432 /// re-encoded 2026-09-29 from the source gate's own recipe39435 /// re-encoded 2026-09-29 from the source gate's own recipe
@@ -39437,7 +39440,6 @@ pub(crate) mod tests {
39437 /// 192x128 cell, so this pin is a 192x128 re-run of its recipe, not a39440 /// 192x128 cell, so this pin is a 192x128 re-run of its recipe, not a
39438 /// replay of the original mismatch bytes.39441 /// replay of the original mismatch bytes.
39439 #[test]39442 #[test]
39440- #[ignore = "bisect aid, not a suite gate; run it with --ignored"]
39441 fn pinned_sbpart_stream_decodes_pixel_exact() {39443 fn pinned_sbpart_stream_decodes_pixel_exact() {
39442 let path = std::env::var("EC_AV1_GATE_DUMP_PIN")39444 let path = std::env::var("EC_AV1_GATE_DUMP_PIN")
39443 .map(std::path::PathBuf::from)39445 .map(std::path::PathBuf::from)
@@ -45960,7 +45962,9 @@ pub(crate) mod tests {
45960 let mut parser = Av1Parser::new();45962 let mut parser = Av1Parser::new();
45961 let mut pos = 0usize;45963 let mut pos = 0usize;
45962 while pos < stream.len() {45964 while pos < stream.len() {
45963- let obu = parser.parse_obu(&stream[pos..]).expect("parsing our own OBUs");45965+ let obu = parser
45966+ .parse_obu(&stream[pos..])
45967+ .expect("parsing our own OBUs");
45964 pos += obu.total_size;45968 pos += obu.total_size;
45965 }45969 }
45966 parser45970 parser