Repository navigation
chore: release 1.6.0 - #1341
Merged
Merged
chore: release 1.6.0#1341
Conversation
Syncs `dev` with `main` (sync-main-to-dev workflow).
…ombstones (#1320) ## Description Lesson from the 1.5.0 ghost: org-enforced release immutability tombstones the tag name of any published-then-deleted release. `devkit-smoke-test`'s `1.5.0` became permanently unusable after a finalize restart deleted its published release, forcing the fully validated train to re-release as 1.5.1. This PR captures that lesson in `docs/RELEASE_CYCLE.md`. ## Type of Change - [x] `docs` -- Documentation only ## Changes Made - New policy bullet in **Immutable releases, tag rulesets, and forward-fix policy**: deleting a *published* release permanently tombstones its tag name (`GH013`); drafts never tombstone. - New recovery-procedures subsection **Restarting a Finalized Release — the Point of No Return**: finalize restarts are cheap only while every release object in the pipeline (devkit **and** `devkit-smoke-test`) is still a draft; once smoke-test publishes its final, the version is committed — restarting means burning it (re-cut as next patch). Includes a pre-restart `gh release view --json isDraft` check for both repos. - Changelog entry under `## Unreleased` → Changed (mirrored to `assets/workspace/.devcontainer/CHANGELOG.md` by sync-manifest). ## Changelog Entry ### Changed - **Release runbook: restart point of no return** ([#1318](#1318)) - `docs/RELEASE_CYCLE.md` now documents that deleting a **published** GitHub Release under org-enforced immutability permanently tombstones its tag name (`GH013`), and adds a recovery-procedures subsection: finalize restarts are free only while every release object in the pipeline (devkit **and** `devkit-smoke-test`) is still a draft; once smoke-test publishes its final, the version is committed and a restart means burning it (re-cut as the next patch). Lesson from the 1.5.0 ghost. ## Testing - [x] `just precommit` green on all files (pymarkdown, typos, sync-manifest included) - Docs-only change; no runtime surface. Anchor links verified against GitHub slug rules. ## Checklist - [x] I have performed a self-review of my code - [x] I have updated the documentation accordingly (`docs/RELEASE_CYCLE.md` is hand-maintained, not template-generated) - [x] I have updated `CHANGELOG.md` in the `[Unreleased]` section (and pasted the entry above) - [x] My changes generate no new warnings or errors ## Additional Notes Companion to #1319 (promote-gate tombstone detection), which will land separately and link to the runbook section added here. Closes #1318 Refs: #1318 https://claude.ai/code/session_01MiPJmV8hXX6RPiggZAMZwg
… the real cause Refs: #1319
… the real cause (#1321) ## Description Lesson from the 1.5.0 ghost (#1301): under org-enforced release immutability, deleting a *published* release permanently tombstones its tag name. The workflows reported this state misleadingly — the downstream publish died with a generic "Failed to push tag" / raw `gh` error, and devkit's promote gate advised "wait for the smoke-test workflow to publish its final release, then retry", which is futile when the tag can never be re-published. This PR makes both surfaces name the real cause: **version burned — re-cut required**. > **Stacked on #1320** (branched from `feature/1318-unfreeze-runbook` to avoid a CHANGELOG conflict; merge #1320 first, after which this PR shows only its own diff). The error messages point at the runbook section #1320 adds. ## Type of Change - [x] `feat` -- New feature ## Changes Made - `assets/workspace/.github/workflows/release-publish.yml` (template, ships to consumers incl. `devkit-smoke-test`): - **Create and push tag**: the push output is captured; a `GH013` / "creations restricted" rejection is diagnosed as a tombstoned tag name with a burned-version message and runbook URL, instead of falling through to the generic push error. - **Create GitHub Release**: the two `gh release create` branches (identical except `--prerelease`) are folded into one args-array invocation whose failure output gets the same `GH013` diagnosis. - `.github/workflows/promote-release.yml` (devkit): the cross-repo gate's no-downstream-release error now names the tombstone as a possible cause (with the `GH013` signature to look for in the smoke-test release run) and points at the runbook. The gate itself cannot distinguish a tombstone from a not-yet-published draft — both are a 404 on `/releases/tags/:tag` — which is why the authoritative detection lives at the creation sites. - New workflow-shape test `tests/test_release_tombstone_detection.py` (RED committed first per TDD) pinning the `GH013` detection in both template steps and the gate message. ## Changelog Entry ### Added - **Tombstoned tag names fail with the real cause** ([#1319](#1319)) - The downstream `release-publish.yml` template now recognizes the `GH013` "creations restricted" signature on tag push and release creation — the mark of a tag name permanently retired because its published release was deleted under org-enforced immutability — and fails with a "version burned — re-cut required" diagnosis instead of a generic push/create error. - Devkit's `promote-release.yml` cross-repo gate no longer only advises "wait and retry" when no downstream release exists: it names the tombstone as a possible cause and points at the point-of-no-return runbook. ## Testing - [x] `tests/test_release_tombstone_detection.py`: 4 failing tests committed first (RED), all green after implementation - [x] Workflow-shape + scaffold suites green: `test_release_tag_prefix`, `test_promote_mergeability`, `test_scaffold_lint` (caught an unshipped-path reference — doc pointer rewritten to absolute URL), `test_scaffold_drift`, `test_workflow_model`, `test_floating_tags`, `test_release_core_*`, `test_transforms` — 135 passed - [x] Rendered-workflow actionlint bats (#995): all 5 modes green (devcontainer/direnv/bare/both/smoke-test), incl. bundled shellcheck over the new run-block bash - [x] `just precommit` green on all files ### Manual Testing Details The live `GH013` path is only provable on a real tombstone; the tests pin the script shape. The template change reaches `devkit-smoke-test` at the next devkit release + re-scaffold, so it ships dormant until then. ## Checklist - [x] I have performed a self-review of my code - [x] I have updated the documentation accordingly (runbook lands in #1320) - [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 ## Additional Notes Devkit's own `release.yml` tag push (`release.yml:982`) has the same theoretical exposure, but devkit's 1.5.0 draft was never published so it was not tombstoned in the incident; left out per issue scope — can file a follow-up if wanted. Closes #1319 Refs: #1319 https://claude.ai/code/session_01MiPJmV8hXX6RPiggZAMZwg
This PR contains the following updates: | Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) | |---|---|---|---| | [github-backup](https://redirect.github.com/josegonzalez/python-github-backup) | `==0.65.0` → `==0.65.1` |  |  | --- ### Release Notes <details> <summary>josegonzalez/python-github-backup (github-backup)</summary> ### [`v0.65.1`](https://redirect.github.com/josegonzalez/python-github-backup/blob/HEAD/CHANGES.rst#0651-2026-08-01) [Compare Source](https://redirect.github.com/josegonzalez/python-github-backup/compare/0.65.0...0.65.1) *** - Fix timeline not being properly incremental. \[Duncan Ogilvie] - Chore(deps): bump twine from 6.2.0 to 7.0.0 in the python-packages group. \[dependabot\[bot]] Bumps the python-packages group with 1 update: [twine](https://redirect.github.com/pypa/twine). Updates `twine` from 6.2.0 to 7.0.0 - [Release notes](https://redirect.github.com/pypa/twine/releases) - [Changelog](https://redirect.github.com/pypa/twine/blob/main/docs/changelog.rst) - [Commits](https://redirect.github.com/pypa/twine/compare/6.2.0...7.0.0) *** updated-dependencies: - dependency-name: twine dependency-version: 7.0.0 dependency-type: direct:production update-type: version-update:semver-major dependency-group: python-packages ... </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:eyJjcmVhdGVkSW5WZXIiOiI0NC4zLjIiLCJ1cGRhdGVkSW5WZXIiOiI0NC4zLjIiLCJ0YXJnZXRCcmFuY2giOiJkZXYiLCJsYWJlbHMiOltdfQ==-->
This PR contains the following updates: | Update | Change | |---|---| | lockFileMaintenance | All locks refreshed | 🔧 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:eyJjcmVhdGVkSW5WZXIiOiI0NC4zLjIiLCJ1cGRhdGVkSW5WZXIiOiI0NC4zLjIiLCJ0YXJnZXRCcmFuY2giOiJkZXYiLCJsYWJlbHMiOltdfQ==-->
Add a time-boxed .vulnixignore block (expires 2026-08-31) for the three HIGH libssh2 1.11.1 CVEs disclosed 2026-07-24 that turned the nightly vulnix gate red on dev and main from 2026-07-31: CVE-2026-66033, -66034, -66035. All three are client-side flaws requiring a connection to a malicious SSH server; libssh2 enters the closure only as curl's scp/sftp backend. Upstream has published no release since 1.11.1 and the nixpkgs patches (NixOS/nixpkgs#547491) are still on staging behind #546446, so no rev-advance is available. Prune five entries that are already fixed at the pinned rev by the #1273 pin advance, which the register was never reconciled against: CVE-2026-55200 (libssh2), CVE-2026-41992 (gzip) and CVE-2026-11979 (libxml2) carry CVE-named nixpkgs patches, which vulnix credits; socat is at 1.8.1.3 (CVE-2026-56123) and ldns at 1.9.2 (CVE-2026-10846). The libssh2 and socat entries lapsed on 2026-08-03, failing check-expirations on every branch. Renew podman CVE-2026-57231 (lapsing 2026-08-06) to 2026-08-31: nixos-26.05 still ships 5.8.2 and the release-26.05 backport is still a draft. Refs: #1327
…ons (#1329) ## Summary Remediates the nightly vulnix gate failure that has been red on **both refs** since 2026-07-31 ([run 30614074169](https://github.com/vig-os/devkit/actions/runs/30614074169) → #1322 dev / #1323 main, and again 08-01/08-02/08-03), **and** the two register exceptions that lapsed on 2026-08-03 — which since today fail `check-expirations` in the pre-commit hook and at `ci.yml:390`, i.e. on *every* branch, not just the nightly. Both refs share the same nixpkgs pin (`nixos-26.05` @ `8623c4c2`), so this single register fix covers both; `main` goes green at the next promote. Register-only — no image or code change. - **New libssh2 block** (expires 2026-08-31): the three unexcepted HIGH findings — CVE-2026-66033, CVE-2026-66034, CVE-2026-66035 (7.5 each), disclosed 2026-07-24 and in the vulnix feed from 07-30. A findings diff against the last green run (30523258723) confirms these three are the only delta. All are **client-side** flaws requiring a connection to a *malicious SSH server*; libssh2 enters the closure only as curl's scp/sftp backend (git uses openssh), the same reachability class as the accepted CVE-2026-58050. No rev-advance exists: upstream has published no release since 1.11.1 (2024-10-16) and [NixOS/nixpkgs#547491](NixOS/nixpkgs#547491) is open against *staging*, gated behind nixpkgs#546446, with a `release-26.05` backport still to come. - **Five dead exceptions pruned.** All were already fixed at the pinned rev by the #1273 pin advance, which the register was never reconciled against: | Removed | Package | Why it was already dead | |---------|---------|-------------------------| | CVE-2026-55200 | libssh2 | pin applies `CVE-2026-55200.patch` (nixpkgs `f6ae2642`, 2026-07-01) — vulnix credits CVE-named `patches`, so it stopped reporting it | | CVE-2026-41992 | gzip | pin applies `CVE-2026-41992.patch` | | CVE-2026-11979 | libxml2 | pin applies `CVE-2026-11979.patch` (both attrs) | | CVE-2026-56123 | socat | pin ships 1.8.1.3, past the 1.8.1.2 fix | | CVE-2026-10846 | ldns | pin ships 1.9.2 (register said 1.9.0) | The first and fourth are the entries that lapsed on 2026-08-03. Each removal leaves a dated comment in place of the entry, so the register still records the decision. - **podman CVE-2026-57231 renewed** 2026-08-06 → 2026-08-31 (it lapses in two days). Re-verified today: `nixos-26.05` HEAD still ships 5.8.2 and the backport [nixpkgs#536367](NixOS/nixpkgs#536367) is still a *draft*, untouched since 2026-07-20 — no lever. Aligned to 08-31 with the libssh2 and unbound blocks so the register gets one combined re-review pass. ## Every entry checked All 31 remaining entries were diffed against the 2026-08-03 findings and against the package state at the pinned rev. The only entries that no longer correspond to a finding are the three Class-1 Jenkins-Git CPE collisions (CVE-2022-30947/-36882/-36883); they are documented false positives on a yearly re-check (exp 2027-06-23) and are kept as-is — dropping them buys nothing and risks flapping if the NVD CPE data changes back. Everything else (glibc ×6, zlib, sqlite ×2, libmicrohttpd ×2, fzf ×2, libssh2 CVE-2026-58050, gawk ×4, unbound ×5, shellcheck) is still reported and correctly retained. ## Verification Both gates replayed locally against the **real** artifacts from the failing run (30797351489), for each ref: ``` $ uv run check-expirations .trivyignore .vulnixignore Validated 35 exception(s) across 2 file(s) # exit 0 $ uv run vulnix-gate nix-image-cve-scan-dev/vulnix-findings.json --register .vulnixignore No unexcepted HIGH/CRITICAL findings (CVSS >= 7.0); 31 exception(s) applied # exit 0 $ uv run vulnix-gate nix-image-cve-scan-main/vulnix-findings.json --register .vulnixignore No unexcepted HIGH/CRITICAL findings (CVSS >= 7.0); 31 exception(s) applied # exit 0 ``` `pre-commit run --all-files` green in the working tree (51 hooks passed, exit 0). ## Follow-ups (not in this PR) - #1328 — gawk **5.4.1 has now reached `nixos-26.05`**, so the gawk block (4 CVEs, exp 08-18) finally has a rev-advance target and should be *dropped*, not renewed again. - On a red gate the job aborts before "Build the Nix image for SBOM generation", so the CycloneDX SBOM and the Trivy defence-in-depth view are missing from the artifact exactly when they are most useful (17 kB on 2026-08-03 vs 466 kB on 2026-07-30). Worth reordering or moving the SBOM steps behind `if: always()`. - The gap noted in #1257 is now live-proven: had this not been fixed today, tonight's scheduled run would have died at `check-expirations` — *before* the tracking-issue automation, which guards on `vulnix-gate.outcome == 'failure'`, could fire. Closes #1327. Also resolves #1322 and #1323 (close manually after merge — `Closes` does not auto-close on `dev`-targeted PRs).
Scheduled refresh of the nixpkgs-unstable pin (uv, gh, claude-code via the fastMovers overlay). Full CI on this PR is the merge gate. Refs: #817
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [aquasecurity/trivy](https://redirect.github.com/aquasecurity/trivy) | uses-with | minor | `v0.72.0` → `v0.73.0` | --- ### Release Notes <details> <summary>aquasecurity/trivy (aquasecurity/trivy)</summary> ### [`v0.73.0`](https://redirect.github.com/aquasecurity/trivy/releases/tag/v0.73.0) [Compare Source](https://redirect.github.com/aquasecurity/trivy/compare/v0.72.0...v0.73.0) #### ⚡ Highlights ⚡ 👉 <https://redirect.github.com/aquasecurity/trivy/discussions/11033> #### Changelog <https://github.com/aquasecurity/trivy/blob/main/CHANGELOG.md#0730-2026-08-03> </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:eyJjcmVhdGVkSW5WZXIiOiI0NC4zLjIiLCJ1cGRhdGVkSW5WZXIiOiI0NC4zLjIiLCJ0YXJnZXRCcmFuY2giOiJkZXYiLCJsYWJlbHMiOltdfQ==-->
The root renovate.json extended the shared preset via the pre-rename repo slug (github>vig-os/devcontainer//...). After the devcontainer -> devkit rename (#781) that reference only resolves through GitHub's rename redirect; if a new repo ever claims the old vig-os/devcontainer name the redirect breaks silently and devkit would load a foreign preset. Retarget the extends at the canonical vig-os/devkit slug. Refs: #1333
Add a drift-gated pytest that pins the shipped renovate preset's disabled set to exactly the managed workflow directory (minus the PRESERVE_FILES seams) plus the two managed composite actions, and asserts devkit's root renovate.json re-enables its own root paths with a later rule. Derives the enumeration from the directory listing and the PRESERVE_FILES SSoT so a new/renamed managed workflow cannot silently reopen the gap. Fails until the preset and root config carry the rules. Refs: #1332
Append an enabled:false packageRule (last, so consumer rules win) to the shipped preset naming exactly the managed workflow set plus the two managed composite actions. Their SHA-pinned digests advance upstream in devkit and ship with each release, so downstream Renovate stops opening duplicate pin-bump PRs that the next devkit-upgrade clobbers. Devkit extends the same preset, so re-enable .github/workflows/** and .github/actions/** in the root renovate.json to keep advancing the pins devkit owns. Refs: #1332
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [github/codeql-action](https://redirect.github.com/github/codeql-action) ([changelog](https://redirect.github.com/github/codeql-action/compare/f205ea1c3313d32999d8d6a48b4f6530d4437b38..d1ba80a13dd99fba24a470575428917156a28b43)) | action | digest | `f205ea1` → `d1ba80a` | --- ### 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:eyJjcmVhdGVkSW5WZXIiOiI0NC4zLjIiLCJ1cGRhdGVkSW5WZXIiOiI0NC4zLjIiLCJ0YXJnZXRCcmFuY2giOiJkZXYiLCJsYWJlbHMiOltdfQ==-->
Add a "Dependency maintenance for managed files (Renovate)" section to WORKFLOW_SECURITY.md: dependency responsibility for managed workflows and composite actions sits upstream in devkit, the shipped preset disables consumer renovate for that set, the accepted vulnerability-PR trade-off, and how a consumer opts a specific managed file back in from its preserved renovate.json (later rules win). Refs: #1332
## Description Devkit's root `renovate.json` still extended the shared preset via the pre-rename repo slug (`github>vig-os/devcontainer//...`), working only through GitHub's rename redirect (#781). This points it at the current slug, `github>vig-os/devkit//...`, removing the silent-breakage risk if the old name is ever reclaimed. ## Type of Change - [x] `chore` -- Maintenance task (deps, config, etc.) ## Changes Made - `renovate.json`: `extends` preset reference updated `vig-os/devcontainer` → `vig-os/devkit`. One line; nothing else touched. - Repo-wide audit of remaining `vig-os/devcontainer` hits performed and classified (image-name references are the GHCR image's real name and stay; other repo-slug references — flake-template URLs, docs prose, test fixtures — are listed on the issue as follow-up candidates, out of scope here). ## Changelog Entry No changelog needed -- internal CI configuration chore with no user-visible impact (root `renovate.json` is devkit-own, not a shipped asset). ## Testing - [x] Tests pass locally (`prek run --all-files` green, both hook groups) - [x] Manual testing performed (describe below) ### Manual Testing Details - `renovate-config-validator` is not available offline (renovate is not an npm dependency of this repo); JSON well-formedness verified, and the repo's `renovate-validate` workflow covers validation in CI. ## Checklist - [x] My code follows the project's style guidelines - [x] I have performed a self-review of my code - [x] My changes generate no new warnings or errors - [x] New and existing unit tests pass locally with my changes ## Additional Notes TDD skipped: non-testable one-line config change. Closes #1333 Refs: #1333
…ate (#1335) ## Description Consumer repos scaffolded by devkit run Renovate against the devkit-**managed** workflows and composite actions, opening duplicate pin-bump PRs that the next `devkit-upgrade` regenerates over (and, when a consumer ran ahead of a devkit train, actively downgrades). This PR makes the shipped preset the single decision point: consumer Renovate now ignores the managed set; devkit's own Renovate remains the sole channel that advances those pins, shipping them with each release. ## Type of Change - [x] `feat` -- New feature ## Changes Made - **`assets/workspace/.github/renovate-default.json`** (managed preset, rolls out on upgrade): trailing `enabled: false` packageRule enumerating the 13 managed workflows (all shipped minus the consumer-owned seams `release-extension.yml` / `prepare-release-extension.yml`) plus `.github/actions/setup-devkit-toolchain/**` and `.github/actions/resolve-toolchain/**`. Last on purpose: a consumer's own later `packageRules` (preserved root `renovate.json`) win, so opting back in stays possible. - **`renovate.json`** (devkit root): trailing `enabled: true` rule for `.github/workflows/**` and `.github/actions/**` — devkit extends the same preset and shares those rooted paths, so it re-enables its own files. The shipped copies under `assets/workspace/` were never caught (rooted `matchFileNames` globs don't match nested paths). - **`tests/test_renovate_preset_managed_exclusion.py`**: drift gate — derives the managed set from the workflow directory listing minus `PRESERVE_FILES` (via `sync_manifest.load_preserve_files`, nothing hardcoded) and asserts both rules exist and are last (ordering is load-bearing). - **`docs/WORKFLOW_SECURITY.md`**: new section on upstream dependency responsibility for managed files, the vulnerability-PR trade-off, and the consumer opt-back-in recipe. - `assets/workspace/.devcontainer/CHANGELOG.md`: generated sync-manifest mirror of the CHANGELOG edit. ## Changelog Entry ### Changed - **Consumer Renovate ignores devkit-managed workflows and actions** ([#1332](#1332)) - The shipped preset (`.github/renovate-default.json`) now disables Renovate for the managed workflow set and the two managed composite actions via a trailing `enabled: false` packageRule. Their SHA-pinned action digests advance upstream in devkit and ship with each release, so downstream Renovate no longer opens duplicate pin-bump PRs that the next `devkit-upgrade` clobbers. - The rule is last, so a consumer can opt a specific managed file back in from their preserved `renovate.json` (later rules win). Devkit's own root `renovate.json` re-enables its root workflows/actions so devkit keeps advancing the pins it owns. ## Testing - [x] Tests pass locally (`just test`) - [x] Manual testing performed (describe below) ### Manual Testing Details - TDD: drift-gate test committed RED first (3 failed), GREEN after the config change (3 passed). - Related unit subset (renovate preset, zizmor baseline, private-repo guard, release/prepare extension, scaffold drift, workflow model): 76 passed, exit 0. - `prek run --all-files`: fully green (51 hooks, exit 0). - `renovate-config-validator` not runnable offline (renovate is not an npm dep of this repo); JSON validity hook-checked, CI's `renovate-validate` workflow covers schema validation. ## Checklist - [x] My code follows the project's style guidelines - [x] I have performed a self-review of my code - [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 ## Additional Notes - Live behavior lands in consumers with the next release train via `devkit-upgrade` (the preset is a managed file). One-time step at rollout: close any open downstream renovate PRs touching managed workflows — they will not be recreated. - The issue's `baseBranchPatterns` sanity check confirmed a **separate** pre-existing bug for trunk-model consumers (preset hardcodes `["dev"]`; trunk repos have no `dev`, leaving Renovate inert there) — reported on #1332 and filed independently; not addressed here (minimal diff). - Merge-order note: #1334 also touches root `renovate.json` (its `extends` line); whichever merges second may need a trivial rebase. Closes #1332 Refs: #1332
RED: the trunk scaffold leaves baseBranchPatterns ["dev"] in .github/renovate-default.json, so Renovate has no branch to operate on in a trunk consumer. Also extend the gitflow byte-identical guard to the preset (placeholder-free render target). Refs: #1336
…n trunk Renovate restricted to a base-branch pattern matching no existing branch has nothing to operate on, so trunk consumers (no dev branch) ran no updates at all. render_workflow_model now rewrites the anchored preset line dev -> main; existing trunk repos self-heal on their next devkit-upgrade. Verified inert live on exo-pet/vault and vig-os/org-config before the fix. Refs: #1336
Document an expiry grid for the exception registers in docs/CONTAINER_SECURITY.md: every Expiration: date lands on a Wednesday, so an entry turns red on the Thursday after the week's Renovate nixpkgs bump has merged and the first nightly scan has produced a findings delta against the new closure. Earlier weekdays force a blind extension (or, on a Sunday, take unrelated PRs red before the week's Renovate PRs open); later ones lapse over an unattended weekend, blocking every commit. Snap the 12 non-conforming dates across .vulnixignore, .trivyignore and .github/dependency-review-allow.txt onto the grid, shifting each by at most 3 days. Scheduling only: no risk assessment is re-opened or altered. check_expirations.py is deliberately unchanged — it is scaffolded into consumer repos whose cadence may differ, so this stays a convention enforced by review. Refs: #1337
…n trunk (#1339) ## Description Trunk-model consumers (`DEVKIT_WORKFLOW=trunk`) keep the gitflow-shaped `baseBranchPatterns: ["dev"]` in their scaffolded `.github/renovate-default.json` — but have no `dev` branch, so Renovate has nothing to operate on and runs no updates at all (verified live on `exo-pet/vault` and `vig-os/org-config`). The trunk render now retargets the preset to `["main"]`, mirroring the existing dev→main retarget for workflows. ## Type of Change - [x] `fix` -- Bug fix ## Changes Made - **`assets/init-workspace.sh`** (`render_workflow_model`): new anchored sed rewrites `"baseBranchPatterns": ["dev"]` → `["main"]` in the scaffolded `.github/renovate-default.json` under trunk; gitflow remains a byte-for-byte no-op. The consumer-owned root `renovate.json` is preserved and untouched. - **`tests/test_workflow_model.py`**: new `test_trunk_renovate_preset_targets_main` (drives the real `init-workspace.sh` end-to-end, like the rest of the suite), and `.github/renovate-default.json` added to `NO_PLACEHOLDER_RENDER_FILES` so the gitflow byte-identical guard covers the new render target. - `CHANGELOG.md` + `.devcontainer` mirror. ## Changelog Entry ### Fixed - **Trunk consumers' Renovate preset now targets `main`** ([#1336](#1336)) - The trunk render (`render_workflow_model`) retargets `baseBranchPatterns` from `["dev"]` to `["main"]` in the scaffolded `.github/renovate-default.json`. Previously a `DEVKIT_WORKFLOW=trunk` consumer kept `["dev"]` while having no `dev` branch, leaving Renovate with nothing to operate on — effectively inert. Existing trunk repos self-heal on their next `devkit-upgrade`. ## Testing - [x] Tests pass locally (`just test`) - [x] Manual testing performed (describe below) ### Manual Testing Details - TDD: test committed RED first (trunk scaffold keeps `["dev"]`), GREEN after the render change. - `tests/test_workflow_model.py`: 23 passed (includes the gitflow no-op guards — gitflow output stays byte-identical to the template). - `bats tests/bats/init-workspace.bats`: 278 ok, exit 0. - `prek run --all-files`: green, exit 0. ## Checklist - [x] My code follows the project's style guidelines - [x] I have performed a self-review of my code - [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 ## Additional Notes Rollout: the preset is a managed file, so vault, org-config, and exo-fleet self-heal on their next `devkit-upgrade` after this ships — no manual consumer action. Their first Renovate run after that upgrade will open the accumulated update PRs (including the #1332 managed-file exclusion taking effect for the first time on trunk repos, since Renovate was inert there until now). Closes #1336 Refs: #1336
…id (#1338) ## Description Adopts a documented **Wednesday expiry grid** for the security exception registers and re-schedules every current entry onto it. Expiry dates were previously picked ad hoc and landed on arbitrary weekdays (Sat ×1, Mon ×5, Tue ×6, Wed ×1). Since `check-expirations` runs in every PR CI, in pre-commit, in the release train and in both nightly scan legs, a lapse blocks all work in the repo — as it has four times already (#550, #1257, #1260, #1327). ## Type of Change - [x] `chore` -- Maintenance task (deps, config, etc.) ### Modifiers - [ ] Breaking change (`!`) ## Changes Made **`docs/CONTAINER_SECURITY.md` §5** — new "Expiry dates land on a Wednesday" subsection (SSoT for the convention; `SECURITY.md` keeps linking here rather than restating it): - Wednesday is chosen from the mechanics, not from the Renovate window alone. `check-expirations` fails when `today > expiration`, so a Wednesday entry turns red on Thursday — *after* the week's Renovate `nixpkgs` bump (Monday window) has merged and the first nightly scan has produced a findings delta against the new closure. PR CI does not run `vulnix`, so the bump PR itself reveals nothing; the delta is what lets a review **delete** entries instead of blindly extending them. - Earlier weekdays force that blind extension, or — on a Sunday — leave the register red before the week's Renovate PRs even open, which is exactly how #550 took 16 unrelated PRs red at once. Later weekdays lapse over an unattended weekend. - Documents the snapping rule (nearest Wednesday, shift ≤ 3 days, prefer the shorter window on ties), the explicit dependency on the Renovate `schedule` so the rationale cannot silently rot, and a "stagger across weeks, not weekdays" note. **Registers** — all 12 non-conforming dates snapped onto the grid, each with a header note recording the snap and that no risk assessment was re-opened: | File | Change | |---|---| | `.vulnixignore` | glibc `08-15` (Sat) → `08-12` (−3); fzf `08-17` → `08-19` (+2); gawk `08-18` → `08-19` (+1); libssh2 `09-01` → `09-02` (+1); four `08-31` blocks (zlib/sqlite/libmicrohttpd, podman, unbound, libssh2 6603x) → `09-02` (+2). The Class-1 CPE-mismatch block (`2027-06-23`) was already a Wednesday and is untouched. | | `.trivyignore` | three blocks `09-01` → `09-02` (+1) | | `.github/dependency-review-allow.txt` | `09-01` → `09-02` (+1) | **Not changed, deliberately:** `check_expirations.py`. The validator is scaffolded into consumer repos (`assets/workspace/.pre-commit-config.yaml`) whose Renovate schedule can be overridden — hard-enforcing a weekday would push devkit's cadence org-wide and add a new failure class to the very tool whose failures this reduces. The convention is enforced by review. ## Changelog Entry ``` ### Changed - **Security exception expiries land on a Wednesday** ([#1337](#1337)) - `docs/CONTAINER_SECURITY.md` now documents an expiry grid for the exception registers: every `Expiration:` date is picked on a Wednesday, so an entry turns red on the Thursday *after* the week's Renovate `nixpkgs` bump has merged and the first nightly scan has produced a findings delta against the new closure — the point at which a review can delete entries instead of blindly extending them. Earlier weekdays force that blind extension (or, on a Sunday, take unrelated PRs red before the week's Renovate PRs even open); later ones lapse over an unattended weekend, blocking every commit. - All 12 non-conforming dates across `.vulnixignore`, `.trivyignore` and `.github/dependency-review-allow.txt` were snapped onto the grid (shift ≤ 3 days each). This is a scheduling change only — no risk assessment was re-opened or altered. Notably the glibc block no longer expires on a Saturday, where it would have turned red unattended on Sunday 2026-08-16. - Convention enforced by review, not by `check-expirations`: the validator is unchanged, since it is scaffolded into consumer repos whose release cadence may differ. ``` ## Testing - [x] Tests pass locally - [x] Manual testing performed (below) ### Manual Testing Details - `just precommit` — **full suite green** (`EXIT=0`), including `check-expirations`, `pymarkdown`, `typos` and `sync-manifest`. - `uv run check-expirations .trivyignore .vulnixignore` → `Validated 35 exception(s) across 2 file(s)`, exit 0. - `uv run check-expirations .github/dependency-review-allow.txt` → `Validated 1 exception(s) across 1 file(s)`, exit 0. - Every `Expiration:` directive verified against `date -d <date> +%A`: all 13 (9 + 3 + 1) resolve to **Wednesday**. No unit tests added: this is a documentation and register-data change, and `check_expirations.py` — the only executable component involved — is unchanged and already covered by `packages/vig-utils/tests/test_check_expirations.py`. ## 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 - [x] I have updated `CHANGELOG.md` in the `[Unreleased]` section (and pasted the entry above) - [x] My changes generate no new warnings or errors - [ ] I have added tests — n/a, see Manual Testing Details - [x] New and existing unit tests pass locally with my changes - [x] Any dependent changes have been merged and published ## Additional Notes Three follow-ups worth knowing about, none blocking: 1. **The Saturday entry was the urgent one.** The glibc block would have turned red unattended on **Sunday 2026-08-16 at 05:00 UTC**, blocking every commit until renewed. It now lapses on a Thursday. 2. **The gawk block may be deleted rather than renewed.** #1328 reports gawk 5.4.1 has landed in `nixos-26.05`; if that pin advance merges first, drop the block instead of carrying its new `08-19` date. 3. **Eight of thirteen directives now share `2026-09-02`.** That is the intended combined re-review pass, but it means one stalled review blocks the whole register. De-clustering should happen at each block's *next* renewal by choosing different week-multiples — doing it now would either exceed the ±3 day cap or pull unrelated reviews forward. `assets/workspace/.devcontainer/CHANGELOG.md` is in the diff because `sync-manifest` mirrors the root changelog; it is not a hand edit. Closes #1337 Refs: #1337
gawk 5.4.1 reached nixos-26.05 on 2026-08-03, so the pin advance in this branch (8623c4c2 -> 531670d8) finally gives the "advance the rev" lever somewhere to land. Remove the 2026-07-14 CERT-PL block (CVE-2026-40467, -40468, -40469, -40553) outright instead of renewing it a third time after #1240 and #1273. The before/after vulnix closure diff over the rebuilt image env is exactly those four CVEs (59 -> 55 unique advisories, nothing new), and vulnix-gate passes on 27 exceptions, down from 31. Re-verified the rest of the register against the new rev: fzf 0.72.0, libssh2 1.11.1 (still carrying no 6603x patch), unbound 1.25.1 and podman 5.8.2 are all unchanged, so nothing else became droppable; those blocks keep their exceptions with a 2026-08-04 re-verification note. Refs: #1328
…1340) ## Description Advances the pinned `nixpkgs` rev so the gawk exception block can be **deleted rather than renewed a third time**, per #1328. `nixos-26.05` started shipping gawk **5.4.1** on 2026-08-03. The block (CVE-2026-40467, -40468, -40469, -40553, from the 2026-07-14 CERT-PL batch, #1071) only ever existed because the fix sat in nixpkgs `staging` as a stdenv mass-rebuild, leaving the "advance the rev" lever with nowhere to land — which is why it was extended at #1240 and again at the #1273 pin advance. The lever is now available, and the block would have lapsed on 2026-08-19. Closes #1328 ## Type of Change - [x] `fix` -- Bug fix - [x] `build` -- Build system or dependency changes ### Modifiers - [ ] Breaking change (`!`) ## Changes Made - `flake.lock`: `nixpkgs` (nixos-26.05) `8623c4c2` (2026-07-26) → `531670d8` (2026-08-03). Only the `nixpkgs` node moves (3 lines). - `.vulnixignore`: the gawk block is removed and replaced with a tombstone note recording why, matching the convention #1327 used for the entries it pruned. - `.vulnixignore`: the four retained "awaiting upstream" blocks get a 2026-08-04 re-verification line against the new rev. - `CHANGELOG.md` + the `assets/workspace/.devcontainer/` mirror (via `just sync-workspace`). ## Changelog Entry ```markdown ### Security - **Advance the nixpkgs pin and drop the gawk exception block** ([#1328](#1328)) - Advanced the pinned `nixpkgs` rev (`flake.lock`) from nixos-26.05 @ `8623c4c2` (2026-07-26) to @ `531670d8` (2026-08-03), which is the first pinned-channel rev to ship **gawk 5.4.1**. The rebuilt closure confirms it. - Removed the gawk 5.4.0 CERT-PL block (CVE-2026-40467, -40468, -40469, -40553) instead of renewing it a third time. It had been extended at #1240 and again at the #1273 pin advance only because the fix sat in nixpkgs `staging` as a stdenv mass-rebuild, leaving the "advance the rev" lever with nowhere to land. - The before/after `vulnix` closure diff is exactly those four CVEs (59 → 55 unique advisories) with nothing new appearing, and the gate passes on 27 exceptions (down from 31). - The rest of the register was re-verified against the new rev and nothing else became droppable: fzf (0.72.0), libssh2 (1.11.1, still carrying no 6603x patch), unbound (1.25.1) and podman (5.8.2) are all unchanged, so those blocks are retained with a 2026-08-04 re-verification note. ``` ## Testing - [x] Manual testing performed (below) ### Manual Testing Details Both closures were built locally and scanned with the same command the nightly `security-scan.yml` runs (`vulnix --mirror https://vig-os.github.io/nvd-mirror/ --closure ...`). **Closure contents** | Package | Old pin `8623c4c2` | New pin `531670d8` | |---------|--------------------|--------------------| | gawk | 5.4.0 | **5.4.1** | | fzf | 0.72.0 | 0.72.0 | | libssh2 | 1.11.1 | 1.11.1 | | unbound | 1.25.1 | 1.25.1 | | podman | 5.8.2 | 5.8.2 | **Findings diff** (`nix build .#devkitImageEnv` on each pin) - Before: 18 finding groups / 59 unique CVEs - After: 16 finding groups / 55 unique CVEs - Dropped: `CVE-2026-40467`, `CVE-2026-40468`, `CVE-2026-40469`, `CVE-2026-40553` - Added: *(none)* **Gates** - `uv run check-expirations .vulnixignore` → `Validated 27 exception(s)` - `uv run vulnix-gate vulnix-after.json --register .vulnixignore` → `No unexcepted HIGH/CRITICAL findings (CVSS >= 7.0); 27 exception(s) applied` (was 31 exceptions before the prune) - `nix build .#devkitImage` succeeds on the new pin - `just precommit` (full suite, all files) green ## Checklist - [x] I have performed a self-review of my code - [x] I have updated `CHANGELOG.md` in the `[Unreleased]` section (and pasted the entry above) - [x] My changes generate no new warnings or errors - [ ] I have added tests that prove my fix is effective — n/a, this is a dependency-pin and exception-register change; the `vulnix` gate and `check-expirations` are the tests, and both are exercised above and in CI. ## Additional Notes The register is otherwise unchanged. The three `git` CPE-mismatch entries stay even though vulnix does not currently report them — #1327 deliberately keeps Class-1 false positives on a yearly re-check in case the NVD CPE data is corrected. Note this is a stdenv mass-rebuild, so the image layers change wholesale even though only gawk moves version; CI will need to repopulate cachix. Refs: #1328
Move Unreleased content to [1.6.0] - TBD and create fresh empty Unreleased section for continued development.
Regenerate the synced workspace mirror so assets/workspace/.devcontainer/CHANGELOG.md matches the frozen root CHANGELOG.md on the release branch.
The nightly scan uploads its artifact with `if: always()` because a red gate is exactly when the findings are needed, but the image build and CycloneDX SBOM steps sat after the blocking gate unconditioned, so a red gate ended the job before they ran — the artifact was complete only on green runs. Assert the SBOM producers precede the gate, that nothing unconditional follows it, and (already true) that the gate stays blocking and the upload stays always(). RED: 2 failed, 2 passed. Refs: #1342
The CycloneDX SBOM and Trivy defence-in-depth steps carried no `if:` and sat after the blocking gate, so a red gate ended the job first and the artifact — uploaded with `if: always()` precisely because a red gate is when the evidence is needed — lost its SBOM on exactly those runs (17 kB on the red 2026-08-03 dev run vs ~466 kB on the green 2026-07-30 one). Move the SBOM steps above the gate rather than conditioning them, so the gate stays last, blocking and unconditioned: it remains the job's verdict and the tracking-issue automation keyed on `vulnix-gate.outcome` is untouched. Also relax the follow-the-gate assertion from `always()` to "states an explicit condition" — the tracking-issue step legitimately runs on `failure()`, and the invariant that matters is that no step after the gate is unconditioned. Refs: #1342
## Description The nightly scan's SBOM steps ran **after** the blocking `vulnix-gate` with no `if:` condition, so a red gate ended the job before they executed. The artifact — uploaded with `if: always()` precisely because "a red vulnix-gate is exactly when the findings are needed" — therefore carried its CycloneDX SBOM and Trivy defence-in-depth view only on **green** runs, and was stripped on red ones. Targets **`release/1.6.0`**, not `dev`: the branch was cut minutes before this was filed and no RC has been tagged yet, so the fix rides 1.6.0 rather than waiting a train. `dev` picks it up via the release-merge PR. Closes #1342 ## Type of Change - [x] `fix` -- Bug fix - [x] `ci` -- CI/CD pipeline changes ## Changes Made - **`.github/workflows/security-scan.yml`**: the three evidence steps (`Build the Nix image for SBOM generation`, `Generate Nix image SBOM (CycloneDX)`, `Trivy SBOM-mode scan`) move above `Gate on unexcepted HIGH/CRITICAL vulnix findings`. The gate is now the last checking step; only the `always()` upload and summary and the `failure()`-conditioned tracking-issue step follow it. The gate itself is byte-for-byte unchanged apart from a comment noting why it is deliberately last. - **`tests/test_workflow_sbom_ordering.py`** (new): four YAML-shape assertions — the SBOM producers precede the gate; nothing after the gate is unconditioned; the gate stays blocking (no `continue-on-error`, no `if:`); the upload keeps `always()`. Ordering was chosen over `if: !cancelled()` on the SBOM steps so the gate remains the job's final, unambiguous verdict. The cost is that the image build now runs before the gate on every run — but `nix build .#devkitImage` is largely cache-warm after `devkitImageEnv` was built earlier in the same job. ## Changelog Entry Added to the frozen `## [1.6.0] - TBD` section (this ships in 1.6.0, so it does not belong under `## Unreleased`): ```markdown ### Fixed - **The nightly scan keeps its SBOM when the vulnix gate goes red** ([#1342](#1342)) - `security-scan.yml` generated the CycloneDX SBOM and ran the Trivy defence-in-depth view *after* the blocking `vulnix-gate` step, with no `if:` condition, so a red gate ended the job before they ran. The uploaded artifact was complete on green runs and stripped on red ones — the inverse of what triage needs (17 kB on the red 2026-08-03 dev run vs ~466 kB on the green 2026-07-30 one). - The SBOM steps now run before the gate, which stays last, blocking and unchanged — so it remains the job's verdict and the tracking-issue automation that keys on its outcome is unaffected. ``` ## Testing - [x] Tests pass locally (`just test`) - [x] Manual testing performed (describe below) ### Manual Testing Details **TDD, red-first.** The test committed first (`ace02b53`) against the unmodified workflow: ``` FAILED test_sbom_steps_precede_the_blocking_gate FAILED test_nothing_unconditioned_follows_the_gate 2 failed, 2 passed ``` The two that passed are the guards that already held (gate blocking, upload `always()`) — they are regression cover, not new behavior. Re-verified after the fix by stashing only the workflow change, so the *final* test file is proven red against the *original* workflow and green against the fixed one: ``` $ git stash push .github/workflows/security-scan.yml && pytest # 2 failed, 2 passed $ git stash pop && pytest -v # 4 passed ``` **Regression cover**: `pytest -k workflow` → **130 passed**, 529 deselected. **Hooks**: `just precommit` (full suite, all files) green, exit 0, tree unmodified by the run. ### Correction made mid-implementation The first version of `test_nothing_unconditioned_follows_the_gate` asserted that every step after the gate carries `always()`. That was over-specified and failed against the correct workflow: `Open a tracking issue when the vulnix gate fails` deliberately runs on `failure() && steps.vulnix-gate.outcome == 'failure'`. The assertion now requires an *explicit* `if:` on anything following the gate, which is the invariant that actually prevents #1342 — an unconditioned step silently inherits the gate's outcome. ## Checklist - [x] My code follows the project's style guidelines - [x] I have performed a self-review of my code - [x] I have updated `CHANGELOG.md` (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 - [x] New and existing unit tests pass locally with my changes ## Additional Notes Not a regression from anything in 1.6.0 — the ordering has been there since the SBOM steps were added, and it only bites on a red gate, which was rare until the libssh2 batch turned the nightly red on 2026-07-31 (#1322 / #1323). The fix cannot be proven end-to-end without a genuinely red gate, which `dev` no longer has after #1327 and #1328. The YAML-shape tests are the durable proof; the next real red-gate run is the live confirmation. Refs: #1342
…ges land (#1345) Closes #1344. ## What Adds `--checksum` to all three template `rsync -avL` invocations in `assets/init-workspace.sh` (consumer upgrade copy, smoke clean deploy, smoke overlay), so template delivery is decided by content rather than rsync's size+mtime quick-check. ## Why The dereferenced template files carry the Nix store's canonical epoch+1 mtime, and `-a` (`-t`) stamps that mtime onto workspace copies at scaffold time. A later template change that keeps the byte count identical — the digest-for-digest `codeql-action` bump from #1330 in `scorecard.yml` is the live case — then matches the consumer copy on both size and mtime, and rsync silently skips it: the upgrade claims success but never delivers the change. Fresh checkouts (CI) are unaffected, which is exactly how the scaffold-drift gate (#1295) caught it on its first live exercise: 4 of 5 1.6.0-rc1 consumer lanes went red on scaffolds the host-side upgrade itself had produced (org-config#85, sync-issues-action#160, commit-action#124, exo-fleet#268; vault#48 ran from a fresh worktree and passed). ## How verified - TDD: new bats test scaffolds a workspace, ships a same-length template change with both sides at mtime epoch+1, and asserts the re-scaffold delivers it — RED before the fix (rsync itemize shows `.f...p.....`, no transfer), GREEN after. - Full `tests/bats/init-workspace.bats` suite: 279/279 pass (two tests pinning the literal smoke rsync invocation updated to the new flag string). - Full pre-commit suite green. Release-train blocker for 1.6.0 → cut rc2 after merge, then re-bump the five lanes.
c-vigo
marked this pull request as ready for review
August 4, 2026 12:13
c-vigo
approved these changes
Aug 4, 2026
Set release date to 2026-08-04 and regenerate release docs. Refs: #1341
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Release 1.6.0 - 2026-08-04
This PR prepares release 1.6.0 for merge to main.
1.6.0 - 2026-08-04
Added
release-publish.ymltemplate now recognizes theGH013"creations restricted" signature on tag push and release creation — the mark
of a tag name permanently retired because its published release was deleted
under org-enforced immutability — and fails with a "version burned — re-cut
required" diagnosis instead of a generic push/create error.
promote-release.ymlcross-repo gate no longer only advises"wait and retry" when no downstream release exists: it names the tombstone
as a possible cause and points at the point-of-no-return runbook.
Changed
docs/CONTAINER_SECURITY.mdnow documents an expiry grid for the exceptionregisters: every
Expiration:date is picked on a Wednesday, so an entryturns red on the Thursday after the week's Renovate
nixpkgsbump hasmerged and the first nightly scan has produced a findings delta against the
new closure — the point at which a review can delete entries instead of
blindly extending them. Earlier weekdays force that blind extension (or, on
a Sunday, take unrelated PRs red before the week's Renovate PRs even open);
later ones lapse over an unattended weekend, blocking every commit.
.vulnixignore,.trivyignoreand.github/dependency-review-allow.txtwere snapped onto the grid (shift≤ 3 days each). This is a scheduling change only — no risk assessment was
re-opened or altered. Notably the glibc block no longer expires on a
Saturday, where it would have turned red unattended on Sunday 2026-08-16.
check-expirations: the validator isunchanged, since it is scaffolded into consumer repos whose release cadence
may differ.
.github/renovate-default.json) now disables Renovatefor the managed workflow set and the two managed composite actions
(
setup-devkit-toolchain,resolve-toolchain) via a trailingenabled: falsepackageRule. Their SHA-pinned action digests advanceupstream in devkit and ship with each release, so downstream Renovate no
longer opens duplicate pin-bump PRs that the next
devkit-upgradeclobbers.their preserved
renovate.json(later rules win). Devkit's own rootrenovate.jsonre-enables its root workflows/actions so devkit keepsadvancing the pins it owns.
github/codeql-actionfromf205ea1tod1ba80a(#1330)aquasecurity/trivyfromv0.72.0tov0.73.0(#1331)github-backupfrom==0.65.0to==0.65.1(#1324)docs/RELEASE_CYCLE.mdnow documents that deleting a published GitHubRelease under org-enforced immutability permanently tombstones its tag name
(
GH013), and adds a recovery-procedures subsection: finalize restarts arefree only while every release object in the pipeline (devkit and
devkit-smoke-test) is still a draft; once smoke-test publishes its final,the version is committed and a restart means burning it (re-cut as the next
patch). Lesson from the 1.5.0 ghost.
Fixed
rsync -avL) relied on rsync's size+mtimequick-check. The dereferenced template files carry the Nix store's canonical
epoch+1 mtime, and
-a(-t) stamps that same mtime onto the workspacecopies — so a later template change that keeps the byte count identical (a
digest-for-digest action bump, like chore(deps): update github/codeql-action digest to d1ba80a #1330's
codeql-actionupdate inscorecard.yml) matched the consumer file on both size and mtime and wassilently never delivered by host-side upgrades of previously nix-scaffolded
consumers. CI paths were unaffected (fresh checkouts have current mtimes),
which is how the scaffold-drift gate (feat(workflow): scaffold-drift check in consumer CI (pin bumped without re-scaffold) #1295) caught the divergence on its
first live exercise: four of five 1.6.0-rc1 consumer lanes went red on a
scaffold the upgrade itself had produced.
rsyncinvocations (consumer upgrade, smoke cleandeploy, smoke overlay) now pass
--checksum, so delivery is decided bycontent, not size+mtime coincidence.
security-scan.ymlgenerated the CycloneDX SBOM and ran the Trivydefence-in-depth view after the blocking
vulnix-gatestep, with noif:condition, so a red gate ended the job before they ran. The uploaded
artifact was complete on green runs and stripped on red ones — the inverse
of what triage needs (17 kB on the red 2026-08-03 dev run vs ~466 kB on the
green 2026-07-30 one).
unchanged — so it remains the job's verdict and the tracking-issue
automation that keys on its outcome is unaffected.
main(#1336)render_workflow_model) retargetsbaseBranchPatternsfrom
["dev"]to["main"]in the scaffolded.github/renovate-default.json.Previously a
DEVKIT_WORKFLOW=trunkconsumer kept["dev"]while having nodevbranch, leaving Renovate with nothing to operate on — effectivelyinert. Existing trunk repos self-heal on their next
devkit-upgrade.Security
nixpkgsrev (flake.lock) from nixos-26.05@
8623c4c2(2026-07-26) to @531670d8(2026-08-03), which is the firstpinned-channel rev to ship gawk 5.4.1. The rebuilt closure confirms it.
-40553) instead of renewing it a third time. It had been extended at Extend gawk CVE exception expiry — gawk 5.4.1 still not in nixos-26.05 #1240
and again at the Advance pinned nixpkgs rev to drop propagated vulnix exception blocks (openssl, curl, openssh, jq) #1273 pin advance only because the fix sat in nixpkgs
stagingas a stdenv mass-rebuild, leaving the "advance the rev" lever withnowhere to land.
vulnixclosure diff is exactly those four CVEs(59 → 55 unique advisories) with nothing new appearing, and the gate passes
on 27 exceptions (down from 31).
else became droppable: fzf (0.72.0), libssh2 (1.11.1, still carrying no
6603x patch), unbound (1.25.1) and podman (5.8.2) are all unchanged, so
those blocks are retained with a 2026-08-04 re-verification note.
.vulnixignoreblock (expires 2026-08-31) for the threeHIGH libssh2 1.11.1 CVEs disclosed 2026-07-24 (CVE-2026-66033, -66034,
-66035) that turned the nightly security scan red on both refs from
2026-07-31. All three are client-side flaws requiring a connection to a
malicious SSH server; libssh2 enters the closure only as curl's scp/sftp
backend. Upstream has published no release since 1.11.1 and the nixpkgs
patches (libssh2: apply debian patches for CVE-2026-6603[2345] NixOS/nixpkgs#547491) are still on
staging, so no rev-advance isavailable.
the Advance pinned nixpkgs rev to drop propagated vulnix exception blocks (openssl, curl, openssh, jq) #1273 pin advance, which the register was never reconciled against:
libssh2 CVE-2026-55200, gzip CVE-2026-41992 and libxml2 CVE-2026-11979
(CVE-named nixpkgs patches, which vulnix credits), plus socat
CVE-2026-56123 (1.8.1.3) and ldns CVE-2026-10846 (1.9.2). Two of them had
lapsed on 2026-08-03, failing
check-expirationson every branch.nixos-26.05still ships 5.8.2 and the release-26.05 backport is still a draft).