Repository navigation
fix(release): stop the release notes from failing on a low engine count - #3217
Merged
Merged
Conversation
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>
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.
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 keptcompleted < 50. A release whose gate passed could therefore still fail inverify: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
How it was verified
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…".incomplete VirusTotal result; with it, it passes.test_vt_candidate_selection_contract.sh,test_vt_gate_policy_contract.sh,test_vt_release_notes_contract.shandtest_release_gate_chain_contract.shpass.