← Back to Pull requests

Keep registry test artifacts local and hash-pinned #1886

Merged
zaniebot merged 1 files (51 lines) on Sep 17, 2026 21:37 UTC
View on GitHub
zaniebot zaniebot commented on Sep 17, 2026 18:44 UTC
Author

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.

Diff: 51 lines (+38 / -13) across 1 files Reviewer: woodruffw Review duration: 173m
All Vouch review confidence checks passed
Residual risk 0.02 = Change Risk (0.27) × (1 − Review Confidence (0.91)). Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.27 · 51 lines diff across 1 files
0.27
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.90 · 4 substantive comment(s)
0.90
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 50%
91%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size diff_size
0.236
Real PR Conversation Timeline
5 items
codspeed[bot] codspeed[bot] commented on Sep 17, 2026 19:23 UTC
Bot

<!-- __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>

woodruffw woodruffw commented on code on Sep 17, 2026 21:19 UTC
Code Review
test/vendor/README.md:1

Do these assets go away later in the stack?

zaniebot zaniebot commented on code on Sep 17, 2026 21:22 UTC
Code Review
test/vendor/README.md:1

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.

zaniebot zaniebot commented on code on Sep 17, 2026 21:41 UTC
Code Review
test/vendor/README.md:1

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.

Reviewers
Assignees
zaniebot zaniebot
Labels
risk: low confidence: 91% reviewed
Vouch Risk Breakdown
AI-powered review risk analysis
Change Risk
Change Risk · Model 1 (XGBoost)
Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
Score: 26.6% (LOW) · Higher = larger blast radius
26.6%
Review Confidence
Review Confidence · Models 2 & 3
Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
Score: 91% · Lower = rushed or shallow review
91%
Residual Risk
Residual Risk · Core Equation
Residual = Change × (1 − Confidence)
Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
Score: 2.4% · Safe to merge
2.4%