Skip to content

Give new Ingest candidates a real fixed boundary - #144

Open
p-linnane wants to merge 1 commit into
mainfrom
ingest-new-history
Open

Give new Ingest candidates a real fixed boundary#144
p-linnane wants to merge 1 commit into
mainfrom
ingest-new-history

Conversation

@p-linnane

Copy link
Copy Markdown
Contributor

Ingest now runs brew advisory-match --new-history, which walks homebrew-core history only for records whose ranges are not already on disk, so existing records keep their reviewed boundaries and new candidates get the version that first shipped the fix rather than the current pkg_version.

Needs Homebrew/brew#23610 on brew main first: stable: false puts brew main on the runner, and an older brew fails the step on the unknown flag rather than walking history for every record.

`--no-history` gave every new matched candidate a `fixed` of the
formula's current `pkg_version` for reviewers to tighten by hand,
because walking homebrew-core history for every `:fixed` hit would
exceed the job limit. `brew advisory-match --new-history` walks only for
records whose ranges are not already on disk: existing records keep the
boundaries review gave them, and new ones get the version that first
shipped the fix.

Older brew does not know the flag, so a runner without it fails the step
rather than walking every record; `stable: false` puts brew main on the
runner.

Signed-off-by: Patrick Linnane <patrick@linnane.io>
Copilot AI lite review requested due to automatic review settings August 22, 2026 05:20

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates Ingest to preserve existing advisory boundaries while using Homebrew history to determine fixed versions for new candidates.

Changes:

  • Runs Homebrew main with stable: false.
  • Replaces --no-history with --new-history.
  • Adds workflow configuration assertions.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Summary
spec/workflows_spec.rb Verifies the updated Homebrew channel and matcher flags.
.github/workflows/ingest.yml Enables Homebrew main and new-history matching.

馃挕 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

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.

2 participants