Skip to content

Route more commands to brew-rs#22132

Merged
MikeMcQuaid merged 1 commit intomainfrom
brew-rs-autoremove-cleanup-gate
May 4, 2026
Merged

Route more commands to brew-rs#22132
MikeMcQuaid merged 1 commit intomainfrom
brew-rs-autoremove-cleanup-gate

Conversation

@MikeMcQuaid
Copy link
Copy Markdown
Member

  • Enable autoremove, cleanup, outdated and postinstall in the Rust frontend gate.
  • Keep update on the shell path so Homebrew's update flow still drives update-report.

  • Have you followed the guidelines in our Contributing document?
  • Have you checked to ensure there aren't other open Pull Requests for the same change?
  • Have you added an explanation of what your changes do and why you'd like us to include them? Performance claims (e.g. "this is faster") must include Hyperfine benchmarks.
  • Have you written new tests (excluding integration tests) for your changes? Here's an example.
  • Have you successfully run brew lgtm (style, typechecking and tests) with your changes locally?

  • AI was used to generate or assist with generating this PR. Please specify below how you used AI to help you, and what steps you have taken to manually verify the changes. Non-maintainers may only have one AI-assisted/generated PR open at a time.

OpenAI Codex xhigh with local review.


- Enable `autoremove`, `cleanup`, `outdated` and `postinstall` in the
  Rust frontend gate.
- Keep `update` on the shell path so Homebrew's update flow still drives
  `update-report`.
Copilot AI review requested due to automatic review settings May 3, 2026 14:25
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR expands the set of brew subcommands that are eligible to be executed via the experimental brew-rs Rust frontend (when the existing gating conditions are met), while leaving update on the shell-based path as described.

Changes:

  • Route autoremove, cleanup, outdated, and postinstall through the Rust frontend gate.
  • Preserve the existing command-routing behavior for other commands (including update remaining outside the Rust gate).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@MikeMcQuaid MikeMcQuaid enabled auto-merge May 3, 2026 14:39
@MikeMcQuaid MikeMcQuaid added this pull request to the merge queue May 4, 2026
Merged via the queue into main with commit 31d6c69 May 4, 2026
38 of 40 checks passed
@MikeMcQuaid MikeMcQuaid deleted the brew-rs-autoremove-cleanup-gate branch May 4, 2026 07:00
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.

3 participants