Repository navigation
chore: release 1.1.0 - #1014
chore: release 1.1.0#1014
Conversation
Syncs `dev` with `main` (sync-main-to-dev workflow).
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [cachix/install-nix-action](https://redirect.github.com/cachix/install-nix-action) | action | patch | `v31.10.6` → `v31.10.7` | --- > [!WARNING] > Some dependencies could not be looked up. Check the [Dependency Dashboard](../issues/529) for more information. --- ### Release Notes <details> <summary>cachix/install-nix-action (cachix/install-nix-action)</summary> ### [`v31.10.7`](https://redirect.github.com/cachix/install-nix-action/releases/tag/v31.10.7) [Compare Source](https://redirect.github.com/cachix/install-nix-action/compare/v31.10.6...v31.10.7) ##### What's Changed - nix: 2.34.7 -> 2.34.8 by [@​github-actions](https://redirect.github.com/github-actions)\[bot] in [#​278](https://redirect.github.com/cachix/install-nix-action/pull/278) **Full Changelog**: <cachix/install-nix-action@v31.10.6...v31.10.7> </details> --- ### Configuration 📅 **Schedule**: (in timezone Etc/UTC) - Branch creation - "before 9am on monday" - Automerge - At any time (no schedule defined) 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/vig-os/devkit). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4yNTkuMiIsInVwZGF0ZWRJblZlciI6IjQzLjI1OS4yIiwidGFyZ2V0QnJhbmNoIjoiZGV2IiwibGFiZWxzIjpbXX0=-->
This PR contains the following updates: | Update | Change | |---|---| | lockFileMaintenance | All locks refreshed | --- > [!WARNING] > Some dependencies could not be looked up. Check the [Dependency Dashboard](../issues/529) for more information. 🔧 This Pull Request updates lock files to use the latest dependency versions. --- ### Configuration 📅 **Schedule**: (in timezone Etc/UTC) - Branch creation - "before 9am on monday" - Automerge - At any time (no schedule defined) 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://redirect.github.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/vig-os/devkit). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4yNTkuMiIsInVwZGF0ZWRJblZlciI6IjQzLjI1OS4yIiwidGFyZ2V0QnJhbmNoIjoiZGV2IiwibGFiZWxzIjpbXX0=-->
The previous pin's comment named the floating tag v4, which sigstore/cosign-installer never published, so Renovate could not resolve the version to a digest and flagged the dependency on the dashboard. Pin to the real v4.1.2 tag in both release workflows. Refs: #986
## Description Renovate reported on the dependency dashboard that it "Could not determine new digest for update (github-tags package `sigstore/cosign-installer`)". Both release workflows pinned the action to a SHA with the comment `# v4`, but `sigstore/cosign-installer` never published a floating `v4` tag (only exact tags `v4.0.0`–`v4.1.2` and a legacy `v3`). Renovate resolves the comment as the current version via the `github-tags` datasource, so the `refs/tags/v4` lookup 404s and digest updates fail. Closes #986 ## Type of Change - [x] `ci` -- CI/CD pipeline changes ## Changes Made - Bump `sigstore/cosign-installer` from `cad07c2e` (`v4.1.1`) to `6f9f1778` (`v4.1.2`) in `.github/workflows/release.yml` and `.github/workflows/promote-release.yml`, with a comment naming the real `v4.1.2` tag so Renovate can resolve future digest updates - Changelog entry under `## Unreleased` (mirrored to `assets/workspace/.devcontainer/CHANGELOG.md` by the `sync-manifest` hook) ## Changelog Entry ### Fixed - **Pin `sigstore/cosign-installer` to `v4.1.2` so Renovate can resolve its digest** ([#986](#986)) - The previous pin's `# v4` comment named a floating tag that `sigstore/cosign-installer` never published, so Renovate's digest lookup failed on the dependency dashboard ## Testing - Verified upstream via the GitHub API: `refs/tags/v4` returns 404; `v4.1.2` resolves to `6f9f17788090df1f26f669e9d70d6ae9567deba6` - Verified all other digest-pinned actions in the repo use comments that resolve to real tags - `just precommit` (full `--all-files` suite) green locally, including `check-action-pins`
Temporary spike (on: pull_request) validating whether a job-level container: image driven by a resolve job's output runs on the host when the image is empty, with/without credentials, across a workflow_call boundary, plus a conditional container-map expression variant. To be removed once #992 is decided. Refs: #992
Add a parity test asserting prepare-changelog and renovate-changelog-pr are on the dev-shell's own PATH (nix develop --ignore-environment), the gap that blocks mode-aware release workflows for container-less modes. Refs: #993
Record the #992 spike verdict: adopt Option A (resolve-toolchain job outputs image; empty image => host, non-empty => container). Spike on real ubuntu-24.04 runners proved empty-image runs on host cleanly, the credentials block is inert when image is empty, and the pattern survives a workflow_call boundary. Includes per-case evidence and run links. Refs: #992
Adopt Option A (conditional job-level container via resolve-toolchain output). ADR: docs/rfcs/ADR-conditional-container-toolchain.md Refs: #992
Expose packages/vig-utils on the vigos overlay (pkgs.vig-utils) and add it to the devTools SSoT, so prepare-changelog, renovate-changelog-pr, and the other console scripts reach every nix develop shell — the devkit's own and any consumer mkProjectShell (direnv mode) — matching the image. Defined once on the overlay and reused by pythonEnv/the hook check (no duplicate builder). lowPrio in devTools yields to pythonEnv's identical scripts in the image buildEnv, mirroring the wrapped-neovim collision guard. Refs: #993
Scaffold each delivery mode (devcontainer, direnv, bare, both) into a temp workspace via the real init-workspace.sh and run actionlint over the rendered .github/workflows/ tree, plus the standalone smoke-test workflow. RED until actionlint lands in the toolchain. Refs: #995
actionlint joins devTools (dev-shell, image, vigos.packages home module) so GitHub Actions workflows can be linted from the toolchain SSoT. Refs: #995
Devkit-only, runner-only: actionlint auto-discovers and lints this repo's own .github/workflows/ with its bundled shellcheck disabled (-shellcheck=). The per-mode rendered consumer templates are validated in tests/bats instead, since linting them in-place resolves reusable-workflow siblings against the wrong root. Defined once in nix/hooks.nix and rendered into .pre-commit-config.yaml. Refs: #995
Assert the two new mode-aware composites — resolve-toolchain and setup-devkit-toolchain — ship in every rendered mode tree, SHA-pin every action reference, and wire each mode branch (container in-image env, direnv Nix dev-shell + skew guard, bare uv/vig-utils install, host-mode retry shim, explicit empty image for host modes). Refs: #994
…un blocks (#1013) ## Summary Re-enables `actionlint`'s bundled shellcheck integration (removes the `-shellcheck=` opt-out) in the devkit's own pre-commit hook and the bats fixtures, and hardens every workflow `run:` block — the devkit's own `.github/workflows/`, the per-mode scaffold templates under `assets/workspace/`, and the smoke-test template — until the shellcheck pass is clean. Follow-up to #995 (which deferred the 41 info/style/warning findings). Every commit stays green: commit 1 hardens the run blocks (hook still opted out); commit 2 removes the opt-outs with shellcheck now active and the gate proving clean. ## Findings and fixes `actionlint` with shellcheck over the devkit's own workflows surfaced the same **41** findings #995 recorded, plus a handful in the rendered/template trees. All are `SC2086` quoting-style noise except the intentional patterns noted below. No correctness defects. Locations are `run:`-block start lines. ### Devkit-own `.github/workflows/` | File | Block | SC code(s) | Fix | |------|-------|-----------|-----| | ci.yml | @67 | SC2086 x5, SC2129 | grouped consecutive `>> "$GITHUB_OUTPUT"` writes into one `{ ... } >> "$GITHUB_OUTPUT"` | | ci.yml | @282 | SC2086 x2 | quoted `"$GITHUB_STEP_SUMMARY"` | | prepare-release.yml | @67 | SC2086 x2 | quoted `"$GITHUB_OUTPUT"` | | prepare-release.yml | @303 | SC2016; SC2086 x2 | SC2016 **suppressed** (literal Markdown backticks); quoted `"$GITHUB_OUTPUT"` | | promote-release.yml | @65 | SC2076; SC2207 | both **suppressed** (see reasons) | | release.yml | @97 | SC2086 x5, SC2129 | grouped `>> "$GITHUB_OUTPUT"` | | release.yml | @139 | SC2086 | quoted `"$GITHUB_OUTPUT"` | | release.yml | @149 | SC2086 x3, SC2129 | grouped `>> "$GITHUB_OUTPUT"` | | release.yml | @314 | SC2086 | quoted `"$GITHUB_OUTPUT"` | | release.yml | @415 | SC2076; SC2207; SC2086 x2 | SC2076/SC2207 **suppressed**; quoted `"$GITHUB_OUTPUT"` | | release.yml | @629 | SC2016 | **suppressed** (literal Markdown backticks) | | release.yml | @674 | SC2086 | quoted `"$GITHUB_OUTPUT"` | | release.yml | @899 | SC2015 | **suppressed** (intentional `&&`/`||` guard) | | release.yml | @1113 | SC2034; SC2086 | removed dead `ARCH_ARRAY` parse + its now-unused `ARCHS:` env; quoted `"$i"`/`"$RETRIES"` | | release.yml | @1187 | SC2086 | quoted `"$GITHUB_OUTPUT"` | | release.yml | @1573 | SC2016 | **suppressed** (literal Markdown backticks) | | renovate-changelog-commit.yml | @47 | SC2129 | grouped `>> "$GITHUB_OUTPUT"` (synced -> template) | | security-scan.yml | @112 | SC2015 | **suppressed** (intentional `&&`/`||` guard) | | sync-issues.yml | @110 | SC2086 | quoted `"$CACHE_ID"` (minimal, coordinating with #996) | ### Scaffold templates (`assets/workspace/.github/workflows/`) | File | Block | SC code(s) | Fix | |------|-------|-----------|-----| | prepare-release.yml | @299 | SC2016 | **suppressed** (literal Markdown backticks) | | release-core.yml | @143 | SC2129 | grouped `>> "$GITHUB_OUTPUT"` | | release-core.yml | @199 | SC2295 x2 | quoted the pattern: `${tag#"${VERSION}"-rc}` | | sync-issues.yml | @122 | SC2086 | quoted `"$CACHE_ID"` | ### Smoke-test template | File | Block | SC code(s) | Fix | |------|-------|-----------|-----| | assets/smoke-test/.github/workflows/repository-dispatch.yml | @72 | SC2129 | grouped 10 `>> "${GITHUB_OUTPUT}"` writes | ## Suppressions (each carries an inline justification comment) | SC | Where | Reason | |----|-------|--------| | SC2016 | prepare-release.yml (root + template), release.yml x2 | The `` `CHANGELOG.md` `` backticks in the truncation-note `printf` are literal Markdown code spans, not command substitution. | | SC2076 | promote-release.yml, release.yml | `[[ " $VALID_ARCHS " =~ " $arch " ]]` is a deliberate literal substring match against the space-padded whitelist, not a regex. | | SC2207 | promote-release.yml, release.yml | `UNIQUE_ARCHS=($(... \| sort -u))` deliberately word-splits the space-free arch tokens; `mapfile` is overkill. | | SC2015 | release.yml, security-scan.yml | The `... && ... \|\| { error; exit; }` guard is meant to run the error branch whenever the combined scan-ok check fails, not an if-then-else. | The inherited-secrets `-ignore` regex in the bats fixtures is retained — that is a separate, legitimate suppression (`secrets: inherit` values actionlint cannot resolve statically). ## Evidence - `actionlint` (shellcheck active) over the devkit's own workflows, all four rendered mode trees (devcontainer/direnv/bare/both), and the smoke-test template: **0 findings**. - `nix develop -c prek run --all-files`: green (shellcheck active). - `nix develop -c bats tests/bats/init-workspace.bats`: full file green (157 tests). - `uv run pytest tests/test_flake_hooks.py tests/test_transforms.py -q`: green (hook-config drift gate + manifest transforms). Refs: #1003
Move Unreleased content to [1.1.0] - TBD and create fresh empty Unreleased section for continued development.
RC
|
…-rc1-validation-followups
…-validation-followups
Follow-ups found by the `1.1.0-rc1` validation run on #1014. All three were reported as minor/non-blocking; landing them on the release branch means `1.1.0` ships with them fixed, at the cost of re-cutting a candidate (`rc2`) and re-validating. Targets `release/1.1.0` (not `dev`) — these are release-branch fixes. They reach `dev` via the normal main→dev sync after promotion. ## Fixes ### #1015 — `install.sh` next-steps message was not mode-filtered A `direnv` deploy printed *"Open in VS Code — it will detect `.devcontainer/`"*, pointing at a directory the direnv scaffold never creates (and that `--prune-devcontainer` may have just deleted). The two-branch `if` only special-cased `bare`, so every non-bare mode fell through to the container message. Now a `case` over all validated modes: `direnv` → `direnv allow` (with `nix develop` as the hook-free fallback), `both` → both entrypoints, `bare`/`devcontainer` unchanged (byte-identical). Note the existing tests only exercised `--dry-run`, which exits *before* the next-steps block — so this message had no behavioural coverage at all. The new bats tests drive `install.sh` end-to-end with a stubbed `docker`. ### #1016 — scaffolded `workflow_call` workflows did not declare inherited secrets `release-core.yml` and `release-publish.yml` read `GHCR_PULL_TOKEN`, `RELEASE_APP_*` and `COMMIT_APP_*` while declaring only `token:`. **This was being actively suppressed.** The bats actionlint tests passed `-ignore 'property "(ghcr_pull_token|...)" is not defined'`, with a comment calling them false positives that actionlint "cannot see statically". That reasoning is wrong: a reusable workflow has a **closed** secrets set, so actionlint was correct and the suppression hid a real defect that every scaffolded consumer inherited as a dirty lint run. The `-ignore` is removed and replaced with a structural test asserting every referenced secret is declared. Callers use `secrets: inherit`, so no call-site change was needed. `required:` is set from real usage (`GHCR_PULL_TOKEN` false — it falls back to `github.token`; the App credentials true — they feed `create-github-app-token` with no fallback). Out of scope and untouched: `promote-release.yml`, `release.yml`, `sync-issues.yml`, `sync-main-to-dev.yml` are `workflow_dispatch`/`push`/`schedule`, where secrets are ambient and need no declaration. ### #1017 — dev-shell emitted two upstream rename warnings `nixfmt-rfc-style` → `nixfmt`, and home-manager's `programs.neovim.extraLuaConfig` → `initLua`. Both are pure aliases, verified rather than assumed: the `devShells.default` and `homeConfigurations.*.activationPackage` **derivation paths are byte-identical** before and after. No nixpkgs bump, no `flake.lock` change. Correction to the original report: it described the second warning as a `'system'` rename. Cold evaluation of every flake output found no such warning — it was the neovim option rename, paraphrased from memory. ## Verification - Full hook suite (`just precommit`) green. - `bats tests/bats/install.bats` — 94 passed. - `bats tests/bats/init-workspace.bats` — 159 passed, 0 failures. - `nix flake check` — all checks passed; `nix develop` enters warning-free. - The 9 `tests/bats/githooks.bats` failures on a host checkout are **pre-existing** — they reproduce identically on untouched `4ec4e4a` and are host-vs-container environment guards. Refs: #1015, #1016, #1017
|
| Job | Result |
|---|---|
| Validate / Finalize / Vulnix CVE Gate | ✅ success |
| Build and Test (amd64) / (arm64) | ✅ success |
| Publish Release | ❌ failed in Set up job → Getting action download info |
| Rollback on Failure | ❌ failed the same way |
| Smoke-Test Dispatch | skipped |
Both failing jobs died before any step ran, while GitHub resolved their actions:
- Publish:
Failed to resolve action download info. Error: Service Unavailable(×2), thenInternal Server Error occurred while resolving "actions/attest@a1948c3…". - Rollback:
Internal Server Error occurred while resolving "actions/checkout@…", "actions/create-github-app-token@…", "actions/github-script@…".
These are GitHub's action-download service returning 503/500 (~13:12–13:15 UTC). The devkit's own code never executed in either job; the build/test/vulnix jobs that had already resolved their actions all passed.
Current state — clean, safe to re-run
- No
1.1.0-rc2git tag, no GHCR image, no GitHub Release. release/1.1.0CHANGELOG still## [1.1.0] - TBD; no dangling finalize state (the failed Rollback left nothing because Publish never ran a step).- Recommendation: simply re-dispatch the Release workflow. No manual cleanup required.
rc2's payload (the rc1 follow-up fixes) is present and source-verified
rc2 was cut to carry the three rc1 findings' fixes (#1015/#1016/#1017 → #1018). Even without a published image, I verified the fixes on release/1.1.0:
- install.sh next-steps message now mode-aware (fix(workspace): install.sh "Next steps" message is not mode-filtered for direnv #1015) — a
case "$MODE"printsdirenv allowfor direnv,just helpfor bare; no more misleading "open in VS Code / .devcontainer" for container-less modes. ✓ (source-verified) - Scaffolded
workflow_callrelease workflows now declare their inherited secrets (fix(ci): scaffolded workflow_call workflows do not declare inherited secrets #1016) —actionlintover the fixed scaffold returns 0 findings (rc1 had 13 inherited-secret false-positives). ✓ (re-tested) - Benign nixpkgs eval warnings resolved (chore(nix): resolve benign nixpkgs eval warnings in the dev-shell #1017) — committed; will re-verify live against the rebuilt image.
Next
Re-run the Release workflow; once rc2 (or rc3) publishes, I'll run the full from-scratch image validation (image sanity, install.sh direnv migration + prune, direnv nix develop @rc, bare uv tool install @rc, actionlint) and confirm finding #3 live.
|
| Lane | Result |
|---|---|
| Image sanity | VERSION=1.1.0-rc2, composites present, no resolve-image, no overlay dirs, single ci.yml, all release tools on PATH ✓ |
install.sh --version 1.1.0-rc2 direnv migration + --prune-devcontainer |
.devcontainer pruned, flake/.envrc/composites, container-ci-quirks.md filtered, .vig-os pins rc2+direnv, no container leak, flake pins github:vig-os/devkit ✓ |
direnv exec (nix develop @1.1.0-rc2) |
full toolchain (retry, prepare-changelog, renovate-changelog-pr, just, prek, uv, gh, jq, ruff) ✓ |
bare exec (uv tool install …@1.1.0-rc2) |
tag resolves, all 16 console scripts install + run ✓ |
| actionlint (baked-rendered) | exit 0, 0 findings ✓ |
rc1 follow-up fixes — live re-check
- fix(workspace): install.sh "Next steps" message is not mode-filtered for direnv #1015 install.sh next-steps mode-aware — ✅ fixed live. direnv deploy now prints "Run 'direnv allow' to load the flake dev-shell (or 'nix develop' without direnv)"; no VS Code/
.devcontainerline. - fix(ci): scaffolded workflow_call workflows do not declare inherited secrets #1016 inherited secrets declared in scaffolded
workflow_callworkflows — ✅ fixed live. actionlint over the scaffolded tree: 0 findings (rc1 had 13 inherited-secret false-positives). - chore(nix): resolve benign nixpkgs eval warnings in the dev-shell #1017 nixpkgs eval warnings —
⚠️ partial. Thenixfmt-rfc-stylewarning is gone, but a scaffolded consumer'snix developstill emitsevaluation warning: 'system' has been renamed to/replaced by 'stdenv.hostPlatform.system'. The devkit's own rc2 flake evaluates clean, so the residual is on the consumer-scaffold path (the template'ssystem/inherit systemhandling, ormkProjectShellas invoked by consumers) — cosmetic, non-blocking. Suggest a small follow-up to clear it from consumer flakes too.
Verdict
1.1.0-rc2 is sound end-to-end via the published image and install.sh; direnv and bare both deliver. Two of three rc1 findings fully resolved; #1017 residual is cosmetic and non-blocking. No blockers to promotion. (The prior rc2 run's failure was a transient GitHub Actions outage, since resolved — this validation is against the successfully-published image.)
The shared consumer overlay (overlays.default) read the renamed-away final.system, so a scaffolded consumer's nix develop still emitted the 'system' has been renamed eval warning that #1017 cleared from the devkit's own dev-shell. Pure alias: the resolved fast-mover derivations are byte-identical. Refs: #1021
## Summary Follow-up to #1017. The `'system' has been renamed to/replaced by 'stdenv.hostPlatform.system'` nixpkgs eval warning was cleared from the devkit's **own** dev-shell, but survived for a **scaffolded consumer's** `nix develop`. The residual was the shared consumer overlay (`vigos.overlays.default`), the one code path #1017 never exercised: it reads `final.system` inside the fixpoint, so any consumer that applies the overlay and forces a fast-mover package (`uv`, `gh`, `claude-code`) evaluates the renamed-away attribute and gets the warning. The devkit itself takes the hoisted `importUnstable system` path with a concrete system, which is why it looked fully fixed. `flake.nix:119` now reads `final.stdenv.hostPlatform.system` — the idiom already used at `flake.nix:314`. ## Verification Evaluated the consumer path directly (plain nixpkgs + `overlays.default`, forcing `claude-code`, exactly as `mkProjectShell` does), with and without the fix: | | eval output | |---|---| | before | `evaluation warning: 'system' has been renamed to/replaced by 'stdenv.hostPlatform.system'` | | after | *(no warning)* | Both resolve to the **same** derivation, `/nix/store/h09svv06fs1qx8argj6mz7lz7mzwsqn8-claude-code-2.1.206.drv` — a pure alias, no rebuild, no behaviour change. The devkit's own dev-shell stays clean: `nix eval .#devShells.x86_64-linux.default.drvPath` emits no warning. Full local hook suite (`just precommit`) green. No test commit: a Nix attribute rename has no unit-testable surface, so the before/after eval above is the evidence — same approach as #1017. ## Acceptance criteria - [x] A scaffolded consumer's `nix develop` emits no `'system' has been renamed` warning. - [x] Devkit's own dev-shell remains clean. Refs: #1021
|
Set release date to 2026-07-13 and regenerate release docs. Refs: #1014
Release 1.1.0 - 2026-07-13
This PR prepares release 1.1.0 for merge to main.
1.1.0 - 2026-07-13
Added
actionlintGitHub Actions workflow linter adopted (#995)actionlintjoins the vigOS toolchain (dev-shell, image, andvigos.packageshome module), so it is available in every consumer environment..github/workflows/through a pre-commit hook, and its bats suite runsactionlintover the per-mode scaffold output (devcontainer, direnv, bare, both) plus the smoke-test template — a semantically broken rendered workflow now fails in the devkit instead of silently in a consumer repo.--prune-devcontainerfor container → direnv/bare migrations (#990)direnv/barekeeps a populated pre-existing.devcontainer/by default (non-destructive, #738).On a real migration that strands the stale container next to the new flake,
so
install.sh/init-workspace.shnow accept--prune-devcontainertoremove it. The flag is rejected in
devcontainer/bothmodes;--previewlists the
.devcontainer/underDELETEDwhen it is set; and interactiveruns prompt once (
Prune existing .devcontainer/? (y/N), default No) when apopulated pre-existing
.devcontainer/is detected in a container-less mode.docs/MIGRATION.mddocuments the preview-then-apply cleanup runbook.resolve-toolchaincomposite action (evolvesresolve-image): reads.vig-osand emitsmode,image, andimage-tag.Container-ish modes (
devcontainer/both) get theghcr.io/vig-os/devcontainerimage and keep the
docker manifest inspectaccessibility probe; the hostmodes (
direnv/bare) get an explicit emptyimageso the downstream jobruns on the host runner (Option A,
docs/rfcs/ADR-conditional-container-toolchain.md).setup-devkit-toolchaincomposite action: the singlestep-level toolchain preamble for every mode. Branches on
DEVKIT_MODE—in-container jobs export the image-relative env (
UV_PROJECT_ENVIRONMENT,PREK_HOME) +safe.directoryfix;direnvprovisions the repo flakedev-shell via Nix + Cachix;
bareinstalls the pinned toolchain (just,prek,vig-utils) withuv. Both host modes install a self-containedretryshim. Preserves the per-modeprekversion-skew guards ([FEATURE] Nix-direct (direnv-mode) CI lane + version-skew hardening for shipped workflows #854).vig-utilsconsole scripts available in the dev-shell (#993)prepare-changelog,renovate-changelog-pr, and the otherpackages/vig-utilsconsole scripts are now on the toolchain SSoT(
nix/devtools.nix), so everynix developshell — the devkit's own and anyconsumer
mkProjectShell(direnv mode) — exposes them on PATH, matching theimage. This unblocks mode-aware release workflows for the container-less
modes.
path:
uv tool install "vig-utils @ git+https://github.com/vig-os/devkit@<DEVKIT_VERSION>#subdirectory=packages/vig-utils"(see
docs/MIGRATION.md).Changed
ci.ymlreplaces the per-mode overlays (#991)ci.ymland the separatedirenv/bareoverlayvariants collapse into one managed workflow. A leading
resolve-toolchainjob resolves
DEVKIT_MODE+ image from.vig-os; every job runscontainer: image: ${{ needs.resolve-toolchain.outputs.image }}(empty ⇒host runner, per the Option A ADR) and calls the
setup-devkit-toolchaincomposite to provision its toolchain, so
just sync|precommit|testrunsidentically in every mode. The
assets/workspace-direnv/andassets/workspace-bare/overlay trees and theirinit-workspace.shdeployment blocks are removed.
release.yml+ reusablerelease-core.yml/release-publish.yml,prepare-release.yml,promote-release.yml,sync-main-to-dev.yml,renovate-changelog-build.yml,sync-issues.yml) is converted off the container-onlyresolve-imagejobonto the mode-aware pattern: a leading
resolve-toolchainjob (used inline inprepare-release.yml's hostvalidatejob) selects the image — empty in thedirenv/baremodes so jobs run on the runner (ADR Option A) — and every jobruns the
setup-devkit-toolchaincomposite as its toolchain preamble. Adirenv/bareconsumer no longer needs to delete or disable these workflows.reusable workflows via new
toolchain_mode/toolchain_image/devkit_versionworkflow_callinputs;release-core.yml/release-publish.ymlno longer run their own resolve jobs. Releasechoreography (step logic, ordering, inputs/outputs, rollback semantics) is
unchanged.
cachix/install-nix-actionfromv31.10.6tov31.10.7(#984)actionlintshellcheck integration re-enabled; workflowrun:blocks hardened (#1003)shellcheckpass that Adopt actionlint for authored and per-mode rendered workflow templates #995 deferred is now active in both thedevkit's own
actionlintpre-commit hook and the bats fixtures that lint theper-mode scaffold output. The scaffolded template workflows shipped to
consumers had their
run:blocks hardened to pass it — quoting redirecttargets and shell variables, grouping consecutive
>> "$GITHUB_OUTPUT"writes, and quoting pattern expansions — so a consumer's rendered workflows
now lint clean under
actionlint's shellcheck. A handful of intentionalpatterns (literal Markdown backticks, whitelist substring matches, deliberate
word-splitting) carry justified
# shellcheck disabledirectives.Fixed
install.shnext-steps message is mode-aware (#1015)direnvdeploy printed "Open in VS Code — it will detect.devcontainer/",pointing at a directory the direnv scaffold never creates (and that
--prune-devcontainermay have just removed). The message now branches overevery validated mode:
direnvpoints atdirenv allow(withnix developasthe hook-free fallback),
bothoffers each entrypoint, andbare/devcontainerare unchanged.
Scaffolded
workflow_callworkflows declare the secrets they inherit (#1016)release-core.ymlandrelease-publish.ymlreadGHCR_PULL_TOKEN,RELEASE_APP_*andCOMMIT_APP_*without declaring them in theirworkflow_call: secrets:block. A reusable workflow has a closed secrets set,so
actionlintcorrectly reported each one as undefined and every scaffoldedconsumer inherited a dirty lint run. The secrets are now declared (
required:set from real usage), and the bats suite no longer suppresses the diagnostic —
it asserts that every referenced secret is declared.
Dev-shell entry is warning-free (#1017)
nix developemitted two upstream rename warnings (nixfmt-rfc-style→nixfmt, and home-manager'sprograms.neovim.extraLuaConfig→initLua).Both are pure aliases: the dev-shell and home-manager activation derivations
are byte-identical before and after.
A scaffolded consumer's
nix developis warning-free too (#1021)vigos.overlays.default) still read therenamed-away
final.system, so every consumer that applied it and forced afast-mover package saw the
'system' has been renamed to/replaced by 'stdenv.hostPlatform.system'warning that #1017had already cleared from the devkit's own dev-shell. The overlay now reads
final.stdenv.hostPlatform.system; the resolved derivations are unchanged.Scaffolded flake stub references the renamed
github:vig-os/devkitinput (#1009)assets/workspace/flake.nixstub (active input and pin-examplecomment) still pointed at
github:vig-os/devcontainer, which only resolvedvia GitHub's post-rename redirect; new consumers now scaffold the canonical
github:vig-os/devkit.docs/MIGRATION.mddocuments the by-hand update forexisting
direnv/bothconsumers, whose stub is never overwritten on upgrade.direnv/bare scaffolds no longer ship container-only artifacts (#989)
docs/container-ci-quirks.md(in-image CI notes) is now mode-filtered like.devcontainer/: excluded from container-less scaffolds, pruned from apreviously scaffolded tree on upgrade, and reflected truthfully in the
--previewreport. Theresolve-imageaction andcontainer:workflowcoupling were already retired by the mode-aware toolchain work
(#991).
.vig-osnow declares its delivery mode (direnv).Pin
sigstore/cosign-installertov4.1.2so Renovate can resolve its digest (#986)# v4comment named a floating tag thatsigstore/cosign-installernever published, so Renovate's digest lookup failed on the dependency dashboard