Record 0195: bubblewrap is fetched over HTTPS from a mirror outside ubuntu.com, by a list of the block's own (amends 0106; #743's follow-on)

Merged
DO
6d ago
+39-3

User description

Follow-on to "The CLI's install fetches bubblewrap by a source list of its own from a mirror the runners resolve, not the image's mirror list" (#748), for "A Run's CLI install fails whole when the runner's Ubuntu mirror cannot be resolved" (#743).

Record 0195, the number the Factory Builder gave it, after #751's 0193 and #739's 0194. It reopens "Record 0193: bubblewrap is fetched over HTTPS from a mirror outside ubuntu.com, by a list of the block's own (amends 0106; #743's follow-on)" (#753), unchanged but for the number, since that pull request's description changed after its first approval.

What changes

PartChange
docs/decisions/0195-…mdAmends decision 0106's rows "The fix", "The exception to 'nothing is installed'" and "Its limits", where they name the source; the rest of each row stands. It records: the fault (no ubuntu.com name resolved on the runners, the first failed Run 43033731331); the fix and its proof (canary-repo trial runs 43047814971, 43048275193 and 43101071038); that Ubuntu's signature still holds the package; and the residuals: no Valid-Until, a lookup that never resolves is ended by the step's own timeout, and a pinned third-party mirror
tests/test_tools.pycubic's two P2 points on #748, deferred here by the Factory Builder: the source pattern names mirrors.edge.kernel.org literally, and the first source line must use > while the others use >>. The block's first five lines are pinned too
tools/mutants.pyThree mutants: another mirror, the list added to rather than started, and a later line starting it again. All 14 that name the test are killed

No protected path is touched; no model Lens input. The Factory approves.

Verify

make checks passes; the test and its 14 mutants pass. Full verify is CI's.

Reviews

ReadHeadState
Carbon (gemini-4-carbon-high)2a6c28d8A clean read
Muse (Wonder Full)2a6c28d8A clean read
Claude + security2a6c28d8Nothing blocking. Seven small points, all fixed in 4ebb6300 (085b87fe after the rebase onto main): the trial run read as it ran (without the install's retries, about 5 s), 0106's "Its limits" amended and the rest of each row kept, 13:56Z cited to its run, the trial workflows told from the canary check, the block's first five lines pinned, and "the others adding to it"
Astra (gpt-6-astra)4ebb6300A clean read

🤖 Generated with Claude Code


CodeAnt-AI Description

Document and verify the CLI's dedicated HTTPS package mirror

What Changed

  • Records that bubblewrap is fetched from a pinned Ubuntu mirror over HTTPS, avoiding reliance on the runner's unresolved Ubuntu mirrors.
  • Verifies the package sources use Ubuntu's signing key, the first source starts a dedicated list, and later sources add to it.

Impact

✅ CLI installs avoid unresolved runner Ubuntu mirrors
✅ Bubblewrap downloads use signed HTTPS sources
✅ Stale apt sources are excluded from installation

💡 Usage Guide

Checking Your Pull Request

Every time you make a pull request, our system automatically looks through it. We check for security issues, mistakes in how you're setting up your infrastructure, and common code problems. We do this to make sure your changes are solid and won't cause any trouble later.

Talking to CodeAnt AI

Got a question or need a hand with something in your pull request? You can easily get in touch with CodeAnt AI right here. Just type the following in a comment on your pull request, and replace "Your question here" with whatever you want to ask:

@codeant-ai ask: Your question here

This lets you have a chat with CodeAnt AI about your pull request, making it easier to understand and improve your code.

Example

@codeant-ai ask: Can you suggest a safer alternative to storing this secret?

Preserve Org Learnings with CodeAnt

You can record team preferences so CodeAnt AI applies them in future reviews. Reply directly to the specific CodeAnt AI suggestion (in the same thread) and replace "Your feedback here" with your input:

@codeant-ai: Your feedback here

This helps CodeAnt AI learn and adapt to your team's coding style and standards.

Example

@codeant-ai: Do not flag unused imports.

Retrigger review

Ask CodeAnt AI to review the PR again, by typing:

@codeant-ai: review

Check Your Repository Health

To analyze the health of your code repository, visit our dashboard at https://app.codeant.ai. This tool helps you identify potential issues and areas for improvement in your codebase, ensuring your repository maintains high standards of code health.