← Back to Pull requests

Honor --allow-http-registry and COSIGN_REPOSITORY across OCI operations #5202

Merged
Hayden-IO merged 12 files (323 lines) on Nov 04, 2026 00:53 UTC
View on GitHub
Hayden-IO Hayden-IO commented on Nov 03, 2026 21:58 UTC
Author

Pass RegistryOptions.NameOptions() to GetEnvTargetRepository and ociremote.WithNameOptions so that --allow-http-registry is preserved when parsing COSIGN_REPOSITORY and resolving references. Also ensure bundle verification/download, experimental OCI 1.1 signature read/write, and clean commands consistently respect TargetRepository and NameOptions.

AI found and generated while updating scaffolding e2e tests

Ref https://github.com/sigstore/cosign/pull/5034

Fixes https://github.com/sigstore/cosign/issues/5033

Diff: 323 lines (+294 / -29) across 12 files Reviewer: cmurphy Review duration: 174m
All Vouch review confidence checks passed
Residual risk 0.17 = Change Risk (0.54) × (1 − Review Confidence (0.69)). Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.54 · 323 lines diff across 12 files
0.54
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.54 · 1 substantive comment(s)
0.54
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
68%
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.346
Real PR Conversation Timeline
4 items
cmurphy cmurphy commented on Nov 03, 2026 23:12 UTC
Reviewer

The only new test here is for GetEnvTargetRepository, I wonder if it's worthwhile to add a test or two for the sign or verify paths?

Hayden-IO Hayden-IO commented on Nov 03, 2026 23:52 UTC
Author

Added a number of sign and verify tests that use COSIGN_REPOSITORY with an HTTP registry!

cmurphy cmurphy approved these changes on Nov 04, 2026 00:11 UTC
Approved Reviewer

Approved these changes.

Reviewers
Assignees
Hayden-IO Hayden-IO
Labels
risk: low confidence: 69.0% 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: 53.7% (MEDIUM) · Higher = larger blast radius
53.7%
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: 69.0% · Lower = rushed or shallow review
69.0%
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: 16.7% · Safe to merge
16.7%