Skip to content

fix(release): stop the release notes from failing on a low engine count - #3217

Merged
DeusData merged 1 commit into
mainfrom
fix/vt-notes-engine-floor
Dec 6, 2026
Merged

DeusData merged 1 commit into
mainfrom
fix/vt-notes-engine-floor

Conversation

@DeusData

@DeusData DeusData commented Dec 6, 2026

Copy link
Copy Markdown
Owner

What this does

Removes the last 50-engine floor in the release path, in scripts/ci/append-vt-notes.sh.

In August, the VirusTotal gate (check-virustotal.sh, classify_result) and the selector (select-release-candidates.py) stopped gating on how many engines answered. That count is VirusTotal fleet availability on the day, not a verdict, and the floor had failed a whole release on a binary with zero detections. The notes step kept completed < 50. A release whose gate passed could therefore still fail in verify:

  • after the draft exists;
  • in a job the release retry controller never retries.

The v0.12.2-rc.1 run (47552487403) had exactly such a candidate: clean, judged by 49 engines. The gate logged "verdict still applies". That run was blocked earlier by a separate VirusTotal verdict, otherwise it would have failed here.

The notes now keep only the incoherence check the selector keeps (total < completed) and report the low count in the published engine range.

CI scope

  • Gating: none added or removed in CI; this aligns a release-only script with the gate's existing rule.
  • Cost, flake surface, trigger: unchanged.

How it was verified

  • New case in tests/test_vt_release_notes_contract.sh: a shipped, clean binary judged by 49 engines publishes its notes, and the range reads "decisive engines: 49…".
    • Without the fix it fails with incomplete VirusTotal result; with it, it passes.
  • test_vt_candidate_selection_contract.sh, test_vt_gate_policy_contract.sh, test_vt_release_notes_contract.sh and test_release_gate_chain_contract.sh pass.
  • Local ladder skipped (script-only change; PR CI runs the contracts).

The VirusTotal gate and the candidate selector stopped gating on how many
engines answered in August: the count is VirusTotal fleet availability on
the day, not a verdict, and a 50-engine floor had failed a whole release on
a binary with zero detections. append-vt-notes.sh kept that floor
(`completed < 50`), so a release whose gate passed could still fail later,
in `verify`, after the draft exists, in a job the retry controller never
retries. The v0.12.2-rc.1 run had exactly such a candidate: clean, judged by
49 engines ("verdict still applies" in the gate log).

The notes now keep only the incoherence check the selector keeps
(`total < completed`) and report the count in the engine range.

The notes contract gains the case: a shipped, clean binary judged by 49
engines publishes its notes and the range shows 49. It fails without this
change with "incomplete VirusTotal result".

Signed-off-by: Martin Vogel <martin.vogel.tech@gmail.com>
@DeusData
DeusData merged commit 6ace5c5 into main Dec 6, 2026
39 of 40 checks passed
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