fix(ci): prevent base image manifest races - #662
Merged
Merged
Conversation
DeviaVir
force-pushed
the
fix/ci-base-manifest-race
branch
from
August 25, 2026 08:06
99cc8a3 to
9a426d4
Compare
DeviaVir
force-pushed
the
fix/ci-base-manifest-race
branch
from
August 25, 2026 08:44
9a426d4 to
d9270e0
Compare
A web-run pipeline on the default branch now republishes both architecture bases and the multi-arch manifest. This restores a one-click repair path when a stale branch pipeline running the old CI configuration replaces the shared manifest again.
Randy808
approved these changes
Aug 25, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Root cause
Both verification paths built a single platform but pushed it to the same
blockstream/esplora-base:latesttag. The parallel jobs raced, and the last writer left a single-platform index. A later production build for the other architecture then failed withno match for platform in manifest.docker buildx build --loadnow imports each verification result into the isolated Docker-in-Docker engine. Selecting the default builder afterward lets the subsequent Compose build resolve that local image without mutating the registry. Base publication moves to default-branch pushes; when base inputs or their CI flow change, the architecture builds are recomposed before the master images start.Including
gitlab/build.ymlin the publication change set makes this merge rebuild both current bases and repair the shared manifest.Manual repair path
Branch pipelines evaluate the CI configuration of their own ref. A push to a stale pre-fix branch can therefore still replace the shared manifest with a single-platform image. A web-run pipeline on the default branch now rebuilds both bases and re-creates the manifest, so recovery is one click instead of a dummy commit.
Validation
git diff --checkyqno match for platform in manifest, and that mirror updates createpush-source pipelines, which the new rules matchThe current GitHub-to-GitLab trigger evaluates CI YAML from mirrored
masterand only clones the PR as build input, so its reported architecture checks do not execute this CI configuration diff.