Repository navigation
Publish per-case large-file fixtures as prerelease assets - #233
Conversation
|
Payload inventory for Decoder results below are from macOS ASan verification of the #197 TIFF path and existing PNG/BMP loaders. The same four acceptance failures were reproduced against the unmodified #197 head, All 15 packaging, sparse extraction and per-case cleanup tests pass on Linux, macOS and Windows (workflow run). The runner downloads/extracts one payload, tests it, and removes it before the next case, including after failures/timeouts. Sizes below are logical file lengths; sparse extraction uses far less physical disk space.
|
Large-file regression inputs should live in versioned release assets, with each test downloading and removing only its own payload. This PR adds a deterministic generator for 91 synthetic TIFF/BigTIFF, PNG and BMP cases, including offsets above 2 GiB/4 GiB, malformed input, high-offset Exif/thumbnails, and multilingual nested paths.
After this PR merges to
master, the workflow validates packaging on Linux, macOS and Windows, then publishestest-fixtures-io64-v1as a prerelease that is never marked latest. Each fixture is a separate sparse.tar.gzasset; the 91 payloads total about 26 KB despite representing roughly 30 GiB of logical file data. The manifest records individual hashes and expected results. Existing published versions are checked and never overwritten.The runner downloads, verifies, extracts and tests one case at a time, then removes its download and image before the next case, including after failure or timeout. It explicitly marks sparse files on Windows. No image binaries are committed. This is a standalone prerequisite for the loader work on #197/#205; it does not change the loading APIs.
Four malformed strip/offset cases currently return a bitmap on the unmodified #197 head. Their intended result remains rejection, and the manifest records those known baseline behaviors rather than treating them as passing rejection tests.
Validation:
bash -n.masterafter merge or manual dispatch.