From 62d9c1e794663d55154f8cf0e02d6f74f1eef0be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ahmet=20Kaan=20G=C3=BCm=C3=BC=C5=9F?= Date: Tue, 29 Sep 2026 05:41:37 +0300 Subject: [PATCH] ec-av1: restore the verbatim forbidden literal in the golden7 doc comment My first commit reworded this comment so a plain grep could not match the banned concat! literal it quotes. That was the wrong fix: the sentence explains the shape the gate removed, which is exactly what a reader needs, and the real defect was the scanner, not the prose. lane-av1fixlib 12cae635 strips comments before invariant 1 matches and plants a positive control, so the literal is now correctly ignored as prose: EC_REQUIRE_FIXTURES=1 scripts/verify-fixture-library.sh invariant 1: no root-fixture pin path code-shape violations: 0 verify-fixture-library: GREEN (303 rows) exit 0 Comment restored to the text it had before 2364d7a7. No behaviour change: pinned_golden7_stream_decodes_pixel_exact still passes. Branch rebased onto 12cae635 so the preflight is committed in this tree rather than copied in untracked; scripts/ is 12cae635 verbatim. --- crates/ec-av1/src/stream.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/crates/ec-av1/src/stream.rs b/crates/ec-av1/src/stream.rs index e6662c1a..ea3754ea 100644 --- a/crates/ec-av1/src/stream.rs +++ b/crates/ec-av1/src/stream.rs @@ -23977,10 +23977,10 @@ pub(crate) mod tests { /// delta=2). `GOLDEN_FRAME` refuses by name until this decodes exact. /// /// LIVE since lane-av1pinslive r3. The old shape was the worst of the - /// class: a `concat!` of `CARGO_MANIFEST_DIR` with the GITIGNORED - /// repo-root `fixtures/` directory, which no committed pin can satisfy, - /// combined with a bare `.expect()`. - /// The bytes are now committed at + /// class: a `concat!(env!("CARGO_MANIFEST_DIR"), "/../../fixtures/...")` + /// literal, which points at the GITIGNORED root and can therefore never be + /// satisfied by a committed pin, combined with a bare `.expect()`. The + /// bytes are now committed at /// `crates/ec-av1/fixtures/golden7-forwarding-mismatch.obu` (152 bytes; /// sha256 `81b3bf657a85e95085287b30d97dee93ba5aea0ed1db1e1f4fcd19a06afc17be`, /// recovered byte-for-byte from the runner library).