Repository navigation
Conversation
The Canonical rebuild added in ClickHouse#115726 has never been selected. Its gate looked for "ERROR: failed to solve:", while buildx prints "ERROR: failed to build: failed to solve:". terminal_build_failure fails closed to "" when the anchor is absent, so is_apt_mirror_failure was unconditionally False, should_try_next_mirror was reachable only through the timeout branch, and the mirror loop always broke after the first attempt. On master at 0f7cac9 the job log contains the code's spelling 0 times and buildx's 4 times; six build legs printed "apt mirror 1/2" and none printed "2/2". Driving the predicate over every Docker image failure row of the last 365 days (260 rows): the shipped anchor is True on 0 of them, this one on 48, and each of those 48 carries an E: apt error inside the step the build stopped on. The bare spelling has not appeared once in a year, while all 156 solve errors use the prefixed form. Reverting to the pre-refinement buffer-wide match would fire on 93 rows, which is the recovered "W: Failed to fetch" false positive the fence and the E: severity narrowing exist to prevent, so both are kept. The fixture hard-coded the same wrong spelling, so the suite passed identically with the classifier dead. Correcting it makes four of its arms fail against the old code.
Internal second-model review (2 rounds, 0 blockers outstanding)I review my own PRs with an independent model before opening them, and record every Two rounds. Round 1 raised one issue in the source and it was fixed; round 2 raised
Also checked: the other two |
|
Workflow [PR], commit [aed36a2] Summary: ✅ AI ReviewSummaryThis PR fixes the Missing context / blind spots
Final Verdict✅ No blocking issues found. |
Pre-PR validation gate (click to expand)
|
|
cc @leshikus, could you review this? The Canonical apt-mirror fallback added in #115726 has never been selected: its gate looks for |
|
Master already carries this fix in a stronger form, so I have not merged master into this branch: the conflict is in the very block that was rewritten, and resolving it would revert the stronger version.
Measured rather than read: the constants and both functions extracted verbatim from each tree and driven over the same real master job log this PR was built from ( So there is nothing here worth reviewing, and nothing further is owed from me. Whether to close it is a maintainer's call; I am not touching it. One limit is unchanged in both trees, for the record: when a |
|
🕵 Superseded by #116444 ( Measured, not read: the constants and both functions extracted verbatim from three trees
Row 1 is the dead fallback this PR set out to revive, so the diagnosis holds. Rows 2 and 3 Four things master has that this PR does not:
On the test side, master's suite passes 9 arms including Nothing here survives a merge with master, and the conflict is inside the very block The limitation you flagged is unchanged in both trees and worth keeping in mind: when a |
Related: #115726
Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes into CHANGELOG.md):
...
Description
#115726 rebuilds a Docker image against Canonical when the in-region apt mirror
withholds a
.deb. That rebuild has never been selected: its gate looks forERROR: failed to solve:, and buildx printsERROR: failed to build: failed to solve:.terminal_build_failurefails closed to""when the anchor is absent, sois_apt_mirror_failureis unconditionallyFalseand the mirror loop always breaksafter the first attempt.
Master today, sha
0f7cac9ea103e2101c7162fb6657bf5578ea2c77(report):
six
apt mirror 1/2, zeroapt mirror 2/2, noexhausted its retriesline. That joblog contains the code's spelling 0 times and buildx's 4 times.
Driving the predicate over every
Docker%image%failure row of the year ending2026-08-25 00:00 UTC (249 rows): the shipped anchor is
Trueon 0, this one on41, and each of those 41 carries an
E:apt error inside the step the buildstopped on. The bare spelling never appeared in that year; all 145 solve errors use
the prefixed form.
I changed the literal and the docstring above it, which documented the same wrong
sentence. The fence and the
E:severity narrowing #115726 added are both correct andare kept: the earlier buffer-wide match would fire on 82 rows instead of 41, which is
the recovered
W: Failed to fetchfalse positive that narrowing exists to prevent.The fixture hard-coded the same wrong spelling, so the suite passed identically with
the classifier dead. Correcting it makes four of its arms fail against the old code.
Still out of scope: when a brownout withholds the package indexes,
apt-get updateonly warns and the build dies later with
E: Package 'busybox' has no installation candidate- indistinguishable from a genuinepackaging error, which the suite has an arm against, so no token list covers it. Some
rows of the current brownout are that shape.
Sweep over the year ending 2026-08-25 00:00 UTC
True(of 249)ERROR: failed to solve:failed to solve:Token census over the same rows:
ERROR: failed to build: failed to solve:in 145,ERROR: failed to solve:in 0, negative control 0. Both Docker image checks, allarches, all three Dockerfiles.
The shorter literal is not laxer: on those 249 rows it selects a byte-identical
terminal block to the full sentence (145 identical, 104 both empty, 0 differing),
against a wrong-anchor control that differs on 145.
Workflow [PR]
Sync PR [sync-upstream/pr/116441]
Workflow [PR]
Sync PR [sync-upstream/pr/116441]