Repository navigation
chore(security): anchor exception-register expiries to a Wednesday grid - #1338
Merged
Merged
Conversation
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
8 tasks
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
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-expirationsruns 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
chore-- Maintenance task (deps, config, etc.)Modifiers
!)Changes Made
docs/CONTAINER_SECURITY.md§5 — new "Expiry dates land on a Wednesday"subsection (SSoT for the convention;
SECURITY.mdkeeps linking here ratherthan restating it):
check-expirationsfails whentoday > expiration, so a Wednesday entryturns red on Thursday — after the week's Renovate
nixpkgsbump (Mondaywindow) 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 itselfreveals nothing; the delta is what lets a review delete entries instead of
blindly extending them.
register red before the week's Renovate PRs even open, which is exactly how
Renovate PRs blocked by expired CI gates and stale base image #550 took 16 unrelated PRs red at once. Later weekdays lapse over an
unattended weekend.
shorter window on ties), the explicit dependency on the Renovate
scheduleso 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:
.vulnixignore08-15(Sat) →08-12(−3); fzf08-17→08-19(+2); gawk08-18→08-19(+1); libssh209-01→09-02(+1); four08-31blocks (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..trivyignore09-01→09-02(+1).github/dependency-review-allow.txt09-01→09-02(+1)Not changed, deliberately:
check_expirations.py. The validator isscaffolded 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
Testing
Manual Testing Details
just precommit— full suite green (EXIT=0), includingcheck-expirations,pymarkdown,typosandsync-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.Expiration:directive verified againstdate -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 unchangedand already covered by
packages/vig-utils/tests/test_check_expirations.py.Checklist
CHANGELOG.mdin the[Unreleased]section (and pasted the entry above)Additional Notes
Three follow-ups worth knowing about, none blocking:
red unattended on Sunday 2026-08-16 at 05:00 UTC, blocking every commit
until renewed. It now lapses on a Thursday.
5.4.1 has landed in
nixos-26.05; if that pin advance merges first, drop theblock instead of carrying its new
08-19date.2026-09-02. That is the intendedcombined 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.mdis in the diff becausesync-manifestmirrors the root changelog; it is not a hand edit.Closes #1337
Refs: #1337