Skip to content

refactor(ci): make the release/automation workflow set mode-aware - #1006

Merged
c-vigo merged 4 commits into
feature/988-mode-aware-scaffoldfrom
feature/991-release-mode-aware
Jul 13, 2026
Merged

c-vigo merged 4 commits into
feature/988-mode-aware-scaffoldfrom
feature/991-release-mode-aware

Conversation

@c-vigo

@c-vigo c-vigo commented Jul 13, 2026

Copy link
Copy Markdown
Contributor

Summary

PART B of #991: converts the eight container-coupled scaffold workflows to the
Option-A pattern (ADR: docs/rfcs/ADR-conditional-container-toolchain.md).
Release choreography unchanged — toolchain provisioning only.

Workflow Conversion
release.yml resolve-image job → resolve-toolchain; threads toolchain_mode/toolchain_image/devkit_version into the reusable calls; rollback job on conditional container + composite
release-core.yml own resolve-image job deleted; validate/finalize/test on container: image: ${{ inputs.toolchain_image }} + composite; image_tag output now sourced from devkit_version
release-publish.yml same (inputs-driven)
release-extension.yml untouched (host-native, consumer-owned)
prepare-release.yml validate runs resolve-toolchain inline (host step), prepare consumes its outputs
promote-release.yml resolve-toolchain job; 4 jobs converted
sync-main-to-dev.yml resolve-toolchain job; 2 jobs converted
renovate-changelog-build.yml converted; renovate-bot gates kept verbatim
sync-issues.yml converted

Also: scaffold resolve-image action retired (manifest sync entry dropped —
the devkit's own root copy stays for #996); job-level UV_PROJECT_ENVIRONMENT
env and inline safe.directory / prek-guard steps removed (composite owns them);
MIGRATION.md supported-boundary rewritten; DOWNSTREAM_RELEASE.md provisioning
note; CHANGELOG entry.

Evidence (local — no automated CI on epic-branch PRs)

Refs: #991

c-vigo added 4 commits July 13, 2026 10:16
Add a #991 bats section asserting the scaffolded release/automation
workflows carry no hardcoded devcontainer job image, drop the
resolve-image action, provision via the setup-devkit-toolchain composite,
resolve the toolchain via resolve-toolchain (or thread it through the
reusable workflow_call inputs), and that resolve-image is absent from every
rendered mode tree. Update the #854 prepare-release assertion for the
resolve-toolchain composite.

Refs: #991
Convert the eight container-coupled scaffold workflows to the Option-A
pattern (docs/rfcs/ADR-conditional-container-toolchain.md): the
orchestrators resolve mode/image/version ONCE via resolve-toolchain and
thread them (toolchain_mode/toolchain_image/devkit_version workflow_call
inputs) into the reusable workflows; every formerly-container job runs
'container: image:' from the resolved output (empty => host) with the
inert-on-host GHCR credentials block, and provisions via the
setup-devkit-toolchain composite as its first step. Release choreography
is unchanged. The retired resolve-image action is removed from the
scaffold (manifest sync entry dropped); the devkit's own root copy stays
(#996).

Refs: #991
Rewrite the MIGRATION.md supported-boundary paragraphs (the release set is
no longer devcontainer-mode-only) and add the DOWNSTREAM_RELEASE.md
toolchain-provisioning note; CHANGELOG Unreleased entry.

Refs: #991
@c-vigo
c-vigo merged commit c86fc73 into feature/988-mode-aware-scaffold Jul 13, 2026
2 checks passed
@c-vigo
c-vigo deleted the feature/991-release-mode-aware branch July 13, 2026 09:22
c-vigo added a commit that referenced this pull request Jul 13, 2026
…997)

One release choreography, mode-aware toolchain provisioning: resolve-toolchain + setup-devkit-toolchain composites (ADR Option A), single mode-aware ci.yml, all release/automation workflows container-free in direnv/bare, opt-in .devcontainer/ prune, vig-utils host-side, actionlint. Sub-PRs: #998 #999 #1000 #1001 #1002 #1005 #1006 #1007.

Refs: #988
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant