Keep registry test artifacts local and hash-pinned #1886
<!-- __CODSPEED_PERFORMANCE_REPORT_COMMENT__ -->
Merging this PR will not alter performance
✅ 41 untouched benchmarks
---
<sub>Comparing <code>zb/packse-review-pinned-artifacts</code> (10fd998) with <code>zb/packse-review-test-network-policy</code> (ca9dcc3)</sub>
<a href="https://app.codspeed.io/astral-sh/uv-dev/branches/zb%2Fpackse-review-pinned-artifacts?utm_source=github&utm_medium=comment-v2&utm_content=button">
<picture>
<source media="(prefers-color-scheme: dark)" srcset="https://codspeed.io/pr-report/open-in-codspeed-dark.svg">
<source media="(prefers-color-scheme: light)" srcset="https://codspeed.io/pr-report/open-in-codspeed-light.svg">
<img alt="Open in CodSpeed" src="https://codspeed.io/pr-report/open-in-codspeed-light.svg" width="169" height="32">
</picture>
</a>
Do these assets go away later in the stack?
The real distributions remain where the test exercises a build backend, an archive format, or exact file contents; ordinary resolver graphs use generated Packse packages. This PR currently also includes fixtures introduced for later archive and authentication cases. I am separating those from the existing-cache pinning change and adding links to the tests that require each group.
The pinning review now continues in #1937. The additional real archive fixtures are isolated in #1938, and the authentication-proxy files are in #1943; each description links to its motivating cases.
woodruffw
zaniebot
Tests of build backends, wheel contents, and malformed archives need the original distributions rather than synthesized substitutes. Keep those registry artifacts in the repository, verify their pinned hashes when loading them, and retain the shared cache only for the GitHub-hosted archive fixtures. This removes the registry download dependency from local test servers without changing the bytes under test.