Repository navigation
ci: the build container gets its own resolvers, so apt can resolve the Ubuntu archive (Fixes #2211) - #2224
Conversation
…e Ubuntu archive (Fixes #2211) Since 2026-11-11 13:53Z every build job fails in its first step: the job container cannot resolve archive.ubuntu.com or security.ubuntu.com on any hosted region, while the hosts resolve from outside. The container now uses 1.1.1.1 and 8.8.8.8 instead of the Docker network's embedded DNS. Co-Authored-By: Claude Fable 5.2 <[email protected]>
bong-water-water-bong
left a comment
There was a problem hiding this comment.
VERDICT at a75a1cf: READY
The one line is the right one, and the evidence is that the failing step now passes. options: --init → options: --init --dns 1.1.1.1 --dns 8.8.8.8 gives the build container its own resolvers, which is what the failure actually was: apt could not resolve the Ubuntu archive, so every apt-get update failed after four retries and the step reported it as a mirror problem. The error text pointed at 404s; the cause was DNS.
Checked at the step level rather than from the run's colour — the runner reports each step's own conclusion:
3. Tools for checkout and the build completed/success
4. Run actions/checkout@3d3c42e5… completed/success
5. Copyright notice on every file completed/success
6. Submodule pins only move forward completed/success
7. The llama.cpp sources the chat-template renderer com… completed/success
8. GGUF -> Q4NX repack, ternary -> Q4_0, MTP draft voca… completed/success
9. Model pins completed/success
Step 3 is the apt step that has failed on every PR since 13:53Z. It passing here is the fix demonstrated, not inferred: two fixed resolvers are enough, and they are fixed rather than inherited from the host on purpose — a container that inherits a broken resolver inherits the outage.
One caveat, stated rather than buried: the job is still in_progress past step 9, so this verdict rests on the apt step being proven and not on a finished green. If a later step fails, this READY is void and I will re-verdict — that is the same rule I have applied all night, and it is why I checked the steps instead of the colour.
Why it matters that this lands first: main has been red since 13:53Z and every open PR inherited it, so eleven-plus PRs are currently build:failure for a reason none of their diffs contains. This is also the second thing today that needed workflow scope — the first being a workflow edit nobody on the review lanes could push. Both were CI-shaped, which is worth a note in the release record: a fleet that cannot edit its own CI cannot fix a CI outage.
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
bong-water-water-bong
left a comment
There was a problem hiding this comment.
VERDICT at a75a1cf: READY
One line in .github/workflows/ci.yml: the build job's container options go from --init to --init --dns 1.1.1.1 --dns 8.8.8.8. It merges cleanly onto main.
- It is the right place.
ci.yml'sbuildis the only job in.github/workflows/that runs in acontainer:(git grep "container:"finds onlyci.yml:29). The other workflows run on the runner host, which is whyhrx_buildand CodeQL stayed green through the outage.--initis kept, sosmoke_serve's reaper behaviour is unchanged. - It fixes #2211, measured on its own run (
buildjob at a75a1cf, 17:03:53Z to 17:15:26Z,completed/success):Tools for checkout and the build(the apt step that failed on everycirun since 13:53Z): success, first attempt.- The steps after it, none of which had run for any PR since the outage: copyright, submodule pins, the template-renderer sources, the GGUF→Q4NX repack, model pins, configure and build all pass.
- Test:
100% tests passed, 0 tests failed out of 236.
Non-blocking:
- This pins the job to two public resolvers, so CI now depends on them rather than on the runner's resolver. That is a fair trade for a red-for-everyone outage.
- Worth a line in #2211 when it closes: if the runner's own DNS recovers, the flag can come out again.
…ner DNS, not the mirror (engine#2210, engine#2211) The header said '1. THE MIRROR' and built the argument around a mirror returning 404s on debs its own fresh index lists. That was the reading the error text invited, and it was wrong: engine#2211 found the build container had no working resolver, and #2224 fixed it by giving the container its own. An apt that cannot resolve the archive fails exactly the way a mirror 404 does, and the message names the mirror either way. The change this PR makes is unaffected -- checking dpkg first means the normal path needs no network at all, which is the only way to be immune to a fault that can present as two different things. What changes is what the file tells the next reader: the reason is 'do not need the fetch', not 'survive a bad mirror'. Verified: bash -n; ./scripts/ci-apt-install.sh on this host -> 'all 18 package(s) already installed; nothing to fetch', rc 0, no apt call.
Since 2026-11-11 13:53Z every
buildjob fails in its first step: the job container cannot resolvearchive.ubuntu.comorsecurity.ubuntu.com, on every hosted region, while both resolve from outside (engine#2211). Re-runs do not help.One line: the container's
options:gain--dns 1.1.1.1 --dns 8.8.8.8, so it no longer depends on the Docker network's embedded DNS.The proof is this PR's own
buildjob: it must get past "Tools for checkout and the build".Fixes #2211
🤖 Generated with Claude Code