Skip to content

Cleanup some more residual test-prof workarounds#21643

Merged
Rylan12 merged 1 commit intomainfrom
cleanup-test-prof
Mar 1, 2026
Merged

Cleanup some more residual test-prof workarounds#21643
Rylan12 merged 1 commit intomainfrom
cleanup-test-prof

Conversation

@Rylan12
Copy link
Member

@Rylan12 Rylan12 commented Feb 28, 2026

Follow-up to #21564

There are a few more residual test-prof references that are no longer needed now that their bundler setup is fixed.

Copilot AI review requested due to automatic review settings February 28, 2026 20:19
@Rylan12 Rylan12 enabled auto-merge February 28, 2026 20:19
Copy link
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

Removes leftover test-prof-specific RuboCop loading workarounds now that the RuboCop plugin/bundler setup is expected to work without manual requires.

Changes:

  • Drop the explicit require "rubocop/test_prof" from the RuboCop wrapper entrypoint.
  • Simplify the RuboCop integration spec to run rubocop without preloading sorbet-runtime, extend/module, or rubocop/test_prof.

Reviewed changes

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

File Description
Library/Homebrew/utils/rubocop.rb Removes manual rubocop/test_prof require so RuboCop plugin loading is solely config-driven.
Library/Homebrew/test/rubocop_spec.rb Simplifies the spawned RuboCop invocation by removing preloads that were previously used as workarounds.

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

Copy link
Member

@MikeMcQuaid MikeMcQuaid left a comment

Choose a reason for hiding this comment

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

Thanks!

@Rylan12 Rylan12 added this pull request to the merge queue Mar 1, 2026
Merged via the queue into main with commit 8146f09 Mar 1, 2026
42 checks passed
@Rylan12 Rylan12 deleted the cleanup-test-prof branch March 1, 2026 13:27
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