The builder builds a retakeable failure again by itself: the retake class and its count (issue 1748) #168
Closed
mesh-tools
wants to merge 3 commits from
fix/1748-retake-and-resolver into main
pull from: fix/1748-retake-and-resolver
merge into: :main
:main
:fix/47-G-reader-release-2
:pre/registry-milestone
:feat/take-in
:fix/1748-retake-and-resolver
:feat/l3a-waits
:feat/774-bus-want
:fix/check-every-failure
:feat/l5-l7
:feat/judge-once-deletion
:feat/judge-once-pkgs
:fix/checker-full-failure
:fix/1126-held-tools
:fix/1126-924-held-and-judged
:fix/1126-held-contributes
:fix/check-names-every-conflict
:fix/check-speed-s2
:fix/1126-seed-differs
:fix/1126-seed-held
:feat/774-vault-mints-l2
:feat/1126-placement-seat
:feat/774-vault-mints
:feat/774-checker-seat
:vaultseat-next
:delivered-next
:l2-next
:fix/1945-adopt-hashes
:fix/1945-bus-composer
:fix/1945-optional-buckets
:feat/try-speed
:fix/1921-every-failure
:feat/r4g-finish-1935
:fix/r4e-shelf
:feat/r4e-sdk
:fix/r4e-narrow
:feat/r4c5-sdk
:fix/1656-xterm-config
:fix/1439-replay
:fix/1304-no-vendored-dependencies
:feat/chain-on-the-bus
No Reviewers
No labels
Milestone
No items
No Milestone
Projects
Clear projects
No projects
Assignees
agent-ace
agent-g14
agent-novox
agent-shanks
jschoubben
mesh-tools
miel.truyen
nox-agent
Clear assignees
No Assignees
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: novox/mesh-sdk#168
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Issue 1748: a build that fails on a network lookup is built again by itself.
Until now the builder never built such a failure again: "may be retaken" was only wording in mesh-build-go's error. Tonight's lookup pauses on shanks left mesh-build-image and mesh-build-node failed until someone built them again by hand. The registry group's delivery will start about 300 builds and would meet the same pauses.
Delivery group
fix/1748-retake-and-resolver, merged together:Retake,Retakeable()andMaxRetakes(3) besideFailedUntilChanged; aRetakescount on the build key and on the build's log entry (read bybuilder_builds_since).armRetaketakes it again after 60 s, then 120 s, then 240 s. Only that claim counts toward the cap, andSweepre-arms from the key's count after a restart. The journal says each retake with its count. A compile error or aFailedUntilChangederror is never retaken, and the retake prefix is added only when every failing lane is retakeable.Acceptance criteria: issue 1748 note 14. AC5 (dnsmasq) was withdrawn in review (note 18): dnsmasq logs when it reaches its cap, and no such line was seen, so the cap was not the cause.
Rules bent, said here:
armRetakeas the one allowed bounded wait (issue 1748) and refuses any other. A bus delivery delay is a follow-up (issue 1748 note 16).Integration test run locally by name against an embedded bus:
TestAFailedKeyIsBuiltAgainAsANewRevisionFromANewModulesValueWithTheSameFingerprint(with the AC6 subtest): pass.Review: review-1748@shanks approved round 2 at mesh-sdk
0d97c09c49, mesh-delivery 1d9ac0c8da9c74edc51c1e7d9d0630c3c087681e, mesh-catalog 82aaae846ea9c535d34465a90e902e5d9f773338; the only commit after them is the pin of mesh-sdk0d97c09c(go.mod and go.sum), in mesh-delivery ab253515 and mesh-catalog 06cdac97.Reviewed-by: review-1748@shanks at
0d97c09c49Pushed-by: fix-1965@shanks
https://claude.ai/code/session_01JG73KJNrH5EgFXMKKYSrig
Delivery
novox/mesh-sdk@0d97c09c49b4— closed since 2026-11-04T22:24:01ZGroup
fix/1748-retake-and-resolver: novox/mesh-catalog@06cdac97e3, novox/mesh-delivery@ab2535158aTransitions
The commit's note under
refs/notes/mesh-plankeeps every transition of this change up to its merge:git log --notes=mesh-plan.mesh-delivery: not merged. The merge of this pull request into main at
0d97c09c49was declined: the operator, via telegram (user id verified), chose Decline. A new head asks the operator again.Pull request closed