fix(devcontainer-base): validate base updates before publishing - #825
Merged
Conversation
Keep the protected branch's existing check contexts running against the known-good Fedora 44 digest. The base-image workflow overrides that default with its explicit candidate image and validates the full pipeline before publishing.
Keep base-image validation focused on the candidate built by the workflow. Fedora registry digests are not a durable fallback because their referenced layers are not retained.
Build and load the checked-out base image on each isolated runner so regular CI never depends on the already-published latest tag. Keep the existing required check contexts while removing the bootstrap failure.
robarnold
marked this pull request as ready for review
August 3, 2026 04:42
sdwilsh
requested changes
Aug 3, 2026
Enable Docker's containerd image store so the daemon-backed builder can consume the locally loaded base and continue exporting the shared devcontainer cache.
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
build,check-format,lint, and kustomization-test check contextslatestonly after validation succeedsRoot cause
The Fedora 45 update moved the devcontainer to Python 3.15.
aiohttpdid not provide a CPython 3.15 wheel, so the devcontainer build fell back to a source build and failed because no compiler was installed.The base-image workflow previously published
latestas soon as the base itself built. Its pull-request run did not exercise the downstream devcontainer, so the incompatible image reachedlatestdespite green PR checks.CI behavior
Regular CI assigns the checked-out base a commit-specific tag, builds and loads it on each isolated runner, and passes that tag into the devcontainer build. The required checks therefore validate repository source rather than depending on the already-published
latest.The regular
buildjob enables Docker's containerd image store. That keeps the default daemon-backed builder able to consume the locally loaded candidate while also exporting the shared devcontainer registry cache.The base-image workflow separately builds one candidate, runs
check-format,lint, and the complete kustomization test suite against it, then retags and pushes that exact local image on main and scheduled runs. Pull-request runs never publish.Validation
.github/workflows/checks.ymlwith the repository's Prettier versionyqgit diff --checkdevcontainers/ciDEVCONTAINER_BASE_TAGand--cache-to ghcr.io/marinatedconcrete/config-devcontainer