Skip to content

ci(actions): update dependency ubuntu to v26 - #1658

Merged
c-vigo merged 2 commits into
devfrom
renovate/ubuntu-26.x
Sep 21, 2026
Merged

c-vigo merged 2 commits into
devfrom
renovate/ubuntu-26.x

Conversation

@renovate

@renovate renovate Bot commented Sep 21, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Type Update Change
ubuntu github-runner major 24.04 → 26.04
ubuntu github-runner major 24.04-arm → 26.04-arm

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 these updates 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 21, 2026 01:10
c-vigo added a commit that referenced this pull request Sep 21, 2026
…sumers (#1661)

## Description

Ships the `actionlint` GitHub Actions workflow linter to consumers: the
prek hook that runs it, plus the `.github/actionlint.yaml` label config
it needs.

`actionlint` has been in the vigOS toolchain since #995 —
`nix/devtools.nix`, so it is on `PATH` in the dev-shell, the image and
the `vigos.packages` home module — but the hook that runs it was
devkit-only. Consumers therefore shipped workflows that **nothing ever
linted**: a survey of `vig-os`, `exo-pet`, `MorePET` and `exoma-ch`
found no `actionlint` hook, CI step or justfile recipe in any repo.
`shellcheck` is the precedent this follows: same toolchain SSoT
(`nix/devtools.nix`), same `language: system` form, already shipped to
consumers.

The hook needs a companion. `actionlint` rejects any **literal**
`runs-on:` label missing from its built-in list, and only an
`actionlint.yaml` declaring `self-hosted-runner.labels` can teach it
one. The baseline is `ubuntu-26.04` / `ubuntu-26.04-arm`: real hosted
runners (PR #1658's build job ran on `Image: ubuntu-26.04` /
`20260907.131.1` and passed) that `actionlint` 1.7.12 — the latest
upstream release, published 2026-03-30 — predates, so no pin bump
recognises them.

Expression forms need no entry: `runs-on: ${{ fromJSON(...) }}`, which
is how `DEVKIT_CI_RUNNER` (#1173) reaches `runs-on`, is skipped by
`actionlint` entirely (verified directly).

This unblocks #1658, whose 43 `[runner-label]` findings and 7 failing
rendered-template bats tests cannot clear without it.

## Type of Change

- [x] `feat` -- New feature
- [ ] `fix` -- Bug fix
- [ ] `docs` -- Documentation only
- [ ] `chore` -- Maintenance task (deps, config, etc.)
- [ ] `refactor` -- Code restructuring (no behavior change)
- [ ] `test` -- Adding or updating tests
- [ ] `ci` -- CI/CD pipeline changes
- [ ] `build` -- Build system or dependency changes
- [ ] `revert` -- Reverts a previous commit
- [ ] `style` -- Code style (formatting, whitespace)

### Modifiers

- [ ] Breaking change (`!`) -- This change breaks backward compatibility

## Changes Made

- **`nix/hooks.nix`** — `scaffold = true` on the `actionlint` hookDef.
The two committed `.pre-commit-config.yaml` files are renders of this
one definition and are drift-gated by `tests/test_flake_hooks.py`, so
this is the only correct place to add the hook; the comment explaining
the old devkit-only scoping is rewritten (the "wrong reusable-workflow
root" objection applies to linting templates in-place inside devkit, not
to a real consumer repo).
- **`assets/workspace/.github/actionlint.yaml`** (new) — the shipped
label config, with each baseline label carrying its reason and a
delete-when condition inline.
- **`.github/actionlint.yaml`** (new) — devkit's own copy; its workflows
are not scaffolded, so it needs one.
- **`assets/workspace/.pre-commit-config.yaml`** — the rendered hook
block, bracketed by `# >>> devkit:actionlint` / `# <<<` sentinels. The
drift gate compares *parsed YAML*, so comments are invisible to it: the
markers give the opt-out an exact excision range while staying in step
with `nix/hooks.nix`.
- **`assets/init-workspace.sh`** — `.github/actionlint.yaml` joins
`PRESERVE_FILES` (consumer owns their label declarations, same class as
`.yamllint`/`.pymarkdown`/`.typos.toml`); new `actionlint` group in
`VALID_FEATURES` + `feature_paths()`; new `render_actionlint_optout()`
excising the hook block when the group is disabled, wired in after the
sibling `.pre-commit-config.yaml` renders.
- **`assets/workspace/.vig-os`, `docs/MIGRATION.md`** — the new group
documented in the knob comment and the feature-group list (now nine),
plus the preserved-class caveat.
- **`CHANGELOG.md`** (+ synced `.devcontainer` mirror) — `## Unreleased`
entry.
- **`tests/bats/init-workspace.bats`** — 7 new tests (see Testing).

Note the banner on the shipped config is not hand-written:
`sync_manifest.py` derives managed-vs-preserved from `PRESERVE_FILES`,
so adding the path flips it to the "yours to edit; upgrades never
overwrite this file" variant automatically.

## Changelog Entry

### Added

- **Consumers get the `actionlint` workflow linter, hook and label
config**
  ([#1660](#1660))
- `actionlint` has shipped in the toolchain since #995, but the hook
that runs
it was devkit-only — so a consumer's GitHub Actions workflows were
linted by
nothing. The scaffold now carries the hook, in the same `language:
system`
form as `shellcheck` (both resolve from the flake toolchain, so both
work in
    every mode).
- New `.github/actionlint.yaml` declares the runner labels actionlint's
    built-in list does not know. It ships with the `ubuntu-26.04` /
`ubuntu-26.04-arm` baseline: real hosted runners that actionlint 1.7.12
—
    the latest release — predates. Labels reaching `runs-on` through an
expression (`DEVKIT_CI_RUNNER` via `fromJSON`) are invisible to
actionlint
    and need no entry.
  - The config is **yours to edit**: it joins the preserve list beside
`.yamllint` / `.pymarkdown` / `.typos.toml`, so a repo can declare its
own
    literal self-hosted label and keep it across upgrades.
- New `actionlint` group for `DEVKIT_FEATURES_DISABLED` opts out of both
halves at once; an existing config is preserved-class and left in place.
- Existing repos keep their preserved `.pre-commit-config.yaml`
untouched: the
new hook surfaces through the #878 template diff on upgrade, to fold in
by
    hand.

## Testing

- [x] Tests pass locally (`just test`)
- [x] Manual testing performed (describe below)

### Manual Testing Details

Full local verification on the committed branch:

| Gate | Result |
|---|---|
| `prek run --all-files` (full suite, re-run after the `dev` merge) |
exit 0, no failures |
| `pytest` (192 deselected: `test_image` / `test_integration`) | 1649
passed, 1 skipped |
| `tests/bats/init-workspace.bats` | 296/296 |
| 11 other bats suites | 249/249 |
| `tests/test_flake_hooks.py` (hook drift gate) | 74/74 |

`test_image` / `test_integration` were deselected deliberately — they
fail locally off a lagging `:dev` image rather than off the branch, so
CI is the right place for them.

New bats coverage (7 tests): hook present in a fresh scaffold; config
present; the `ubuntu-26.04` baseline; the preserved banner plus a
consumer edit surviving an upgrade;
`DEVKIT_FEATURES_DISABLED=actionlint` shipping neither half; the
excision leaving the neighbouring hooks intact and the config still
parsing; an existing config left in place by the opt-out.

The pre-existing 6 rendered-mode `actionlint` tests (devcontainer,
direnv, bare, both, trunk, mirror) already execute exactly what the hook
runs — `actionlint` with `pass_filenames: false` over each rendered tree
— so the hook's green path is covered per mode, not merely its presence.

## Checklist

- [x] My code follows the project's style guidelines
- [x] I have performed a self-review of my code
- [x] I have commented my code, particularly in hard-to-understand areas
- [x] I have updated the documentation accordingly (edit
`docs/templates/`, then run `just docs`)
- [x] I have updated `CHANGELOG.md` in the `[Unreleased]` section (and
pasted the entry above)
- [x] My changes generate no new warnings or errors
- [x] I have added tests that prove my fix is effective or that my
feature works
- [x] New and existing unit tests pass locally with my changes
- [ ] Any dependent changes have been merged and published

## Additional Notes

**Scope history.** The issue began as "hold the `ubuntu-26.04` bump" and
was rescoped twice; both turns are recorded on #1660. One claim in an
earlier revision — that `DEVKIT_CI_RUNNER` leaves consumers with an
unfixable `runner-label` failure — was **false** and is retracted there:
those labels reach `runs-on` only through `${{ fromJSON(...) }}`, which
actionlint never inspects.

**Dropped from scope** after the config became consumer-owned (recorded
on the issue): `DEVKIT_ACTIONLINT_LABELS` and a `DEVKIT_CI_RUNNER` →
label derivation. A preserved file is not re-rendered on upgrade, so
such a knob would apply only at first scaffold and silently do nothing
afterwards; the consumer edits the file directly instead. The
alternative that would have justified them — a *managed* file with the
#1640 `render_refs_policy` anchored-idempotent-sed pattern — was
rejected as contradicting consumer overriding.

**Adoption is new-repos-only.** `.pre-commit-config.yaml` is preserved,
so existing consumers do not receive the hook on upgrade; it surfaces
through the #878 `print_preserved_template_diff` to fold in by hand.
This follows the split #1652's own table documents: that table is for
blocks the template retired *because they break*, "never for ordinary
drift", and it names the #878 diff as the right tool for "a new hook was
added".

**Follow-up:** #1658 (Renovate `ubuntu` v24 → v26) should be rebased
once this merges; both gates — `actionlint` over `.github/workflows/`
and the 7 rendered-template bats tests — should then clear.

Refs: #1660
@c-vigo
c-vigo force-pushed the renovate/ubuntu-26.x branch from 8da4317 to b1246f2 Compare September 21, 2026 08:25
@renovate

renovate Bot commented Sep 21, 2026

Copy link
Copy Markdown
Contributor Author

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

The ubuntu v26 bump rewrote `runs-on:` literals only, leaving the hosted
DEFAULT at 24.04 in the four places that encode it. Two of them broke CI:
test_ci_runner's HOSTED_DEFAULT pins the #1173 rule that
resolve-toolchain and dependency-review stay hosted even when
DEVKIT_CI_RUNNER moves the other lanes, so the constant has to follow
what "hosted" now means.

The resolve-toolchain default is the substantive one, and Renovate could
not see it: `CI_RUNNER="${CI_RUNNER:-ubuntu-24.04}"` is a shell default
inside a `run:` block. Left alone, a consumer with no DEVKIT_CI_RUNNER
would have taken ["ubuntu-24.04"] from the action while the literal jobs
in the same ci.yml said ubuntu-26.04.

The .vig-os and MIGRATION.md prose naming the default follow.

Refs: #1658
@c-vigo
c-vigo merged commit d5d99e9 into dev Sep 21, 2026
14 checks passed
@c-vigo
c-vigo deleted the renovate/ubuntu-26.x branch September 21, 2026 10:09
vig-os-release-app Bot added a commit that referenced this pull request Sep 23, 2026
# [Release 1.16.0](https://github.com/vig-os/devkit/releases/tag/1.16.0)
- 2026-09-23

This PR prepares release 1.16.0 for merge to main.

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

### Added

- **A preserved `.pre-commit-config.yaml` is reconciled on upgrade**
  ([#1654](#1654))
- #1652 made two divergences of a preserved hook config visible; this
repairs
them, with a separate evidence gate per case and nothing else in the
file
touched — global and per-hook `exclude:` patterns, ordering and comments
all
    survive.
- **Fold.** A block the template retired *because it breaks* is replaced
by the
current template's hook, gated on a **byte-identical** match against the
historical template text. That is what proves the bytes being
overwritten are
    devkit's own output: one edited byte — an extended `exclude:`, a
Renovate-bumped `rev:` — and the fold declines, leaving the #1652
warning.
First entry: the pre-#1170 `jackdewinter/pymarkdown` block, which breaks
the
`devkit-upgrade` commit step itself, so those repos never reach a PR
where
    the warning could be read.
- **Insert.** A hook an older tree never received is added at its
template
position, gated the way `retired_paths()` gates a prune (#1348): only
when
`DEVKIT_VERSION` predates the release that first shipped the hook, so
the
consumer never had the chance to decline it. It fires at most once per
repo,
    which keeps a later hand-deletion durable (#1651), and
`DEVKIT_FEATURES_DISABLED` is honoured first. First entry: `actionlint`
    (#1660), which reached new scaffolds only.
  - Both print a machine-readable `preserved-hook-fold:` /
`preserved-hook-insert:` line that `devkit-upgrade.yml` lifts into the
run
summary and a dedicated adoption-PR section, and `--preview` reports the
    planned rewrite before anything is touched.
- **Consumers get the `actionlint` workflow linter, hook and label
config**
  ([#1660](#1660))
- `actionlint` has shipped in the toolchain since #995, but the hook
that runs
it was devkit-only — so a consumer's GitHub Actions workflows were
linted by
nothing. The scaffold now carries the hook, in the same `language:
system`
form as `shellcheck` (both resolve from the flake toolchain, so both
work in
    every mode).
- New `.github/actionlint.yaml` declares the runner labels actionlint's
    built-in list does not know. It ships with the `ubuntu-26.04` /
`ubuntu-26.04-arm` baseline: real hosted runners that actionlint 1.7.12
—
    the latest release — predates. Labels reaching `runs-on` through an
expression (`DEVKIT_CI_RUNNER` via `fromJSON`) are invisible to
actionlint
    and need no entry.
  - The config is **yours to edit**: it joins the preserve list beside
`.yamllint` / `.pymarkdown` / `.typos.toml`, so a repo can declare its
own
    literal self-hosted label and keep it across upgrades.
- New `actionlint` group for `DEVKIT_FEATURES_DISABLED` opts out of both
halves at once; an existing config is preserved-class and left in place.
- Existing repos keep their preserved `.pre-commit-config.yaml`
untouched: the
new hook surfaces through the #878 template diff on upgrade, to fold in
by
    hand.
- **Scan a preserved `.pre-commit-config.yaml` for retired hook blocks**
  ([#1652](#1652))
- A preserved file never receives template evolution (#878), so a hook
*fix*
never reaches the consumers that carry the broken block. The scaffold
now
    scans preserved files against a table of blocks the template retired
    because they break, and warns with `file:line` plus a remedy.
  - First entry: the pre-#1170 `jackdewinter/pymarkdown` hook, whose
`language: python` venv skews against the flake toolchain's interpreter
and
breaks `just precommit`, markdown commits and the `devkit-upgrade`
commit
    step alike.
- Each hit also prints one machine-readable `preserved-hook-drift:`
line,
which `devkit-upgrade.yml` lifts into the run summary and the adoption
PR
body (the `flake-bump:` channel, #1497); `--preview` reports it before
    anything is touched.
- `docs/MIGRATION.md` carries the fold instructions for the #1170 hook.
- **`DEVKIT_LICENSE`: choose the license the scaffold ships**
  ([#1651](#1651))
- New `.vig-os` key: `apache-2.0` (default/empty, unchanged) |
`proprietary`
| `none`. A private repo no longer has to carry an Apache-2.0 notice
that
    mislabels confidential material as openly licensed.
- `proprietary` renders an all-rights-reserved notice, but only over an
absent or still-untouched Apache scaffold copy — a hand-edited `LICENSE`
is
    left in place with a notice, and a re-render is a silent no-op.
- `none` manages no `LICENSE` at all, so deleting it finally sticks
across
`--force` upgrades. Neither value ever deletes an existing license file.
- An unknown value aborts the scaffold loudly; the key round-trips like
every
    other manifest knob.

### Changed

- **The `release` feature group now covers the root `CHANGELOG.md`**
  ([#1651](#1651))
  - Only the release workflows read it, so a repo with
`DEVKIT_FEATURES_DISABLED=release` is no longer handed a changelog it
never
writes — and a deletion is durable instead of undone by the next
upgrade.
- An existing changelog is preserved-class: left in place with a notice,
    never pruned. Devkit's own `.devcontainer/CHANGELOG.md` mirror is
    unaffected (the exclude is root-anchored).
  - The scaffolded changelog skeleton no longer carries a templated
    `## Unreleased` entry referencing an upstream devkit issue.
- **The `release` feature group now covers the release `just` recipes
too**
  ([#1656](#1656))
  - The managed `.devcontainer/justfile.gh` kept shipping its
`[group('release')]` recipes to a repo whose release workflows the same
group had pruned, so `just prepare-release` (and every sibling) could
only
fail at dispatch time — and after #1651 `just reset-changelog` failed
even
    earlier, on a `CHANGELOG.md` the group deliberately withholds.
  - `changelog-preview`, `prepare-release`, `prepare-hotfix`,
    `finalize-release`, `promote-release`, `publish-candidate`,
`abandon-release` and `reset-changelog` are now excised from the
scaffolded
file when `release` is disabled, so `just --list` offers only what the
repo
can actually run. The `gh-issues` / `gh-log` / `gh-branch` helpers stay.
- The file is managed, so the excision costs nothing when the feature is
on
    and clearing the key restores the recipes on the next `--force`.

#### Dependencies

- Update `github/codeql-action` from `b96794f` to `1c5b675`
([#1657](#1657))
- Update `ubuntu` from `24.04` to `26.04-arm`
([#1658](#1658))
- Update `astral-sh/setup-uv` from `v10.1.0` to `v10.2.0`
([#1671](#1671))
- Lock file maintenance (pip)
([#1659](#1659))

### Security

- **Reconcile the 2026-09-30 exception block after online
re-verification**
  ([#1666](#1666),
  [#1667](#1667))
- The T-7 expiry notice forced the re-verification it is designed to
force.
All five entries were accepted in the 2026-06-23 baseline triage with
    "specifics unverified offline"; this time NVD's CPE configurations,
    per-source CVSS and the nixpkgs branch contents were all checked
- `CVE-2026-27820` is **not this product**: it is a buffer overflow in
the
    Ruby `zlib` gem, whose only NVD CPE is `ruby-lang:zlib` with
`target_sw=ruby`. vulnix matched the C zlib 1.3.2 only because 1.3.2
sorts
below the gem's 3.0.1. It was the 9.8 of the set and is now a definitive
false positive in the Class 1 CPE-mismatch block, on the yearly re-check
- The remaining four are real matches and stay, but no longer share a
date.
The libmicrohttpd pair (one defect double-assigned, pure availability
    impact, and an embedded server this image never starts) expires
`2026-10-21` because its 1.0.10 bump is already one branch hop away; the
    sqlite FTS5 pair (local vector, needs a crafted database opened and
MATCH-queried) expires `2026-11-11` because `nixos-26.05` still ships
    3.51.2 with no 26.05 backport open
- Every per-entry note is rewritten to the verified vector, so the
register
    no longer carries a 9.8 justified by a guess

- **Drop the 18 exceptions cleared by the four-package pin advance**
  ([#1666](#1666),
  [#1667](#1667))
- The weekly pin advance `21a67dc4` -> `6d663c05` ships curl 8.22.0,
openssl
3.6.4, libxml2 2.15.4 and pcre2 10.48, so the curl + openssl batch, the
libxml2 entry and the pcre2 entry are all gone from the `dev` closure
- All three blocks named the same exit condition and rode one lever: the
`staging-next-26.05` iteration-7 PR, which reached `release-26.05` on
2026-09-19 and the pinned `nixos-26.05` two days later — the one branch
hop
    plus one weekly advance the 2026-09-16 re-date predicted
- Deleted rather than renewed, four to six weeks before their
`2026-10-21`,
`2026-10-28` and `2026-11-04` expiries: the expiry grid exists so
entries
    die on remediation instead of rolling forward
- The register drops 18 entries to 15 and `vulnix-gate` stays green on
`dev`.
`main` keeps the blocks until the next release train carries the pin and
    the register over together

- **Except the unbound DNSSEC-validator advisory in the vulnix
register**
  ([#1668](#1668),
  [#1669](#1669))
  - The NVD feed published `CVE-2026-81642` (9.8 CRITICAL) against
`unbound-1.26.0` overnight, taking both nightly scan lanes and the
release
    train's `vulnix-gate` red on a single package
- A feed event, not a closure change: the previous night's scan was
green on
the same closures — the 2026-09-21 pin advance had already merged and
been
scanned — and the findings delta is 1 added / 0 removed / one package
per
    ref, with no exception expired
- Advancing the pin cannot clear it today: `nixos-26.05`,
`staging-26.05` and
`master` all still ship 1.26.0 with no CVE-named patch. The fix is
upstream
in 1.26.1 and its `staging-26.05` backport is still open, two branch
hops
    from the pinned channel
- Expires `2026-11-04` on its own Wednesday. The closure carries
`libunbound`
only — verified with `nix why-depends` against the built runtime
closure,
reached via podman -> gpgme -> gnupg -> gnutls, with `libgnutls-dane.so`
its sole consumer — so there is no resolver daemon and no `unbound`
binary
    for the advisory's vector to run against
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