Repository navigation
fix(ci): advance the pinned nixpkgs rev on a weekly schedule - #1566
Merged
Merged
Conversation
Renovate's nix manager never opened a flake.lock PR, so the primary CVE-remediation lever only ever moved by hand and expiring security exceptions were re-reviewed against an unchanged closure. Add update-nixpkgs.yml (Mondays 04:30 UTC + workflow_dispatch), mirroring the proven update-nixpkgs-unstable.yml pattern, and correct docs/CONTAINER_SECURITY.md to describe the mechanism that actually runs. Refs: #1565
1 of 2 tasks
c-vigo
added a commit
that referenced
this pull request
Aug 26, 2026
…1568) ## Description Pin advance `531670d8` (2026-08-03) → `f4f69867` (2026-08-25) — the primary CVE-remediation lever, and step 1 of the register renewal that #1563/#1564 require before the 2026-09-02 expiry. Opened by hand this once (the scheduled `update-nixpkgs.yml` from #1566 first fires Monday 08-31, after the deadline window needs this to be already merged). Verified at the new rev (`nix eval` per package): | register block | package at new rev | expected outcome | |---|---|---| | podman `CVE-2026-57231` (expires **09-02**, the deadline anchor) | podman **5.8.6** | finding drops — block deletable | | unbound ×5 (09-09) | unbound **1.26.0** | findings drop — block deletable | | libssh2 6603x ×4 (09-16) + `CVE-2026-58050` (09-23) | libssh2 1.11.1 **with `CVE-2026-58050.patch` + `CVE-2026-66032..66035.patch`** (vulnix credits CVE-named patches) | findings drop — both blocks deletable | | fzf ×2 (10-07) | fzf **0.72.0**, no patches | block retained | ## Type of Change - [x] `build` -- Build system or dependency changes ## Changes Made - `flake.lock`: `nixpkgs` node only (`nix flake update nixpkgs`). ## Changelog Entry No changelog needed — routine pin advance (same class as the scheduled weekly bumps); the register reconciliation PR that follows carries the Security changelog entry. ## Testing - [ ] Tests pass locally — not run on this branch (lock-only change; PR CI runs the full suite and the closure rebuild, which is the authoritative gate) Full `just precommit` green locally. The authoritative gate is this PR's CI closure rebuild; the authoritative findings delta is the first nightly `security-scan` after merge, which the register reconciliation (#1563) will read before deleting any entry. ## Additional Notes Per `docs/CONTAINER_SECURITY.md`, a pin advance is its own reviewable act: this PR carries only the lock change. The register reconciliation lands separately once the scan delta confirms the table above. Refs: #1563
8 of 9 tasks
c-vigo
added a commit
that referenced
this pull request
Aug 26, 2026
…nce (#1569) ## Description The register reconciliation that milestone 1.11.1 exists for — closes #1563 (dev). #1564 (main) closes when this reaches `main` via the release merge; the train must promote before **2026-09-02**, when the podman entry would have expired and `check-expirations` would red every branch, both nightly lanes and the release train. **A renewal is a re-verification, not a date bump — and this one is better: 14 deletions, zero renewals.** Verified against the first scan on the new closure (dispatched run [32969211536](https://github.com/vig-os/devkit/actions/runs/32969211536), 2026-08-26, both refs green): | deleted | why gone | |---|---| | podman `CVE-2026-57231` (the 09-02 anchor) | pin ships podman **5.8.6** ≥ the 5.8.4 fix (release-26.05 absorbed the commits directly; backport PR NixOS/nixpkgs#536367 closed as a no-op) | | unbound ×5 (09-09) | pin ships unbound **1.26.0**, past the 1.25.2 fix release | | libssh2 6603x ×4 (09-16) | all four `CVE-2026-6603x.patch` entries applied in-derivation; vulnix credits CVE-named patches | | libssh2 `CVE-2026-58050` (09-23) | `CVE-2026-58050.patch` applied in-derivation | | git `CVE-2022-30947`/`-36882`/`-36883` (Class-1 CPE mismatches) | vanished from the findings while git stayed 2.54.0 — the NVD CPE correction the block's yearly re-check waited for | **Retained unchanged on their staggered Wednesdays:** glibc ×6 (10-14), lower-reachability ×5 (09-30), fzf ×2 (10-07, still 0.72.0 unpatched at the new rev), shellcheck Class-1 (2027-06-23). Each deletion is a tombstone in the register, per its established audit-trail convention. ## Type of Change - [x] `fix` -- Bug fix ## Changes Made - `.vulnixignore`: four blocks + three Class-1 entries removed with tombstones; RECONCILED header note; stale "Renovate `nix` manager + lockFileMaintenance (#638)" lever references updated to the `update-nixpkgs.yml` workflow (#1565) — deferred here from #1566 for minimal diff. - `CHANGELOG.md`: Security entry. ## Changelog Entry ### Security - **Security exception register reconciled against the advanced nixpkgs pin — 14 entries deleted, none renewed** ([#1563](#1563), [#1564](#1564)) (full entry with sub-bullets in `CHANGELOG.md`) ## Testing - [x] Manual testing performed (describe below) ### Manual Testing Details - `uv run vulnix-gate -r .vulnixignore <run-32969211536 dev findings>` → **green**: "No unexcepted HIGH/CRITICAL findings (CVSS >= 7.0); 14 exception(s) applied" — every surviving entry still matches a live finding (no dead weight), every deleted entry is absent from the findings. - Cross-checked `.trivyignore` and `.github/dependency-review-allow.txt`: none of the cleared CVE ids appears there. - Full `just precommit` green (includes `check-expirations`). ## 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 - [ ] I have added tests that prove my fix is effective or that my feature works (not applicable — register data change; the gate + check-expirations are the executable checks and both ran green) - [x] New and existing unit tests pass locally with my changes - [x] Any dependent changes have been merged and published (#1568 merged) ## Additional Notes New sub-threshold findings on the fresh closure (jq, libusb, nghttp2, busybox, ada, gcc, zlib CVE-2023-6992, glibc CVE-2026-4438/-6238) are all below the gate's CVSS 7.0 threshold — awareness-only per policy, no exceptions needed, confirmed by the green gate run above. Closes #1563 Refs: #1563, #1564
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.
Description
Closes the automation gap behind milestone 1.11.1: the pinned
nixpkgsrev — the primary CVE-remediation lever perdocs/CONTAINER_SECURITY.md— had no working automated advance. Renovate'snixmanager (the documented mechanism) has never opened aflake.lockPR, so the pin only ever moved by hand and every expiring security exception was re-reviewed against an unchanged closure.Investigation outcome (issue option 1 vs 2): Renovate's
nixmanager is beta/opt-in, detects zero flake inputs in this repo (Dependency Dashboard #529 lists only thecustom.regexpip-licenses entry underflake.nix), and its lock-file maintenance delegates to an externalnixbinary the hosted Mend app does not run. Option 2 — a scheduled workflow mirroring the provenupdate-nixpkgs-unstable.ymlpattern — is wholly under our control and lands in the Monday window the Wednesday expiry grid assumes.Type of Change
fix-- Bug fixChanges Made
.github/workflows/update-nixpkgs.yml: Mondays 04:30 UTC +workflow_dispatch; runsnix flake update nixpkgs, commits viavig-os/commit-action(signed) onchore/update-nixpkgs, opens a PR todevwith the two-app token split. Full PR CI (closure rebuild included) remains the merge gate; the workflow only proposes the advance.docs/CONTAINER_SECURITY.md: §1 and §4 now describe this workflow as the mechanism (with a "Why not Renovate?" note); the Wednesday-grid derivation's step 1 references the workflow's cron instead of Renovate's schedule.nixmanager stays enabled (harmless; a second signal if it ever starts working),lockFileMaintenancestill covers the pip/npm lockfiles.Changelog Entry
Fixed
nixpkgsrev now advances automatically every week (#1565)(full entry with sub-bullets in
CHANGELOG.md)Testing
just test)Manual Testing Details
Workflow + docs change — no testable in-repo code path (the bats harness does not cover scheduled workflows; TDD exemption noted). Local
just test: 1113 passed, 3 skipped, 1 failed — the failure istest_github_cli_authentication, a host-environment quirk (gh credential-store migration wantsdbus-launch, absent on this host); it exercises no path this diff touches and is green in CI ondev. Verification:actionlint,yamllint,zizmorand the fulljust precommitsuite green locally; the workflow is a line-for-line adaptation ofupdate-nixpkgs-unstable.yml, which runs weekly in production. First real execution will be aworkflow_dispatchright after merge to open the pin-advance PR that #1563 needs.Checklist
docs/CONTAINER_SECURITY.mdis not templated)CHANGELOG.mdin the[Unreleased]section (and pasted the entry above)Additional Notes
Same-milestone, separate-PR split as #1547/#1548: this PR closes the hole that keeps regenerating expiry issues; the deadline-bound register reconciliation (#1563/#1564) follows in its own PR once the pin-advance PR this workflow opens has merged and the nightly scan has produced a findings delta.
Refs: #1565