forge
Explore
Log in

Don't you dare go Hollow

Commits

Commits on 06be4662aa7e00a09b7b23aea8097a37e5aae6fdFiltered to scripts/link-fixtures.shClear filter

2026-09-29

scripts: link-fixtures.sh — give a worktree the gitignored root fixtures/Ahmet Kaan Gümüş · 7e79eb2
scripts: link-fixtures.sh — give a worktree the gitignored root fixtures/

The root `fixtures/` directory is listed in `.gitignore` (line 2) and is
not committed, so `git worktree add` hands every lane worktree a tree
WITHOUT it. Every fixture-backed gate then reports green having checked
nothing: the ec-h264 JVT conformance gates, the ec-flac xiph corpus, the
ec-opus RFC 6716 vectors and the ec-av1 pins all take a missing-fixture
skip. That is how a_real_aomenc_lossless_444_key_frame finished in 0.05s
with nothing decoded, and it is why a worktree run of the conformance
gates measures nothing at all.

link-fixtures.sh resolves the primary checkout through
`git rev-parse --git-common-dir` (which works from any linked worktree),
symlinks its `fixtures/` into the current tree -- a symlink, never a copy --
no-ops with a clear message when the directory is already there, and
REFUSES loudly (exit 2) when the primary checkout has no `fixtures/` at
all, naming the generator scripts instead of leaving a silent hole.
`--check` reports what it would do and exits non-zero, for a batch
preflight.

Documented in lanes/COMMON-20260901.md beside the batch env line, with
EC_REQUIRE_FIXTURES=1 as the shared env that turns an absent fixture into
a failure in every crate.