← Back to Pull requests

test(boxes,minimald): the NET-068 toolchain allowlist names Docker Hub's S3 blob host #3492

Open
unknown opened this pull request with 270 lines diff across 3 files
View on GitHub
unknown unknown commented on Nov 17, 2026 14:48 UTC
Author

Fixes #3491

What

Docker Hub's blob redirect now also lands on docker-images-prod.s3.dualstack.us-east-1.amazonaws.com. The hostname-only allowlist that the NET-068 checks declare named only the two CDNs, so the DNS gate answered NXDOMAIN for the S3 host (as designed) and skopeo exited 1.

This adds the host in the three places that hold the list:

  • crates/boxes/src/lib.rs: NET068_TOOLCHAIN_EGRESS_HOSTS, the shared list.

  • crates/minimald/src/net/dns_gate.rs: the unit fixture that is held to that list, with a representative address.

  • scripts/session-e2e.sh: GOA_HOSTS, the copy the session e2e uses.
  • The note under NET-068 in spec 18 named "both CDNs"; it now names the three hosts. No requirement text changes.

    Why now

  • The nightly of 2026-11-17 failed in release / smoke-linux-kvm on this (run 44062127368), so unstable did not move.

  • The same failure ejected #3375 from the merge queue (run 44050389590).
  • Not done, and risks

  • Not run locally. No cargo run and no e2e run were done for this change; CI is the first run. bash -n scripts/session-e2e.sh passes.

  • This is the narrow fix. It breaks again if Docker Hub moves blobs to another host or region. A registry with fixed hosts would be the durable fix; #3491 lists the options.

  • The address in the unit fixture is a placeholder for the gate's per-name logic, like the others in that list; nothing connects to it.

  • The nightlies of 2026-11-15 and 2026-11-16 failed on the separate first-lookup flake (#3171), which this does not touch.
  • 🤖 Generated with Claude Code

    https://claude.ai/code/session_016CYvTyVpjTE7DxZiZ29NeY

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

    <!-- coderabbit-ai-generated:v1 -->

    Summary by CodeRabbit

    Bug Fixes
    Docker Hub image downloads now work when blob redirects use Amazon S3, alongside the existing CDN destinations.
    Documentation
    Updated network verification guidance to include S3 as a possible destination and clarify how contacted hosts are allowlisted.

    <!-- end of auto-generated comment: release notes by coderabbit.ai -->

    Diff: 270 lines (+202 / -68) across 3 files Reviewer: coderabbitai[bot] Review duration: 9m
    All Vouch review confidence checks passed
    Residual risk 0.21 = Change Risk (0.39) × (1 − Review Confidence (0.47)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.39 · 270 lines diff across 3 files
    0.39
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.02 · 1 substantive comment(s)
    0.02
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 35%
    46%
    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
    Shallow Review Depth shallow_review_depth
    0.344
    Diff Size diff_size
    0.335
    Real PR Conversation Timeline
    1 comments
    "Review active on #3492"
    general weight: 0.35
    Assignees
    Unassigned
    Labels
    risk: low confidence: 46.7% 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: 39.4% (MEDIUM) · Higher = larger blast radius
    39.4%
    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: 46.7% · Lower = rushed or shallow review
    46.7%
    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: 21% · Safe to merge
    21%