What problem does it solve?
The test_documents submodule stores 654 binary fixtures (~581 MiB) that are not committed to git, so fresh clones, worktrees, and CI jobs fail with missing-file errors unless the corpus is fetched from a public GCS bucket and handled correctly.
Core Features & Use Cases
- Corpus Fetching: Materialize fixtures anonymously over HTTPS with fetch_corpus.py, optionally narrowing with include patterns like 'pdf/**'.
- Fixture-Safe Testing: Use the read_test_fixture helper so missing fixtures skip with a greppable SKIP line instead of failing builds, and never include_bytes! corpus files.
- A/B Control Setup: Avoid vacuous worktree controls by symlinking test_documents and isolating CARGO_TARGET_DIR so fixture-guarded tests actually run.
- Use Case: After a fresh clone, run the fetch script before cargo test so fixture-backed tests execute instead of erroring, and publish corpus changes with the submodule commit pushed before the superproject gitlink.
Quick Start
Fetch the test fixture corpus and explain why my Rust tests are failing with missing-file errors on a fresh clone.