Skip to content

bump: show upstream versions in release cooldown - #23409

Merged
MikeMcQuaid merged 1 commit into
mainfrom
bump-release-cooldown-output
Aug 4, 2026
Merged

bump: show upstream versions in release cooldown#23409
MikeMcQuaid merged 1 commit into
mainfrom
bump-release-cooldown-output

Conversation

@MikeMcQuaid

Copy link
Copy Markdown
Member
  • brew bump reported formulae as up to date when a newer upstream release was suppressed by the release cooldown, confusing upstream authors waiting for autobump.
  • Show the suppressed version with how recently it was released, add a Bump ready version: line for what can be bumped now and change the headline from is up to date! to has a new version in release cooldown.

Fixes #23396


  • Have you followed our Contributing guidelines?
  • Have you checked for other open Pull Requests for the same change?
  • Have you explained what your changes do? Performance claims (e.g. "this is faster") must include Hyperfine benchmarks.
  • Have you explained why you'd like these changes included, not just what they do?
  • For bug fixes, have you given step-by-step brew commands to reproduce the bug?
  • Have you written new tests (excluding integration tests)? Here's an example.
  • Have you successfully run brew lgtm (style, typechecking and tests) locally?

  • I did not use AI/LLM to create this PR, or I disclosed the tool/model below and reviewed its output; I did not attribute commits to AI and will answer maintainer questions and review comments myself without AI/LLM.

Claude Code Fable 5 high with local review and testing.


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

This PR improves brew bump output when a newer upstream release exists but is suppressed by the release-cooldown window, avoiding the misleading “is up to date!” messaging and surfacing both the suppressed upstream version and the currently bumpable version.

Changes:

  • Track the newest cooldown-suppressed upstream version during livecheck and carry it through the bump flow.
  • Update brew bump headline/output to show “has a new version in release cooldown”, include a “Bump ready version:” line, and show the suppressed version with a recency hint.
  • Add/update RSpec coverage for the new behavior and the updated livecheck_result return shape.

Reviewed changes

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

File Description
Library/Homebrew/dev-cmd/bump.rb Track/report cooldown-suppressed upstream versions and adjust brew bump output accordingly.
Library/Homebrew/test/dev-cmd/bump_spec.rb Add tests for cooldown-suppressed output and update mocks for the new livecheck_result return value.

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

Comment thread Library/Homebrew/dev-cmd/bump.rb Outdated
Comment thread Library/Homebrew/dev-cmd/bump.rb Outdated
@MikeMcQuaid
MikeMcQuaid force-pushed the bump-release-cooldown-output branch from e282532 to 3eda9cf Compare August 3, 2026 16:38

@samford samford left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Makes sense and this is more clear to me. Thanks!

Comment thread Library/Homebrew/dev-cmd/bump.rb Outdated
Comment thread Library/Homebrew/dev-cmd/bump.rb Outdated
Comment thread Library/Homebrew/dev-cmd/bump.rb Outdated
Comment thread Library/Homebrew/test/dev-cmd/bump_spec.rb Outdated
- `brew bump` reported formulae as up to date when a newer upstream
  release was suppressed by the release cooldown, confusing upstream
  authors waiting for autobump.
- Show the suppressed version with how recently it was released, add
  a `Bump-ready version:` line for what can be bumped now and change
  the headline from `is up to date!` to `has a new version in
  release cooldown`.
- Fixes #23396.
@MikeMcQuaid
MikeMcQuaid force-pushed the bump-release-cooldown-output branch from 3eda9cf to c596d3d Compare August 4, 2026 08:37
@MikeMcQuaid
MikeMcQuaid added this pull request to the merge queue Aug 4, 2026
Merged via the queue into main with commit f4a703c Aug 4, 2026
42 checks passed
@MikeMcQuaid
MikeMcQuaid deleted the bump-release-cooldown-output branch August 4, 2026 10:20
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.

Consider logging cooldown-suppressed upstream versions in brew bump

6 participants