fix(verdict): a rebuild that regresses is never an improvement
CI / Tests, lint (pull_request) Successful in 18s

A candidate on an older base-os than the pin, with Debian's point release
going back, or with a critical or high CVE the pin does not have and that
has a fix (the CVE gate's rule) is now "regressed": the pin stays, whatever
else it closes, and the report names each regression first.

The verdict action takes the components a nightly says moved (changes);
each is an improvement on its own, but only through the verdict, so a new
PostgreSQL minor on an older base-os is judged instead of waved through
(NetOrk/netork#2523). verdict.json carries base_os, changes and regressions.
A base-os version that cannot be read is no verdict.

Closes #3
This commit is contained in:
Christian Manivong committed 2026-11-15 22:43:55 +01:00
1 parent 77b31ed835
commit 015c6e18cb
6 files changed
+397 -28

No files matched your search

+12
View File
@@ -14,6 +14,18 @@ version, so a section names the commit it describes once it is merged.
regression. Without a verdict, an empty `NETORK_LICENSE_KEY` included, the step fails.
- `trivy_sbom` reads one platform of a multi-platform index (`--platform`).
### Fixed
- A rebuild on an older base-os than the pin was judged an improvement as soon as it closed
something else, and the nightlies that call a new component an improvement on its own
did not ask the verdict at all (#3, NetOrk/netork#2523: PostgreSQL 17.12 on base-os
13-20261025.1 brought back two zlib CVEs the pin had closed). The verdict now calls a
candidate **regressed**, and never improved, when it sits on an older base-os, when
Debian's point release goes back, or when it brings a critical or high CVE the pin does
not have and that has a fix; the report names each regression first. The verdict action
takes the moved components (`changes`), which count as an improvement only without a
regression, and `verdict.json` carries `base_os`, `changes` and `regressions`. A base-os
version that cannot be read is no verdict.
### Changed
- The matcher's 401 and 403 now say what they mean: a licence key (`nlk_…`) where a kb API
key (`nak_kb_…`) belongs, an unknown key, or a plan without `feature_match`. An empty