Repository navigation
Description
Description
Every scaffolded CI and release job runs inside
container: ghcr.io/vig-os/devcontainer:<tag>, gated by a resolve-image job
that reads .vig-os. No workflow branches on DEVKIT_MODE. A direnv or
bare consumer still mandates the devcontainer image in CI and at release time —
contradicting the point of choosing a container-less mode.
This is the core of the epic and the largest surface.
Agreed design
- Keep one release pipeline.
release-core/publish/extensionstay reusable
workflow_callworkflows; the choreography does not fork per mode. - Add a shared
setup-devkit-toolchaincomposite action that branches on
DEVKIT_MODEfrom.vig-os:container→ today'scontainer:image pathdirenv→install-nix-action+nix develop/ flake devshellbare→ host-nativesetup-node/uv/ etc.
- Publish step keyed on artifact type, not mode (image / JS action / crate /
flake) — a small per-repo hook. - Job-level
container:can't be conditionally unset by expression: use
if:-gated job wrappers, or a documented "container unless mode≠container"
default.
Acceptance Criteria
- CI (
ci.yml) provisions its toolchain via the mode-aware action;direnv/
bareruns contain nocontainer: ghcr.io/vig-os/devcontainer. - Release workflows provision toolchain the same way; release logic unchanged
and single-source. -
resolve-imageusage confined tocontainermode. - Validated per mode: rendered-workflow bats assertions + actionlint (Adopt actionlint for authored and per-mode rendered workflow templates #995)
for all modes; live container lane via the smoke-test repo release cycle;
live direnv lane via the commit-action rollout pilot. (Reworded from
"smoke-tested across all three modes" — the smoke-test repo stays
single-mode, see the plan on [EPIC] Mode-aware scaffold: CI/release toolchain per deployment mode #988.)
Related Issues
Part of the mode-aware scaffold epic. Absorbs the container:/resolve-image
leaks noted in D1. Building blocks split out: #992 (spike: conditional
container:, Option A vs B), #993 (vig-utils host-side), #994
(setup-devkit-toolchain composite), #995 (actionlint). This issue covers the
conversion of ci.yml (collapsing the per-mode overlays, per the #992 spike
outcome) and the release/automation workflow set to the composite pattern.
Part of #988.
Activity
refactor(ci): collapse per-mode ci.yml overlays into one mode-aware w…
c-vigo commentedon Jul 13, 2026
PART A merged via #1005: single mode-aware ci.yml (resolve-toolchain + conditional container + setup-devkit-toolchain), overlay dirs and init-workspace.sh overlay logic removed. Verified locally in the dev-shell: 146/146 + 89/89 bats green, actionlint fixtures green across all rendered modes. PART B (release/automation set) in progress.
refactor(ci): make the release/automation workflow set mode-aware (#1006
c-vigo commentedon Jul 13, 2026
Both parts merged into the epic branch: PART A #1005 (single mode-aware ci.yml, overlays removed) and PART B #1006 (release/automation set on resolve-toolchain threading + setup-devkit-toolchain; scaffold resolve-image retired). Choreography unchanged. Verified locally in the dev-shell: 288/288 scoped bats green incl. actionlint fixtures over every rendered mode; the only full-dir failures are the 9 pre-existing environment-dependent IN_CONTAINER githook tests (identical on the epic-branch baseline, green in CI).
refactor(ci): migrate devkit-own workflows off the container/resolve-…
chore: release 1.1.0 (#248)
chore: release 1.1.0 (#1014)
feat(ci): add prepare-release extension hook with devkit dogfooding (#…
fix(ci): roll back prepare-release when a phase job is cancelled (#1089)
feat(workspace): add DEVKIT_WORKFLOW knob (gitflow default / trunk op…
feat(workflow): add scaffold-drift CI gate (DEVKIT_DRIFT_CHECK)
feat(workflow): add scaffold-drift CI gate (DEVKIT_DRIFT_CHECK) (#1297)
test: share scaffold fixtures and consolidate nix invocations (#1420)