Skip to content

chore(deps): update github/codeql-action digest to 2892aa5 - #1730

Merged
c-vigo merged 1 commit into
devfrom
renovate/github-codeql-action-digest
Sep 28, 2026
Merged

c-vigo merged 1 commit into
devfrom
renovate/github-codeql-action-digest

Conversation

@renovate

@renovate renovate Bot commented Sep 28, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Type Update Change
github/codeql-action (changelog) action digest 1c5b675 → 2892aa5

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.


  • 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 September 28, 2026 01:03
@c-vigo
c-vigo merged commit 7c58d74 into dev Sep 28, 2026
15 checks passed
@c-vigo
c-vigo deleted the renovate/github-codeql-action-digest branch September 28, 2026 04:59
vig-os-release-app Bot added a commit that referenced this pull request Sep 28, 2026
# [Release 1.17.0](https://github.com/vig-os/devkit/releases/tag/1.17.0)
- 2026-09-28

This PR prepares release 1.17.0 for merge to main.

## [1.17.0](https://github.com/vig-os/devkit/releases/tag/1.17.0) -
2026-09-28

### Added

- **Opt-in environment binding for the commit-App token-minting jobs**
  ([#1710](#1710))
  - The scaffolded workflows mint the commit App token from
`COMMIT_APP_CLIENT_ID` / `COMMIT_APP_PRIVATE_KEY`, which as organization
or
repository secrets are readable by a workflow job on **any** branch. The
commit App normally holds a branch-protection bypass, so that surface
let any
account with write access push a branch, mint the token there and write
straight past the default branch's protection — no PR, no required
checks
  - The new `.vig-os` knob `DEVKIT_COMMIT_APP_ENVIRONMENT` renders
`environment: '<name>'` onto exactly those jobs — `sync-issues.yml`
(`sync`),
`prepare-release.yml` and `prepare-hotfix.yml` (`prepare`, `rollback`),
`release.yml` (`rollback`), `sync-main-to-dev.yml` (`sync`), mirror
mode's
    rendered `reset-sync-mirror` job — and on the reusable **callee**
    `release-core.yml`'s `finalize` job, whose two `COMMIT_APP_*`
`workflow_call` declarations are flipped to `required: false` because an
environment secret cannot arrive through the caller's `secrets:
inherit`.
Empty (the default) renders today's bytes exactly; the value round-trips
    across upgrades
- Consumer prerequisites: create the environment **before** upgrading (a
bound
job auto-creates an unprotected one), give it a deployment branch policy
admitting `main`, `release/*` and — under gitflow — `dev`, add **no
required
reviewers** (a second approval would stall the single-approval train),
then
move the secrets. `prepare-release-extension.yml` is yours: if your
extension
    mints the token, add the key there yourself

- **Release-neutral lane: change `main` without cutting a release**
  ([#1676](#1676))
- `main` could only be written by a release, so a change that alters
nothing a
consumer receives — devkit's own `.github/workflows/**`, `tests/**`,
most of
`docs/**`, the scan-time registers — either waited for the next train or
inflated the version for a no-op that handed every consumer an adoption
PR
- `release-neutral-open.yml` opens the PR **as the release App** (`main`
requires one approving review and GitHub forbids authors approving their
own
    PRs, so a human-authored PR there is unapprovable), and
    `release-neutral-guard.yml` proves the change is release-neutral
  - The contract is **derivation identity**: `devShells.default`,
`devkitImage` and `devkitImageEnv` `.drv` paths must equal `main`'s,
which
proves the published artifacts cannot differ whatever the diff touched.
It
    covers `direnv`/`bare` consumers too, who never pull the image
- The comparison is **normalized**: `CHANGELOG.md` and its scaffold
mirror are
reverted to the base's copy before evaluating, so a release note — which
is
baked into the image and would move the derivation on its own — no
longer
disqualifies a change from the lane. The verdict comment reports that
drift
    explicitly rather than tolerating it silently
  - Also gated: no release content in the diff (`.vig-os`, which carries
`DEVKIT_VERSION`), the `assets/` scaffold untouched, and no release
train in
    flight. A verdict comment lists the files carried
- Supersedes [#590](#590
invariant:
`main` may now carry changes that have landed but are not yet shipped,
and
its `## Unreleased` section describes them. `sync-main-to-dev.yml`
triggers
on `push: [main]`, so those entries reach `dev` before the next freeze
- When a lane PR touches `.vulnixignore` the guard additionally replays
`main`'s own nightly gate, since a pin advance on `dev` clears
exceptions
    that `main`'s older closure may still need

- **`prepare-release` refuses to cut a train while `dev` is behind
`main`**
  ([#1680](#1680))
- The cut freezes `dev`'s `## Unreleased`, but `main` can carry commits
`dev`
has not received yet. Cutting while the open `chore/sync-main-to-dev-*`
PR
is still unmerged silently left those entries out of the frozen section,
so
the release shipped without describing changes it contained — invisible
until someone went looking. Validation now refuses and names the remedy:
    merge the sync PR, then re-dispatch.
- The guard uses the same `git rev-list --count origin/main ^origin/dev`
comparison `sync-main-to-dev.yml` uses to decide whether to open that
PR, so
the lane that carries the commits and the lane that demands them agree
by
    construction rather than by coincidence.
  - Trunk consumers are unaffected: releases cut from `main` there and
`sync-main-to-dev.yml` is copy-excluded, so the scaffold render drops
the
step instead of shipping a comparison against a branch that does not
exist.

- **Composite-action `run:` bodies are shellchecked**
  ([#1704](#1704))
- `actionlint` refuses a composite action outright (`unexpected key
"runs" for
"workflow" section`) and has no composite mode, so every `run:` body
that
moved out of a workflow and into `.github/actions/*/action.yml` silently
lost
    its shellcheck pass — locally and in CI
- The new `shellcheck-composite-actions` hook reproduces actionlint's
own
recipe over those bodies: each `${{ … }}` blanked to same-length
underscores
(so findings still point at the real line and column), GitHub's shell
prelude
prepended, and actionlint's exclude list passed verbatim — one lint, not
two
dialects of one. Inline `# shellcheck disable=` directives keep working
  - Scaffolded: new scaffolds and flake-hooks consumers gate their own
    composites from this release; a consumer with a preserved
`.pre-commit-config.yaml` receives the hook on the release that adds its
insert row. Findings are reported in `action.yml` coordinates. The first
pass caught one real defect: an unquoted `$(id -u)` in the podman socket
    URI of `test-integration`

### Changed

- **BATS suite runs under `bats --jobs`, and a scaffold forks 65% less**
  ([#1687](#1687))
- `bats tests/bats/` was 6m14s of the 11m28s `Project Checks` job — the
only
job on CI's critical path — and ran serially. `init-workspace.bats`
alone
was 80% of it, so the per-file GNU-parallel branch in `just test-bats`
    (dead anyway: `parallel` was never on PATH) was the wrong axis
- A parallel runner now rides with the bats wrapper in `nix/bats.nix` —
bats
is its only consumer and it lands on nobody's PATH — and both entry
points,
    `just test-bats` and the `test-project` composite action, run
`bats -j "$(nproc)"`. `worktree.bats` first opted out of within-file
jobs,
because its tests drove real tmux sessions against the repository's own
sibling worktrees directory; it now drives an isolated per-test fixture
repo
    instead, so it runs under `-j` and in CI like every other file
    ([#1694](#1694))
- `init-workspace.sh` batches its two per-file fork loops — the `chmod
u+w`
    scaffold sweep, which is on the production path, and the host-side
placeholder-substitution pass — into one `xargs` each. Rendered trees
    are byte- and permission-identical; a scaffold drops from ~680 ms to
    ~270 ms
  - `init-workspace.bats` clones `setup_file`-rendered fixtures
(`_clone_shared`) instead of re-rendering a stock scaffold per test: 343
→
    250 script invocations per run, 300 tests unchanged

- **Placeholder substitution is scoped to the paths devkit ships**
  ([#1693](#1693))
- `init-workspace.sh` had two substitution paths: an image-only fast
path
reading a manifest baked into the image, and a runtime fallback that
greped
the workspace. There is now one routine, and its candidate set is the
template-shipped paths mapped into the workspace — built the same way as
the
`chmod u+w` scaffold sweep builds its own — plus the smoke overlay's
when one
    was applied
- **A file at a path devkit does not ship is no longer rewritten.** The
retired fallback walked the whole workspace, which in the container is
the
mounted repo — `.venv` and `node_modules` included — so any file holding
a
literal `{{ SHORT_NAME }}`, `{{ ORG_NAME }}` or `{{ GITHUB_REPOSITORY
}}`
token was substituted in place on a scaffold and again on every upgrade.
Only paths devkit ships are reachable now. (Those three tokens are
spelled
with inner spaces throughout this entry so that the scaffolded copy of
this
    changelog is not itself rewritten by the pass it describes.)
- Reach is **unchanged** for the paths devkit does ship. A consumer file
living at one of them that an upgrade preserves rather than overwrites —
`README.md`, `.typos.toml`, `.pre-commit-config.yaml`, `renovate.json`,
a
consumer `flake.nix`, `.devcontainer/*` under `direnv`/`bare` — still
has
those tokens resolved, exactly as the retired manifest path resolved
them
and exactly as the `chmod u+w` sweep still reaches them. This is not a
    regression and not a change; it is the boundary being stated
- The image no longer ships `/root/assets/.placeholder-manifest.txt` and
the
    flake step that generated it is gone, together with the
    `Using build-time manifest (N files)` and
    `Warning: Manifest not found, searching at runtime (slower)` lines a
    scaffold used to print
- Rendered output is byte- and permission-identical in all four delivery
    modes, under `--smoke-test`, and for a Node scaffold with
`DEVKIT_LICENSE=proprietary`. A template file the consumer deleted, or
one a
    mode prunes, is skipped silently

#### Dependencies

- Update `github/codeql-action` from `1c5b675` to `2892aa5`
([#1730](#1730))
- Lock file maintenance (pip)
([#1731](#1731))

### Fixed

- **Preserved-config hook inserts survive a disabled anchor and keep
their
  rationale** ([#1725](#1725))
- A new scaffolded hook was inserted into a preserved
`.pre-commit-config.yaml`
after the single hook the template places immediately before it, so a
consumer
pinned below 1.17.0 with `DEVKIT_FEATURES_DISABLED=actionlint` had no
anchor
for `shellcheck-composite-actions` and lost the hook to a warning on
every
upgrade, forever — while a *fresh* scaffold with the same opt-out does
ship it.
The insert now walks every predecessor the template declares, nearest
first,
and anchors on the first one the file carries (here `shellcheck`); the
warning
is reached only when the file carries not one of them. A present anchor
still
wins, and still contributes its **sentinel** range where it has one, so
an
insert after a bracketed block lands past its closing sentinel rather
than
    inside the range a feature excision deletes
- An un-sentinelled template entry was extracted from its `- repo:` line
down,
so the prose above it — why the hook exists, what it deliberately does
not
    cover — stayed in the template and the consumer's copy arrived as an
    unexplained `entry:`. The structural extraction now takes the run of
whole-line comments directly above the entry too, stopping at a blank
line, a
non-comment line or a `# >>> devkit:` / `# <<< devkit:` sentinel, so no
copy
    can swallow the previous block's text or half a sentinel pair
- The retired-block **fold** reads the same extraction, so a replacement
block
now arrives with the template's rationale as well — which is what you
want when
a hook's form changed under you. Your own comment above the retired
block is
yours and is untouched, so an adoption PR shows the two comment blocks
stacked

- **A hung release-neutral guard no longer leaves its last positive
verdict
  standing** ([#1712](#1712))
- The job's `timeout-minutes` expiry *cancels* the job, so gate 6 —
which runs
on `!cancelled()` — was skipped: a run that proved nothing left the
previous
"This change is release-neutral" comment as the pull request's only
verdict,
and a label-event run cannot even be superseded, so nothing else would
rewrite it. The toolchain set-up, gate 2 and the `.vulnixignore` extra
now
carry their own step budgets (10, 10 and 60 minutes, summing to less
than the
job's 90), so a hang expires a *step's* budget first and the job
survives to
    report it.
- Which raises the opposite hazard, since the runner reports a step that
exhausted its own budget as `failure` — indistinguishable from a gate
refusing the change, and gate 6 would have called it "**gate 2** refused
it".
A refusal is now something a gate **declares**: each of the five gates
writes
`refused=true` where it states its refusal, and gate 6 words a refusal
only
where one was declared. Every other non-green outcome — a failure with
no
    declaration, a cancellation, an unrecognised value — is reported as
infrastructure, naming the step and asking for a rerun. The outcome scan
also
no longer selects on the literal `failure`, so an unexpected outcome can
no
    longer fall through to the positive verdict.

- **The release-neutral guard rewrites its verdict comment when the
proof fails**
  ([#1705](#1705))
- Gate 6 posted the verdict under a bare `if: env.ACTIVE == 'true'`,
whose
implicit `success()` skipped it after any gate failure and on the
`unlabeled`
event. Since the verdict became a single sticky comment, the last
*positive*
verdict then stood as the pull request's only — and permanent — verdict:
a
reviewer read "This change is release-neutral" after a gate-2 refusal,
or
after the label had been pulled. The guard is not a required check, so
    nothing else contradicted it.
- The step now runs on `!cancelled()` — never `always()`, since a run
cancelled
by a superseding head reached no conclusion — and writes one of three
bodies:
the unchanged verdict, a refusal naming the first failing step and
saying
    whether that was a gate refusal or an infrastructure failure, or an
"inactive" stub when the lane label is removed. Every gated step carries
an
`id` so gate 6 can read its outcome, the checkout and the toolchain
set-up
included: a failure there skips the gates, and `skipped` is not
`failure`.
  - Deactivation is expressed by a third discriminator read from
`github.event.label`, because the `unlabeled` payload has already
dropped the
label from the pull request's label set. It only ever *edits* an
existing
verdict, so a pull request labelled and unlabelled without being judged
gets
no comment at all; and neither non-green body reads the worktree, which
after
    a failed gate 2 is still parked on the base ref.

- **The release-neutral guard no longer cancels its own in-flight run on
a label
  event** ([#1698](#1698))
- `release-neutral-guard.yml` triggers on `labeled`/`unlabeled` as well
as the
code events, and carried one `cancel-in-progress` concurrency lane per
pull
request, undiscriminated by event. Every label event cancelled whatever
run
was in flight, including the `opened`/`synchronize` run the label had
nothing
to do with; `gh pr create --label a --label b` emits two `labeled`
events
within a second, so a pull request opened with two labels left
`cancelled`
    guard runs on its head beside the eventual success.
  - Label events now get a concurrency lane of their own, keyed on
`github.run_id`, while code events keep superseding each other. Not a
single
lane with a conditional `cancel-in-progress`: `false` queues a label
event
*behind* the in-flight run — up to a 90-minute vulnix extra — and the
label
    event is precisely the one whose verdict must not be stale.
- The trade: label runs neither cancel nor are cancelled, so a burst of
activating label events runs the gates more than once, concurrently,
instead
of superseding — three concurrent runs is the *normal* case, since the
opener
    emits `opened` plus the two `labeled` events GitHub sends for one
`gh pr create --label`. Affordable because the gates are eval-only
seconds;
only a pull request touching `.vulnixignore` pays the vulnix extra per
run.
Accepted in exchange for never leaving a `cancelled` run behind, which
every
    cancellation-based alternative reintroduces.
  - `env.ACTIVE` additionally scopes the label actions to the lane's own
    `release-neutral` label, so an unrelated relabel is a cheap
all-steps-skipped success rather than a full gate run in a fresh lane.
The
label *set* is still read from the pull request, so an `unlabeled` event
    removing the lane label deactivates the gates as before.
- The gate-6 verdict is now one sticky comment, found by an HTML marker
and
patched in place, instead of a fresh comment per run — a stale verdict
names
files and a changelog diff that no longer exist. It also **converges**:
after
upserting, the step deletes every marked comment but the newest, so
however
many concurrent runs posted one, the last to finish leaves exactly one
    verdict.
- The scope report gained its missing third state. With the label-name
gate, a
relabel for something else is inactive on a pull request that *does*
carry
    the lane label, where the old two-branch report claimed there was no
    `release-neutral` label at all.

- **The hotfix lane freezes `main`'s unshipped entries instead of
refusing to
  start** ([#1679](#1679))
- `prepare-hotfix` refused to run whenever `main`'s `## Unreleased` had
content, resting on #590's invariant that it never does. #1676
supersedes
that invariant — `main` may now carry changes that have landed but are
not
yet shipped — and this refusal was its only mechanical blocker: the lane
that exists for urgent security incidents would have refused every time
the
    release-neutral lane had been used.
- `validate` now classifies the section instead of refusing it and
publishes
the verdict as a `changelog_mode` job output. `prepare` freezes `main`'s
carried entries into `## [X.Y.Z] - TBD` (`prepare-changelog prepare`)
when
there are any, and seeds an empty section (`prepare-changelog seed`)
exactly
as before when there are not. A hotfix cuts from `main`'s head, so it
ships
    those changes and their entries belong in its own version section.
- The write still lands on the **release branch only**, never on `main`,
so
rollback remains "delete the branch"; `main`'s `## Unreleased`
self-clears
when the release branch merges back, re-establishing the empty shape
after
    every hotfix.
- `release.yml`'s publish-time gate is deliberately unchanged: no empty
    sections at release time, an empty section is acceptable at
`prepare-hotfix` time. Carried entries can therefore satisfy that gate
    without the hotfix's own fix being described — accepted, with no
    compensating check.
- Both copies of the lane are updated: devkit's own workflow and the
consumer
    scaffold's.

- **`prepare-changelog prepare` no longer deletes entries it cannot
freeze**
  ([#1689](#1689))
- `validate` counted any line starting with `-` under `## Unreleased` as
content, while `prepare` only moved bullets sitting under a recognised
`### <section>` heading. A bullet written straight under `## Unreleased`
    therefore passed `validate`, and `prepare` then wrote an **empty**
`## [X.Y.Z] - TBD`, reset `## Unreleased`, dropped the bullet and exited
    **0** with a warning. #1682's classifier picks its mode by calling
`validate`, so it selected `prepare` on exactly the input `prepare`
could
    not freeze.
- A bare `## Unreleased` (no `###` headings at all) was worse: the body
capture was bounded by `\n## [`, a lookahead that cannot fire when the
separating newline is already consumed by the heading match, so the
capture
    ran to end of file and **the previous release's entries were read as
    unreleased content** — `validate` reported content and `prepare`
    duplicated that release into the new version section.
- Both commands now read one body bounded at the next `##` heading and
share
one notion of content: "has content" means "`prepare` can freeze this".
Bullets outside a recognised `###` subsection are refused by `validate`,
`prepare` and `seed` alike, naming every offending line and leaving the
file
untouched; `prepare` refuses when there is nothing to freeze instead of
writing an empty section. The hotfix lane needs no change — `validate`
exits 1, the classifier picks `seed`, and `seed` refuses the same input,
so
    the lane fails closed instead of losing the entry.
- The same guard now runs over the `## [X.Y.Z]` block `prepare` folds
back in
on a reused release branch, closing the twin of the bug: a bullet
written
straight under the version heading — the shape the hotfix runbook asks
authors to fill in — was dropped just as silently. `validate --version`,
    the release-time gate in `release.yml` and the scaffold's
`release-core.yml`, reads content the same way, so it no longer blesses
a
    section `prepare` would empty on the next cycle.
- A **repeated** standard heading (`### Added` twice, the normal result
of a
hand-resolved merge conflict) is refused as well. Only the first block
of
each heading was ever read, so the rest was deleted at exit 0. It
refuses
rather than merging the blocks: a repeated heading means an edit went
    wrong, and quietly stitching it back together would hide that.

- **`bats --jobs` runs on rush, keeping perl out of the image**
  ([#1708](#1708))
  - The parallel runner that arrived with `bats -j`
([#1687](#1687)) was GNU
parallel,
which is a perl script. The bats wrapper ships in the image env, so perl
    5.42.0 re-entered the image's runtime closure —
    [#1108](#1108) had evicted it
precisely so its CVE exception batch could be retired — carrying three
    findings the register holds no exception for (CVE-2026-4176 9.8,
CVE-2026-13221 9.1, CVE-2026-57432 8.4). The nightly vulnix gate on
`dev`
    caught it; no release carried it.
- The runner is now
[shenwei356/rush](https://github.com/shenwei356/rush),
which bats supports natively via `BATS_PARALLEL_BINARY_NAME` (the
wrapper
sets it, so `bats -j` still needs nothing from the caller). rush is Go:
no
    interpreter behind it, and the image's runtime closure drops 47 MiB.
- A negative image test pins the eviction, which nothing had: no perl on
PATH
**and** no perl derivation anywhere in the image's store. The second
half is
the one that matters — perl was never on PATH even while it sat in the
    closure, which is where the vulnix scan looks.

### Security

- **Except the second unbound 1.26.1 CVE batch in the vulnix register**
  ([#1668](#1668),
  [#1669](#1669))
- The 2026-09-24 nightly went red on both lanes on the same package as
the
    day before, with two CVEs the 2026-09-23 exception did not carry:
    `CVE-2026-82717` (9.8) and `CVE-2026-81634` (7.5)
- Not new upstream work and not a closure change: all three unbound CVEs
were published 2026-09-16 and are fixed by the same 1.26.1 release. They
arrived a day apart because vulnix matches on CPE and NVD analysed the
two additions at `2026-09-23T19:50Z`/`19:51Z` — after that day's scan
ran
- Both are resolver paths (RRSet canonicalisation; CNAME synthesis on an
    upstream response), so the existing reachability finding covers them
unchanged: the closure carries `libunbound` only, with no daemon and no
    `unbound` binary
- Added to the existing `2026-11-04` block rather than a new one — all
three
share one death condition, the pin advance that ships unbound 1.26.1,
and
    must be deleted together. The date is deliberately unchanged
  - The remediation lever shortened in the meantime: the `staging-26.05`
backport has merged, leaving the fix one `staging` -> `nixos-26.05`
cycle
    from the pinned channel rather than two branch hops
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