Skip to content

ci(actions): update github-actions (minor and patch) - #1134

Merged
c-vigo merged 2 commits into
devfrom
renovate/github-actions-(minor-and-patch)
Jul 15, 2026
Merged

c-vigo merged 2 commits into
devfrom
renovate/github-actions-(minor-and-patch)

Conversation

@renovate

@renovate renovate Bot commented Jul 15, 2026 •

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Type Update Change
cachix/install-nix-action action minor v31.10.7 → v31.11.0
vig-os/commit-action action minor v0.2.0 → v0.3.0

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

cachix/install-nix-action (cachix/install-nix-action)

v31.11.0

Compare Source

What's Changed

Full Changelog: cachix/install-nix-action@v31.10.7...v31.11.0

vig-os/commit-action (vig-os/commit-action)

v0.3.0

Compare Source

Added
  • A new consumer-owned js-quality workflow gates every PR on just lint and just format-check (a new read-only recipe backed by prettier --check src). Neither eslint nor prettier was enforced anywhere before: the scaffold-managed ci.yml has a "Lint & Format" job, but it runs only the prek hook suite, which contains no JS linter or formatter. That is precisely how the broken globs above survived — the scripts were never run by anything but a human. Fixing them without a gate would have let them rot again the same way (issue #​66).
  • A new e2e-smoke workflow executes the committed bundle against the real GitHub API on every PR, running the action the way a consumer does (uses: ./) rather than importing its source. It commits a file to a scratch branch through the full REST flow and asserts the commit exists, is signed, and carries the expected content, then deletes the branch. Nothing previously executed dist/index.js: the unit tests import main() directly and the repo dogfoods commit-action at a pinned released SHA. That gap is not theoretical — the ESM migration found that the CommonJS require.main === module entry guard does not survive bundling to ESM, leaving the bundled action a silent no-op (exit 0, nothing committed) that 84 passing unit tests could not see (issue #​58).
  • CI now gates the committed ncc bundle against source drift so a stale dist/index.js can never reach a tag. A new consumer-owned dist-check workflow rebuilds the bundle on every PR to release/**/main and fails when the committed dist/index.js differs, and the release-time release-extension hook re-verifies the finalized commit before it is tagged (rolling the release back on drift). Both rebuild with the pinned dev-shell toolchain (issue #​59). The gate is deliberately scoped to the release boundary — dev is not gated, since nothing ships from dev and gating it would fail every Renovate runtime-dependency bump (issue #​71).
Changed
  • Adopted vigOS devkit 1.2.1 and declared the per-repo release tag scheme in .vig-os: DEVKIT_TAG_PREFIX=v restores this repo's historical v-prefixed tags (vX.Y.Z) through the release pipeline, and DEVKIT_FLOATING_TAGS=major,minor force-moves the floating v0 / v0.X tags to each promoted release automatically — both were previously moved by hand. Consumers can pin @v0 (floating major), an exact @vX.Y.Z, or a SHA (issue #​62). The first attempt to ship 0.3.0 on devkit 1.2.0 failed in the automated release workflow: the scaffolded release-core.yml applied the draft + approval gate to every release kind, so a release-candidate dispatch aborted against its still-draft PR. 1.2.1 guards that gate behind release_kind=final (candidates gate on CI only), fixing the failure (vig-os/devkit#1095, issue #​79). 1.2.1 also folds the dist/src/ tsc/ncc declaration byproducts into the managed .gitignore (vig-os/devkit#1092), retiring this repo's bespoke dist/.gitignore, and moves the flake-generated .pre-commit-config.yaml symlink ignore to the new consumer-owned .gitignore.project; the vigos flake input is bumped to 1.2.1 to match the scaffold (issues #​62, #​79).
  • Migrated the action to ESM. The @actions/* toolkit went ESM-only at its next major (no require condition in its exports map at all), so @actions/core v3, @actions/github v9 and @actions/http-client v4 were unlandable individually and had to move together (issues #​49, #​50, #​51). The package is now "type": "module", TypeScript resolves with module/moduleResolution: nodenext, relative imports carry explicit .js extensions, and ncc emits an ESM bundle (plus a small dist/package.json declaring the bundle's module type, now tracked alongside dist/index.js). Jest runs in ESM mode: the module mocks moved from jest.mock + a __mocks__ manual mock to jest.unstable_mockModule with dynamic imports, and the old src/__tests__/setup.ts is gone. All 84 tests are preserved unchanged (issue #​58).
  • Dropping the classic moduleResolution: node also fixed a silent type hole: classic resolution ignores exports maps, so @octokit/core/types never resolved and every octokit.rest.* call in src/commit.ts degraded to any — the entire signed-commit REST flow was unchecked. Those calls are now type-checked against real Octokit types. This additionally unblocks TypeScript 7, which removes moduleResolution: node outright (issue #​54).
  • Removed the @actions/http-client and undici overrides pins. The http-client pin (3.0.2) was what actually blocked the v4 major, and the undici pin is now redundant: @actions/http-client v4 depends on undici: ^6.23.0, which resolves to the same 6.27.0 the pin was added to force (npm audit reports no runtime vulnerabilities).
  • Migrated ESLint to flat config (eslint.config.mjs, replacing .eslintrc.json) and bumped eslint from 8.57 to 10.x. ESLint 9 made flat config the default and ESLint 10 removed the legacy .eslintrc path entirely. The rule set is a faithful port — same base configs and the same two overrides — with the node/es6/jest environments becoming languageOptions.globals. @typescript-eslint/eslint-plugin and @typescript-eslint/parser are replaced by the typescript-eslint meta package, the canonical v8 flat-config entry point (issue #​64).
  • Renovate: update undici from 6.23.0 to 6.27.0 (#​41)
  • Renovate (batched): update development dependencies — jest 29.7.0 → 30.4.2 and @types/jest → 30.0.0 (#​55); @typescript-eslint/eslint-plugin and @typescript-eslint/parser 6.13.0 → 8.64.0 (#​56); @vercel/ncc 0.38.4 → 0.44.1 (#​46); ts-jest → 29.4.11 (#​45); prettier → 3.9.5 (#​47); tsx → 4.23.1 (#​48). Batched into one branch because each Renovate PR touched package-lock.json and CHANGELOG.md and so conflicted pairwise; the lockfile is regenerated once here rather than rebased six times. Side effect: ts-jest 29.4.11 drops handlebars, clearing the only critical advisory — known dev-dependency vulnerabilities go from 10 to 5.
  • Retry for transient GitHub API failures is now applied at each individual REST call site inside createTree (per createBlob and per chained createTree chunk) instead of wrapping the whole multi-call tree operation; a transient mid-batch failure now retries only the failing call rather than re-uploading already-succeeded blobs and tree chunks (issue #​24).
  • Hardened createTree against oversized commit payloads: chunk boundaries are now payload-size-aware — a new createTree request starts once a chunk approaches TREE_ENTRY_BYTE_LIMIT (6 MiB) of approximate serialized content, in addition to the existing TREE_ENTRY_CHUNK_SIZE (100) entry cap (whichever limit is hit first). Text files whose size exceeds INLINE_CONTENT_SIZE_LIMIT (1 MiB) are now uploaded via createBlob (base64) instead of inlined, keeping requests well under GitHub's request-body limit for very large text change sets (issue #​22).
  • Migrated the action runtime from node20 to node24 ahead of GitHub removing the Node 20 Actions runtime on 2026-09-16 (issue #​14). Bumped @types/node to the v24 line and raised the TypeScript target/lib to ES2023.
  • Pre-release metadata fixes: corrected the action.yml author (was Sync Issues Bot, copy-pasted from sync-issues-action) and pinned the README Action usage example to @v0.2.0, dropping the now-obsolete @main note since the inline createTree optimization shipped in v0.2.0 (#​63).
Removed
  • Untracked 32 build byproducts under dist/src/ (.d.ts, .js, and .map files) that had been committed by accident. tsconfig.json sets outDir: ./dist with declaration/declarationMap, so both npm run build (tsc) and npm run bundle (ncc) emit them, while the .gitignore rule meant to exclude them (dist/__tests__) never matched their real path (dist/src/__tests__). The rule is now dist/* plus a !dist/index.js re-admit, so only the runtime artifact the action actually executes is tracked. Their .d.ts.map files embed absolute file:// source paths and so were regenerated differently at every checkout location — which is what forced the #​59 freshness gate to be scoped to dist/index.js; with them gone, both gates (dist-check, release-extension) now verify the whole dist/ tree, and check it with git status rather than git diff so that build output which is emitted but never committed also fails the gate (issue #​70).
Fixed
  • npm run lint and npm run format had never checked the real source. Both globbed with src/**/*.ts, but npm runs scripts through sh, which has no globstar — so ** degraded to a single * and the pattern collapsed to src/*/*.ts, matching only files exactly one directory deep. In practice that was a single test-setup file; src/commit.ts, src/commit-runner.ts and src/retry.ts — the entire production surface — were matched by neither script. The scripts now pass the directory (eslint src, prettier --write src) and let each tool expand its own globs with correct ** semantics (issue #​66).
  • Attached the originating error as cause when commit-runner rethrows a git status failure, so the underlying execSync error is no longer discarded (surfaced by the above; ESLint 10's preserve-caught-error).
  • Removed a dead initializer on bytesRead in isBinaryFromStat. Not a correctness bug — the value was always overwritten before being read — but it masked the read from the compiler's definite-assignment analysis (no-useless-assignment).

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 if that's undesired.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate
renovate Bot requested a review from c-vigo as a code owner July 15, 2026 16:41
@c-vigo
c-vigo enabled auto-merge July 15, 2026 16:42
@renovate
renovate Bot force-pushed the renovate/github-actions-(minor-and-patch) branch from 9baadc9 to 1288e25 Compare July 15, 2026 17:07
@c-vigo
c-vigo merged commit 961ff13 into dev Jul 15, 2026
15 checks passed
@c-vigo
c-vigo deleted the renovate/github-actions-(minor-and-patch) branch July 15, 2026 17:15
vig-os-release-app Bot added a commit to vig-os/devkit-smoke-test that referenced this pull request Jul 15, 2026
# Release 1.3.0

This PR prepares release 1.3.0 for merge to main.

## [1.3.0] - TBD

### Added

- **Scaffold CI dependency-review gate**
([#1140](vig-os/devkit#1140))
  - Consumer `ci.yml` now runs a standalone `dependency-review` job
(`actions/dependency-review-action` v5, `fail-on-severity: high`) that
    blocks PRs introducing known-vulnerable dependencies off GitHub's
    dependency graph — no toolchain or container required.
- Guarded to public-repo pull requests (the action only diffs base/head
on
PRs, and the dependency-graph API is unavailable on Free-plan private
repos), so private repos get a skipped-neutral run and auto-activate
when
flipped public (#1039 pattern); `CI Summary` requires it without going
red
    on push/dispatch/private-repo skips.

### Changed

- **Smoke-test deploy of 1.3.0** -- automated devcontainer
release-pipeline validation; no functional changes
- **Renovate dependency update**
([#1134](vig-os/devkit#1134))
  - Update `actions/setup-node` from `v6.4.0` to `v6.5.0`
  - Update `cachix/install-nix-action` from `v31.10.7` to `v31.11.0`
  - Update `vig-os/commit-action` from `v0.2.0` to `v0.3.0`
- **Renovate: update `actions/setup-node` from `v6.4.0` to `v7.0.0`**
([#1135](vig-os/devkit#1135))
- **Evict perl from the image (neovim without wl-clipboard)**
([#1108](vig-os/devkit#1108))
- perl 5.42.0 and its module stack (libwww-perl, XML-Twig,
File-MimeInfo,
    X11-Protocol, …) had one remaining anchor after
[#1107](vig-os/devkit#1107) swapped full `git`
for
`gitMinimal`: `neovim → wl-clipboard → xdg-utils → perl`. The nixpkgs
neovim
wrapper suffixes `wl-clipboard` onto the wrapped binary's PATH as the
Wayland
    clipboard provider (`waylandSupport`, on by default on Linux), and
    wl-clipboard drags xdg-utils, which drags perl.
- In a headless container this provider is dead code — there is no
Wayland
socket, so `wl-copy`/`wl-paste` never run. The clipboard path that
actually
works over VS Code remote / SSH is OSC52, which nvim >= 0.10 uses
natively
    when no display clipboard tool is on PATH.
  - The image now re-wraps `neovim-unwrapped` with `wrapNeovimUnstable`
(replicating the stock legacy wrap — empty rc, providers disabled — but
with
`waylandSupport = false`), evicting the wl-clipboard → xdg-utils → perl
    subtree. Measured **~108 MiB** off the uncompressed closure
    (1,758,754,952 → 1,645,235,648 bytes).
- Dev-shell behavior is unchanged: `devTools` still ships the stock
wrapped
neovim (which keeps wl-clipboard for real Wayland hosts); the swap is
scoped
    to the image only.
- **Restrict image locales to en_US.UTF-8**
([#1104](vig-os/devkit#1104))
- The image shipped the full 222 MiB upstream `glibcLocales` archive but
only
ever uses `en_US.UTF-8`. The `imageTools` entry and the `LOCALE_ARCHIVE`
    OCI-config env now share one overridden derivation
(`allLocales = false; locales = [ "en_US.UTF-8/UTF-8" ]`), so exactly
one
small (~3 MiB) locale path lands in the closure — a ~220 MiB
uncompressed
    reduction with zero functional change.
- **Drop vestigial baked bandit from the image**
([#1105](vig-os/devkit#1105))
- Hooks already run the venv bandit via `uv run` (pinned
`bandit[toml]==1.9.4`); the baked copy was unused.
- Removes ~74 MiB from the image closure — a stray CPython 3.13 package
stack (nixpkgs builds `bandit` on 3.13 while the image toolchain is
3.14) plus a duplicate `git-minimal` pulled in via gitpython.
- **Evict the redundant CPython 3.13 interpreter from the image**
([#1107](vig-os/devkit#1107))
- The image carried a second CPython interpreter (`python3-3.13.13`, 127
MiB)
that the chosen toolchain (`python3.14`, `UV_PYTHON`, `vig-utils`) never
uses. It was held by four independent anchors, all of which had to fall:
`bandit` ([#1105](vig-os/devkit#1105)), `criu`
via
the podman runtime
([#1106](vig-os/devkit#1106)),
    full `git` (git-p4/python helpers), and `actionlint` (its optional
    `python3.13-pyflakes` lint wrapper) — the last two removed here.
  - The image now ships `gitMinimal` (`perlSupport`/`pythonSupport`/
    `guiSupport`/`withManual` all off) instead of full `git`, and an
`overrideAttrs`'d `actionlint` whose wrapper drops `pyflakes` (keeping
`shellcheck`). Together this evicts the 3.13 interpreter and full git's
`git-doc`, measuring **~149 MiB** off the uncompressed closure beyond
the
    bandit/criu cuts.
  - Contract (declared non-contract in
[#1103](vig-os/devkit#1103), `semver:minor`):
the
image loses `git send-email`/`svn`/`p4`/`gitk`/`git gui` and built-in
`git help <cmd>` man pages, and actionlint's inline-python lint on
workflow
`run:` steps. Builtin-C porcelain (`log`, `commit`, `rebase -i`, `add
-p`,
worktrees) and SSH commit signing are unaffected; `gettext` stays (still
    linked by gitMinimal for i18n).
- Dev-shell behavior is unchanged: `devTools` still ships full `git` and
stock
    `actionlint`; the swaps are scoped to the image only.
- **Replace in-image podman runtime with DooD-only client**
([#1106](vig-os/devkit#1106))
  - The image now ships a client-only podman: its local-runtime helpers
(`crun`, `criu`, `conmon`, `netavark`, `passt`, `libkrun`/`libkrunfw`,
`aardvark-dns`, `fuse-overlayfs`, `runc`) are `.override`n with an empty
stub, dropping ~67 MiB of uncompressed image closure. The epic's ~254
MiB
estimate assumed removing podman entirely; retaining the client binary
(~54 MiB) and `systemd` (rpath-linked into it; `systemdMinimal` breaks
`podman logs` per the nixpkgs pin) reduces the net saving to ~67 MiB.
- In-container isolated (nested) container execution is removed — the
retired
    podman-in-podman sidecar model, declared non-contract in
    [#1103](vig-os/devkit#1103).
  - Docker-out-of-Docker against the host's rootless podman socket (the
    consumer scaffold's existing `DOCKER_HOST` wiring) is unchanged.
- The `docker -> podman` shim is retained and now execs the client-only
    podman.
- Dev-shell behavior is unchanged: `devTools` still ships the full
podman
runtime for daemonless `podman run` on a real host; the swap is scoped
to
    the image only.

### Fixed

- **Gate promote on release-PR mergeability before the irreversible
publish** ([#1132](vig-os/devkit#1132))
  - `promote-release.yml`'s `validate` job verified the release PR was
non-draft, approved, and CI-green but never checked whether it was
actually
*mergeable*. Because the sequence is `validate → promote (undraft,
one-way
under immutable releases) → merge`, a PR that was `BEHIND` `main` (or
`BLOCKED`/`DIRTY`) passed validation, the GitHub Release was published,
and
only then did the merge fail — leaving a half-promoted release whose PR
    never reached `main` and which cannot be re-run to recover.
- The `validate` PR check now fetches `mergeable`/`mergeStateStatus` and
fails fast unless the PR is mergeable, re-querying while GitHub is still
computing the state (`UNKNOWN`). Keeps the invariant: never start the
    irreversible publish unless the merge can succeed.
- **Migrate hand-added root `.gitignore` lines into `.gitignore.project`
on upgrade** ([#1111](vig-os/devkit#1111))
  - The [#1092](vig-os/devkit#1092) fix made
`.gitignore.project` the durable home for repo-root ignores, but the
upgrade
that introduces it seeds it empty — so any ignores a consumer had
hand-added
directly to the managed (regenerated) root `.gitignore` (`.DS_Store`,
editor/OS cruft, project paths) were silently dropped when
`render_gitignore`
    rebuilt root `.gitignore` from the template.
- `init-workspace.sh` now snapshots the pre-overwrite root `.gitignore`
and
migrates its consumer-added entries (non-blank, non-comment lines that
are
not provided by the template base, an active language fragment, or the
#1092
seed, and not already present) into `.gitignore.project`, from where
they
    flow back into the regenerated root `.gitignore`. The migration is
append-only and deduplicated, so it never reorders the consumer's
existing
entries and a second upgrade re-adds nothing (idempotent); it prints the
    count and list of migrated lines.
- **Install project deps before building the release artifact**
([#1130](vig-os/devkit#1130))
- The `Build release artifact` step in `release-core.yml` ran `just
bundle`
without a preceding `just sync`, so a JS-Action consumer's bundler
(`ncc`, a
devDependency) was absent from PATH — the finalization step exited 127
and
the `final` release rolled back. Only surfaced on a real `final` release
(the
step is gated on `release_kind == 'final'` and a detected `bundle`
recipe).
- The step now runs `just sync` (language-neutral: `npm ci` / `uv sync`)
before
`just bundle`, matching every other build job. No-op for consumers
without a
    bundle recipe.
- **Wire `core.hooksPath` for direnv consumers**
([#1112](vig-os/devkit#1112))
- In direnv / `nix develop` mode the dev-shell never set
`core.hooksPath`, so
commit-time hooks (pre-commit / commit-msg via prek) were silently
inactive
until the consumer set it by hand — a local commit could bypass the gate
with
only CI catching it later. Devcontainer mode already wired it in setup.
- `mkProjectShell`'s shellHook now sets `core.hooksPath` → `.githooks`
on shell
entry, mirroring the devcontainer and reinforcing the `.githooks`
entry-point
    invariant (never installing into `.git/hooks`, never unsetting it).
- Guarded to a scaffold-shaped repo (a `.githooks/` directory at the git
toplevel) and to the main worktree, so it leaves non-scaffold consumers
untouched and never fights the worktree flow (which deliberately unsets
`core.hooksPath` and installs prek hooks directly); idempotent on
re-entry.
- **Post-scaffold dependency sync is mode-aware and no longer aborts a
successful upgrade**
([#1118](vig-os/devkit#1118))
- In `direnv` and `bare` modes the container-side `just sync` is now
skipped
entirely: the consumer's host nix/direnv shell owns dependency install,
and a
container-side `npm ci`/`uv sync` would write wrong-platform,
wrong-owner
artifacts into the bind-mounted workspace. An informational line notes
the skip.
- In `devcontainer`/`both` modes the sync still runs but is non-fatal —
a failure
(e.g. `npm error Exit handler never called!`) now warns and continues
instead of
aborting init with a misleading "Failed to initialize workspace", since
the
    scaffold itself is already complete.
- **Preserve a flake-hooks `.pre-commit-config.yaml` store symlink on
upgrade** ([#1117](vig-os/devkit#1117))
- In direnv mode a flake with `hooks = { }` generates
`.pre-commit-config.yaml`
as a symlink into the host `/nix/store`, which is not mounted inside the
image
    where `init-workspace.sh` runs — so the symlink is dangling from the
container's view. The preserve/exclude and report gates tested presence
with
`-e`/`-f`, which follow the link and reported it absent, so `rsync -avL`
    overwrote the symlink with the ~6 KB template config and the
[#1092](vig-os/devkit#1092) ignore auto-seed
never
fired — leaving a committed, non-ignored template shadowing the
generated
    config (observed on `commit-action` 1.2.0→1.2.1).
- A new `path_present` helper treats a symlink of any kind (including a
dangling
    one) as present at all three gates — the rsync exclude builder, the
add/preserve report classification (`--preview` now lists it as
PRESERVED),
and the `PRECOMMIT_CONFIG_PREEXISTED` divergence guard — so the symlink
    survives untouched and the ignore seed still runs.
- **Preserve tag-scheme keys across `--force` upgrades**
([#1116](vig-os/devkit#1116))
- `init-workspace.sh` read back `DEVKIT_MODE`/identity/`DEVKIT_MODULES`
before
the managed-template overwrite of `.vig-os`, but not `DEVKIT_TAG_PREFIX`
or
`DEVKIT_FLOATING_TAGS`, so an upgrade silently reset a consumer's
release
tag scheme to the empty template defaults (observed cutting bare tags
and
    stalling floating tags on the commit-action 1.2.0 → 1.2.1 upgrade).
- Both keys are now read before the overwrite and written back (bare,
matching
    the template's unquoted form) when the consumer set them.
- **Post-promote sync-main-to-dev no longer conflicts on the workspace
changelog mirror**
([#1115](vig-os/devkit#1115))
- The prepare extension's sibling-commit reconcile left the mirror's
merge base
at pre-freeze content, so `assets/workspace/.devcontainer/CHANGELOG.md`
conflicted in the post-promote sync-main-to-dev merge every release
cycle
    ([#1091](vig-os/devkit#1091),
    [#1114](vig-os/devkit#1114)).
- The extension now fast-forwards dev to the release branch's
mirror-sync
commit (a non-force app ref update, taken only while dev still sits on
the
freeze commit) so the mirror rewrite is shared ancestry — the same
property
    that keeps the root changelog conflict-free.
- A dev-advanced race (or any ref-update failure) falls back to the
previous
    sibling-commit reconcile, exactly the status quo.

### Security

- **Drop vestigial job-level `GITHUB_TOKEN` write grants from workflow
templates** ([#1136](vig-os/devkit#1136))
  - An OpenSSF Scorecard TokenPermissions audit traced every job-level
`contents: write` / `actions: write` grant in the rendered release/sync
workflows to the token that performs the write: each git push, tag push,
`gh release`, `gh pr`, `gh api` mutation and `gh workflow run` rides a
COMMIT_APP / RELEASE_APP installation token, not the job's
`GITHUB_TOKEN`.
- Those grants are now reduced to `read` across `prepare-release.yml`
(prepare,
    rollback), `promote-release.yml` (validate, promote, merge, cleanup,
floating-tags), `release.yml` (core + publish caller blocks, rollback),
    `release-core.yml` (finalize), `release-publish.yml` (publish),
`sync-issues.yml` (sync) and `sync-main-to-dev.yml` (sync), shrinking
the
    blast radius of a compromised step to a read-only `GITHUB_TOKEN`.
- `promote-release.yml`'s *Verify draft GitHub Release exists* step now
reads
drafts with the RELEASE_APP token (GitHub only returns drafts to a token
with
push access), so the `validate` job can drop to `contents: read` without
hiding the draft. `sync-issues.yml`'s `sync` job keeps `actions: write`
— its
    cache-deletion step calls `gh api ... -X DELETE` on `github.token`.
- **Retire the perl 5.42.0 CVE exception batch**
([#1108](vig-os/devkit#1108))
- With perl gone from the image closure (neovim no longer anchors it via
wl-clipboard → xdg-utils), the perl 5.42.0 CVE exceptions in
`.vulnixignore`
are **deleted** rather than maintained: CVE-2026-4176, and the CPANSec
batch
CVE-2026-13221 / CVE-2026-57432 (accepted "pending upstream stable fix"
in

[#1097](https://github.com/vig-os/devkit/issues/1097)/[#1098](https://github.com/vig-os/devkit/issues/1098),
fixed only in the perl 5.43.x development series). Fewer packages, fewer
    exceptions to babysit; the nightly vulnix scan no longer needs them.
vig-os-release-app Bot added a commit that referenced this pull request Jul 15, 2026
# [Release 1.3.0](https://github.com/vig-os/devkit/releases/tag/1.3.0) -
2026-07-15

This PR prepares release 1.3.0 for merge to main.

## [1.3.0](https://github.com/vig-os/devkit/releases/tag/1.3.0) -
2026-07-15

### Added

- **Scaffold CI dependency-review gate**
([#1140](#1140))
  - Consumer `ci.yml` now runs a standalone `dependency-review` job
(`actions/dependency-review-action` v5, `fail-on-severity: high`) that
    blocks PRs introducing known-vulnerable dependencies off GitHub's
    dependency graph — no toolchain or container required.
- Guarded to public-repo pull requests (the action only diffs base/head
on
PRs, and the dependency-graph API is unavailable on Free-plan private
repos), so private repos get a skipped-neutral run and auto-activate
when
flipped public (#1039 pattern); `CI Summary` requires it without going
red
    on push/dispatch/private-repo skips.

### Changed

- **Renovate dependency update**
([#1134](#1134))
  - Update `actions/setup-node` from `v6.4.0` to `v6.5.0`
  - Update `cachix/install-nix-action` from `v31.10.7` to `v31.11.0`
  - Update `vig-os/commit-action` from `v0.2.0` to `v0.3.0`
- **Renovate: update `actions/setup-node` from `v6.4.0` to `v7.0.0`**
([#1135](#1135))
- **Evict perl from the image (neovim without wl-clipboard)**
([#1108](#1108))
- perl 5.42.0 and its module stack (libwww-perl, XML-Twig,
File-MimeInfo,
    X11-Protocol, …) had one remaining anchor after
[#1107](#1107) swapped full `git`
for
`gitMinimal`: `neovim → wl-clipboard → xdg-utils → perl`. The nixpkgs
neovim
wrapper suffixes `wl-clipboard` onto the wrapped binary's PATH as the
Wayland
    clipboard provider (`waylandSupport`, on by default on Linux), and
    wl-clipboard drags xdg-utils, which drags perl.
- In a headless container this provider is dead code — there is no
Wayland
socket, so `wl-copy`/`wl-paste` never run. The clipboard path that
actually
works over VS Code remote / SSH is OSC52, which nvim >= 0.10 uses
natively
    when no display clipboard tool is on PATH.
  - The image now re-wraps `neovim-unwrapped` with `wrapNeovimUnstable`
(replicating the stock legacy wrap — empty rc, providers disabled — but
with
`waylandSupport = false`), evicting the wl-clipboard → xdg-utils → perl
    subtree. Measured **~108 MiB** off the uncompressed closure
    (1,758,754,952 → 1,645,235,648 bytes).
- Dev-shell behavior is unchanged: `devTools` still ships the stock
wrapped
neovim (which keeps wl-clipboard for real Wayland hosts); the swap is
scoped
    to the image only.
- **Restrict image locales to en_US.UTF-8**
([#1104](#1104))
- The image shipped the full 222 MiB upstream `glibcLocales` archive but
only
ever uses `en_US.UTF-8`. The `imageTools` entry and the `LOCALE_ARCHIVE`
    OCI-config env now share one overridden derivation
(`allLocales = false; locales = [ "en_US.UTF-8/UTF-8" ]`), so exactly
one
small (~3 MiB) locale path lands in the closure — a ~220 MiB
uncompressed
    reduction with zero functional change.
- **Drop vestigial baked bandit from the image**
([#1105](#1105))
- Hooks already run the venv bandit via `uv run` (pinned
`bandit[toml]==1.9.4`); the baked copy was unused.
- Removes ~74 MiB from the image closure — a stray CPython 3.13 package
stack (nixpkgs builds `bandit` on 3.13 while the image toolchain is
3.14) plus a duplicate `git-minimal` pulled in via gitpython.
- **Evict the redundant CPython 3.13 interpreter from the image**
([#1107](#1107))
- The image carried a second CPython interpreter (`python3-3.13.13`, 127
MiB)
that the chosen toolchain (`python3.14`, `UV_PYTHON`, `vig-utils`) never
uses. It was held by four independent anchors, all of which had to fall:
`bandit` ([#1105](#1105)), `criu`
via
the podman runtime
([#1106](#1106)),
    full `git` (git-p4/python helpers), and `actionlint` (its optional
    `python3.13-pyflakes` lint wrapper) — the last two removed here.
  - The image now ships `gitMinimal` (`perlSupport`/`pythonSupport`/
    `guiSupport`/`withManual` all off) instead of full `git`, and an
`overrideAttrs`'d `actionlint` whose wrapper drops `pyflakes` (keeping
`shellcheck`). Together this evicts the 3.13 interpreter and full git's
`git-doc`, measuring **~149 MiB** off the uncompressed closure beyond
the
    bandit/criu cuts.
  - Contract (declared non-contract in
[#1103](#1103), `semver:minor`):
the
image loses `git send-email`/`svn`/`p4`/`gitk`/`git gui` and built-in
`git help <cmd>` man pages, and actionlint's inline-python lint on
workflow
`run:` steps. Builtin-C porcelain (`log`, `commit`, `rebase -i`, `add
-p`,
worktrees) and SSH commit signing are unaffected; `gettext` stays (still
    linked by gitMinimal for i18n).
- Dev-shell behavior is unchanged: `devTools` still ships full `git` and
stock
    `actionlint`; the swaps are scoped to the image only.
- **Replace in-image podman runtime with DooD-only client**
([#1106](#1106))
  - The image now ships a client-only podman: its local-runtime helpers
(`crun`, `criu`, `conmon`, `netavark`, `passt`, `libkrun`/`libkrunfw`,
`aardvark-dns`, `fuse-overlayfs`, `runc`) are `.override`n with an empty
stub, dropping ~67 MiB of uncompressed image closure. The epic's ~254
MiB
estimate assumed removing podman entirely; retaining the client binary
(~54 MiB) and `systemd` (rpath-linked into it; `systemdMinimal` breaks
`podman logs` per the nixpkgs pin) reduces the net saving to ~67 MiB.
- In-container isolated (nested) container execution is removed — the
retired
    podman-in-podman sidecar model, declared non-contract in
    [#1103](#1103).
  - Docker-out-of-Docker against the host's rootless podman socket (the
    consumer scaffold's existing `DOCKER_HOST` wiring) is unchanged.
- The `docker -> podman` shim is retained and now execs the client-only
    podman.
- Dev-shell behavior is unchanged: `devTools` still ships the full
podman
runtime for daemonless `podman run` on a real host; the swap is scoped
to
    the image only.

### Fixed

- **Gate promote on release-PR mergeability before the irreversible
publish** ([#1132](#1132))
  - `promote-release.yml`'s `validate` job verified the release PR was
non-draft, approved, and CI-green but never checked whether it was
actually
*mergeable*. Because the sequence is `validate → promote (undraft,
one-way
under immutable releases) → merge`, a PR that was `BEHIND` `main` (or
`BLOCKED`/`DIRTY`) passed validation, the GitHub Release was published,
and
only then did the merge fail — leaving a half-promoted release whose PR
    never reached `main` and which cannot be re-run to recover.
- The `validate` PR check now fetches `mergeable`/`mergeStateStatus` and
fails fast unless the PR is mergeable, re-querying while GitHub is still
computing the state (`UNKNOWN`). Keeps the invariant: never start the
    irreversible publish unless the merge can succeed.

- **Migrate hand-added root `.gitignore` lines into `.gitignore.project`
on upgrade** ([#1111](#1111))
  - The [#1092](#1092) fix made
`.gitignore.project` the durable home for repo-root ignores, but the
upgrade
that introduces it seeds it empty — so any ignores a consumer had
hand-added
directly to the managed (regenerated) root `.gitignore` (`.DS_Store`,
editor/OS cruft, project paths) were silently dropped when
`render_gitignore`
    rebuilt root `.gitignore` from the template.
- `init-workspace.sh` now snapshots the pre-overwrite root `.gitignore`
and
migrates its consumer-added entries (non-blank, non-comment lines that
are
not provided by the template base, an active language fragment, or the
#1092
seed, and not already present) into `.gitignore.project`, from where
they
    flow back into the regenerated root `.gitignore`. The migration is
append-only and deduplicated, so it never reorders the consumer's
existing
entries and a second upgrade re-adds nothing (idempotent); it prints the
    count and list of migrated lines.

- **Install project deps before building the release artifact**
([#1130](#1130))
- The `Build release artifact` step in `release-core.yml` ran `just
bundle`
without a preceding `just sync`, so a JS-Action consumer's bundler
(`ncc`, a
devDependency) was absent from PATH — the finalization step exited 127
and
the `final` release rolled back. Only surfaced on a real `final` release
(the
step is gated on `release_kind == 'final'` and a detected `bundle`
recipe).
- The step now runs `just sync` (language-neutral: `npm ci` / `uv sync`)
before
`just bundle`, matching every other build job. No-op for consumers
without a
    bundle recipe.

- **Wire `core.hooksPath` for direnv consumers**
([#1112](#1112))
- In direnv / `nix develop` mode the dev-shell never set
`core.hooksPath`, so
commit-time hooks (pre-commit / commit-msg via prek) were silently
inactive
until the consumer set it by hand — a local commit could bypass the gate
with
only CI catching it later. Devcontainer mode already wired it in setup.
- `mkProjectShell`'s shellHook now sets `core.hooksPath` → `.githooks`
on shell
entry, mirroring the devcontainer and reinforcing the `.githooks`
entry-point
    invariant (never installing into `.git/hooks`, never unsetting it).
- Guarded to a scaffold-shaped repo (a `.githooks/` directory at the git
toplevel) and to the main worktree, so it leaves non-scaffold consumers
untouched and never fights the worktree flow (which deliberately unsets
`core.hooksPath` and installs prek hooks directly); idempotent on
re-entry.
- **Post-scaffold dependency sync is mode-aware and no longer aborts a
successful upgrade**
([#1118](#1118))
- In `direnv` and `bare` modes the container-side `just sync` is now
skipped
entirely: the consumer's host nix/direnv shell owns dependency install,
and a
container-side `npm ci`/`uv sync` would write wrong-platform,
wrong-owner
artifacts into the bind-mounted workspace. An informational line notes
the skip.
- In `devcontainer`/`both` modes the sync still runs but is non-fatal —
a failure
(e.g. `npm error Exit handler never called!`) now warns and continues
instead of
aborting init with a misleading "Failed to initialize workspace", since
the
    scaffold itself is already complete.
- **Preserve a flake-hooks `.pre-commit-config.yaml` store symlink on
upgrade** ([#1117](#1117))
- In direnv mode a flake with `hooks = { }` generates
`.pre-commit-config.yaml`
as a symlink into the host `/nix/store`, which is not mounted inside the
image
    where `init-workspace.sh` runs — so the symlink is dangling from the
container's view. The preserve/exclude and report gates tested presence
with
`-e`/`-f`, which follow the link and reported it absent, so `rsync -avL`
    overwrote the symlink with the ~6 KB template config and the
[#1092](#1092) ignore auto-seed
never
fired — leaving a committed, non-ignored template shadowing the
generated
    config (observed on `commit-action` 1.2.0→1.2.1).
- A new `path_present` helper treats a symlink of any kind (including a
dangling
    one) as present at all three gates — the rsync exclude builder, the
add/preserve report classification (`--preview` now lists it as
PRESERVED),
and the `PRECOMMIT_CONFIG_PREEXISTED` divergence guard — so the symlink
    survives untouched and the ignore seed still runs.
- **Preserve tag-scheme keys across `--force` upgrades**
([#1116](#1116))
- `init-workspace.sh` read back `DEVKIT_MODE`/identity/`DEVKIT_MODULES`
before
the managed-template overwrite of `.vig-os`, but not `DEVKIT_TAG_PREFIX`
or
`DEVKIT_FLOATING_TAGS`, so an upgrade silently reset a consumer's
release
tag scheme to the empty template defaults (observed cutting bare tags
and
    stalling floating tags on the commit-action 1.2.0 → 1.2.1 upgrade).
- Both keys are now read before the overwrite and written back (bare,
matching
    the template's unquoted form) when the consumer set them.
- **Post-promote sync-main-to-dev no longer conflicts on the workspace
changelog mirror**
([#1115](#1115))
- The prepare extension's sibling-commit reconcile left the mirror's
merge base
at pre-freeze content, so `assets/workspace/.devcontainer/CHANGELOG.md`
conflicted in the post-promote sync-main-to-dev merge every release
cycle
    ([#1091](#1091),
    [#1114](#1114)).
- The extension now fast-forwards dev to the release branch's
mirror-sync
commit (a non-force app ref update, taken only while dev still sits on
the
freeze commit) so the mirror rewrite is shared ancestry — the same
property
    that keeps the root changelog conflict-free.
- A dev-advanced race (or any ref-update failure) falls back to the
previous
    sibling-commit reconcile, exactly the status quo.

### Security

- **Drop vestigial job-level `GITHUB_TOKEN` write grants from workflow
templates** ([#1136](#1136))
  - An OpenSSF Scorecard TokenPermissions audit traced every job-level
`contents: write` / `actions: write` grant in the rendered release/sync
workflows to the token that performs the write: each git push, tag push,
`gh release`, `gh pr`, `gh api` mutation and `gh workflow run` rides a
COMMIT_APP / RELEASE_APP installation token, not the job's
`GITHUB_TOKEN`.
- Those grants are now reduced to `read` across `prepare-release.yml`
(prepare,
    rollback), `promote-release.yml` (validate, promote, merge, cleanup,
floating-tags), `release.yml` (core + publish caller blocks, rollback),
    `release-core.yml` (finalize), `release-publish.yml` (publish),
`sync-issues.yml` (sync) and `sync-main-to-dev.yml` (sync), shrinking
the
    blast radius of a compromised step to a read-only `GITHUB_TOKEN`.
- `promote-release.yml`'s *Verify draft GitHub Release exists* step now
reads
drafts with the RELEASE_APP token (GitHub only returns drafts to a token
with
push access), so the `validate` job can drop to `contents: read` without
hiding the draft. `sync-issues.yml`'s `sync` job keeps `actions: write`
— its
    cache-deletion step calls `gh api ... -X DELETE` on `github.token`.
- **Retire the perl 5.42.0 CVE exception batch**
([#1108](#1108))
- With perl gone from the image closure (neovim no longer anchors it via
wl-clipboard → xdg-utils), the perl 5.42.0 CVE exceptions in
`.vulnixignore`
are **deleted** rather than maintained: CVE-2026-4176, and the CPANSec
batch
CVE-2026-13221 / CVE-2026-57432 (accepted "pending upstream stable fix"
in

[#1097](https://github.com/vig-os/devkit/issues/1097)/[#1098](https://github.com/vig-os/devkit/issues/1098),
fixed only in the perl 5.43.x development series). Fewer packages, fewer
    exceptions to babysit; the nightly vulnix scan no longer needs them.
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