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)
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 0193, provisional. Its number is the next free one at enqueue; the Factory Builder gives it, and the branch is rebased then.
What changes
| Part | Change |
|---|---|
docs/decisions/0193-…md | Amends 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.py | cubic'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.py | Three 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
| Read | Head | State |
|---|---|---|
| Carbon (gemini-4-carbon-high) | 2a6c28d8 | A clean read |
| Muse (Wonder Full) | 2a6c28d8 | A clean read |
| Claude + security | 2a6c28d8 | Nothing 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) | 4ebb6300 | A clean read |
🤖 Generated with Claude Code
CodeAnt-AI Description
Document and verify bubblewrap installs through a reachable HTTPS mirror
What Changed
- Records that the CLI install fetches bubblewrap from Ubuntu’s HTTPS mirror at
mirrors.edge.kernel.org, using Ubuntu-signed package sources. - Checks that the install creates its own source list and that the first source starts the list, preventing runner-provided sources from being used.
- Documents the mirror’s limitations, including that an unresolved mirror can still cause the install to time out.
Impact
✅ Bubblewrap installs avoid unresolved ubuntu.com mirrors
✅ Package sources remain HTTPS and Ubuntu-signed
✅ Detects regressions that reuse runner-provided sources
💡 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.