Skip to content

Conversation

@cho-m
Copy link
Member

@cho-m cho-m commented Dec 3, 2025

  • 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?
  • Have you written new tests for your changes? Here's an example.
  • Have you successfully run brew lgtm (style, typechecking and tests) with your changes locally?

--concurrent-downloads is currently a no-op as it is now enabled by default.

Copilot AI review requested due to automatic review settings December 3, 2025 21:27
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

This PR removes the deprecated --concurrent-downloads flag from the test-bot command, which has been a no-op since concurrent downloads were enabled by default. The removal is clean and complete.

Key Changes

  • Removed the --concurrent-downloads switch definition from the test-bot command
  • Auto-regenerated RBI type signature file to remove the corresponding method signature

Reviewed changes

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

File Description
Library/Homebrew/dev-cmd/test-bot.rb Removed the hidden --concurrent-downloads switch and its TODO comment
Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/test_bot_cmd.rbi Auto-generated update to remove the concurrent_downloads? method signature

The changes look good! The PR correctly removes the unused flag from both the command definition and the auto-generated type signature file. I verified that:

  • No other references to concurrent_downloads or concurrent-downloads exist in the codebase
  • The RBI file is properly auto-generated (as indicated by the header comment)
  • No tests or documentation reference this flag

The removal is complete and appropriate.

Files not reviewed (1)
  • Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/test_bot_cmd.rbi: Language not supported

💡 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!

@MikeMcQuaid MikeMcQuaid added this pull request to the merge queue Dec 4, 2025
Merged via the queue into main with commit 883c406 Dec 4, 2025
43 checks passed
@MikeMcQuaid MikeMcQuaid deleted the test-bot-remove-unused-arg branch December 4, 2025 10:51
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.

4 participants