Repository navigation
advisory-match: reuse platform-independent history - #24225
Merged
Merged
Conversation
Load a historical revision once and share its observations across platforms when its source is provably platform-independent: a single Formula class using only literal, allowlisted DSL. Anything else is still evaluated separately on each platform. Signed-off-by: Patrick Linnane <patrick@linnane.io>
p-linnane
added this pull request to stack #24226
October 11, 2026 06:15
MikeMcQuaid
approved these changes
Oct 11, 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.
Historical revisions whose source is provably platform-independent (a plain
Formulaclass with only literal, allowlisted DSL) are now loaded once and shared across platforms. Anything else is still evaluated on each platform.brew benchmark --execover a seeded replay of ansible, httpie and poetry with frozen OSV responses (3 runs): 217.3 ± 1.6 s without reuse, 197.3 ± 2.0 s with it (main: 184.8 ± 4.0 s).brew benchmarkresults.brewcommands to reproduce the bug?brew lgtm(style, typechecking and tests) locally?Codex (GPT-6 Astra) drafted the change and tests and ran
brew lgtm --online; Claude Code (Opus 5.5) reviewed it, ranbrew lgtm --onlineon this commit and ran the benchmark. I reviewed the diff.