Keep reviewed resource ranges fixed - #290
Merged
Merged
Conversation
Signed-off-by: Patrick Linnane <patrick@linnane.io>
andrew
approved these changes
Sep 7, 2026
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.
After Homebrew/brew#23830, the last Ingest run matched 76,300 records and then failed in
advisories:filterbecause 33 tracked matched records lost theirrange_state: six ansible-core CVEs acrossansible,ansible@9,ansible@10,ansible@12andansible@13, and three npm CVEs onnode. Each record has a fixed resource beside a subject the matcher cannot compare, the Git repository foransibleandnodeor the PyPIansibleidentity added during distro resolution for the versioned formulae.This adds a
range_state: fixedoverride for each of the 33 pairs and a spec that pins every record tofixedwith aresource, aresource_purland, except for CVE-2023-4237 whose upstream range ends inlast_affected, anupstream_fixed_in. State-only overrides are deliberate: with Homebrew/brew#23856 the matcher inherits the per-formula upstream fix from the fixed resource evidence, so pinningupstream_fixed_inwould freeze values that differ per formula. Every shippedansible-coreandnpmversion is past its upstream bound, so no affected version is hidden.Lands after Homebrew/brew#23856 is on the Ingest runner. A local
brew advisory-matchrun for the six formulae with that brew change and these overrides leaves all 33 records unchanged andadvisories:filterclean; with the current brew it passes the filter but stripsupstream_fixed_infrom 28 records, which is why the order matters.