Repository navigation
refactor(ci): migrate devkit-own workflows off the container/resolve-image pattern - #1012
Merged
Merged
Conversation
…image pattern Convert sync-main-to-dev.yml, sync-issues.yml, and renovate-changelog-build.yml to run on host runners provisioning via ./.github/actions/setup-env instead of a resolve-image job plus container: devcontainer image. Delete the resolve-image jobs, drop container:/credentials blocks and safe.directory steps, and fix the needs:/outputs references. renovate-changelog-build.yml de-couples from the sync manifest: the scaffold copy is now an independently-authored mode-aware variant. Remove the retired resolve-image action and its unit tests. Refs: #996
c-vigo
force-pushed
the
feature/996-devkit-own-setup-env
branch
from
July 13, 2026 10:32
c41fe99 to
2e2fe96
Compare
c-vigo
marked this pull request as ready for review
July 13, 2026 10:41
Contributor
Author
|
Reviewed: structural-only conversion of the three devkit-own workflows to setup-env (needs: rewired, retry preserved via the BASH_ENV shim, container-only env/steps dropped); |
This was referenced Jul 13, 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
Migrates the three devkit-own workflows that still ran
container: ghcr.io/vig-os/devcontainer:<tag>via aresolve-imagejob onto host runners provisioning the toolchain via./.github/actions/setup-env(host+Nix), matching ci/release/prepare-release/promote-release. Deletes the now-unusedresolve-imageaction.Closes the last consumers of the container/resolve-image pattern in this repo's own CI.
Per-workflow conversion notes
sync-main-to-dev.ymlresolve-imagejob.checkandsyncjobs now run onubuntu-24.04host with aSet up environment(setup-env) step after checkout.setup-envprovides git/gh/jq plus theretrybash function via itsBASH_ENVshim, so the existing bareretry ...calls inrun:blocks are unchanged.container:blocks and bothFix git safe.directorysteps (host runner owns$GITHUB_WORKSPACE, so git'ssafe.directoryguard does not apply).needs:—checkdropsneeds: [resolve-image];syncgoesneeds: [resolve-image, check]->needs: [check]. No${{ needs.resolve-image... }}expressions remain.sync-issues.ymlresolve-imagejob;syncdropsneeds: [resolve-image]and itscontainer:block.Set up environmentafter checkout (providesretryfor the cache-deletion step). RemovedFix git safe.directory. Jobpermissions/concurrency/envuntouched.renovate-changelog-build.yml(root)resolve-imagejob; singlebuildjob now runs on host withsetup-env(sync-dependencies: 'true'so the project venv exists) after checkout.container:+ GHCRcredentials:block and thepackages: readpermission (only needed for the image pull).renovate-changelog-pr->uv run renovate-changelog-pr(the console script is not onPATHon the host; forced change). Root keeps itsassets/workspace/.devcontainer/CHANGELOG.mdmirror plumbing unchanged.Manifest decision (renovate-changelog-build.yml): option (b) — de-couple
renovate-changelog-build.ymlwas synced to the scaffold viascripts/manifest.tomlReplaceBlock/Sed transforms that rewrote the container-only root into the mode-awareresolve-toolchain+setup-devkit-toolchaintemplate variant.Chose (b) de-couple: the converted root has no
resolve-image/resolve-toolchainjob and nocontainer:block, while the scaffold variant needs both plus thesetup-devkit-toolchaincomposite. Deriving the template from the converted root would require re-synthesizing an entire job and the container block the root no longer has — i.e. re-authoring the majority of the file inside TOML. So the manifest entry + all its transforms are dropped and the scaffold copy atassets/workspace/.github/workflows/renovate-changelog-build.ymlis maintained as an independently-authored file (precedent: #991 dropped the resolve-image action sync entry). The template file content is unchanged.resolve-image action removal
Deleted
.github/actions/resolve-image/and its unit teststests/test_resolve_image_probe.py/tests/test_resolve_image_manifest.py(they load the deleted action YAML). Verifiedgrep -rn resolve-image .github/returns nothing. Updated the stale reference intests/bats/manifest-parsers.bats.Verification
nix develop -c prek run --all-files— green, exit 0 (actionlint validates all three restructured workflows; yamllint/shellcheck/sync-manifest all pass).git diff origin/dev -- assets/workspace/— empty.uv run python scripts/sync_manifest.py sync assets/workspace/produces no diff; the scaffold template is byte-identical to dev.uv run pytest tests/test_transforms.py -q— 6 passed (repointed the no-mirror-leak guard at the committed scaffold file under (b)).nix develop -c bats tests/bats/manifest-parsers.bats tests/bats/just.bats— green (54 + parser tests pass).sync-main-to-dev(push-to-main) andsync-issues(schedule) cannot be executed locally; actionlint + review is the local bar. This draft PR todevexercises the repo's automated CI.Refs: #996