← Back to Pull requests

AGENT-1640: re-enable htpasswd auth on IRI registry #6668

Closed
unknown closed this pull request without merging on Nov 08, 2026 00:18 UTC
View on GitHub
unknown unknown commented on Oct 20, 2026 16:36 UTC
Author

This reverts PR #6109 ("AGENT-1526: disable htpasswd auth on IRI registry, keep read-only"), which was a temporary measure until AGENT-1393 was completed.

Restores REGISTRY_AUTH_HTPASSWD_REALM / REGISTRY_AUTH_HTPASSWD_PATH on the iri-registry.service unit (the /etc/iri-registry/auth volume mount and the htpasswd ignition file were never removed), and restores the e2e coverage for authenticated vs. unauthenticated access.

REGISTRY_STORAGE_MAINTENANCE_READONLY and the TLS profile settings added after #6109 are left untouched.

<!--
If this is a bug fix, make sure your description includes "Fixes: #xxxx", or
"Closes: #xxxx"

Please provide the following information:
-->

- What I did

- How to verify it

- Description for the changelog
<!--
Write a short (one line) summary that describes the changes in this
pull request for inclusion in the changelog:
-->

<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
<!-- coderabbit-ai-generated:v1 -->

Summary by CodeRabbit

New Features
The internal release image registry now requires username and password authentication. Requests with valid credentials succeed; requests without credentials receive a 401 Unauthorized response.
Tests
Added coverage for authenticated and unauthenticated registry access, including TLS-profile checks.
* Improved test command handling for credentials and execution timeouts.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

Diff: 199 lines (+149 / -50) across 2 files Reviewer: sadasu Review duration: 26382m
All Vouch review confidence checks passed
Residual risk 0.23 = Change Risk (0.59) × (1 − Review Confidence (0.60)). Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.59 · 199 lines diff across 2 files
0.59
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
0.17
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
60%
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.317
Shallow Review Depth shallow_review_depth
0.289
Sensitive Paths sensitive_paths
0.059
Real PR Conversation Timeline
1 comments
"Review active on #6668"
general weight: 0.35
Reviewers
Assignees
Unassigned
Labels
risk: low confidence: 60.5% reviewed sensitive_module
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: 59.3% (MEDIUM) · Higher = larger blast radius
59.3%
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: 60.5% · Lower = rushed or shallow review
60.5%
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: 23.4% · Safe to merge
23.4%