Brew: Prompt users to update when new version is released#1057
Merged
computermode merged 2 commits intomainfrom Apr 28, 2026
Merged
Brew: Prompt users to update when new version is released#1057computermode merged 2 commits intomainfrom
computermode merged 2 commits intomainfrom
Conversation
Entire-Checkpoint: 7dfdd96203a6
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 2 potential issues.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Comment @cursor review or bugbot run to trigger another review on this PR
Reviewed by Cursor Bugbot for commit ab7a815. Configure here.
Entire-Checkpoint: 48e36248a3b9
pfleidi
approved these changes
Apr 28, 2026
4 tasks
shaneholloman
pushed a commit
to shaneholloman/entire-cli
that referenced
this pull request
May 1, 2026
The 3-option prompt (update / skip / skip until next version) added in PR entireio#1057 only ran for brew. mise, scoop, and the curl-bash fallback still showed the older Y/N huh form with no skip-until-next-version support. Collapse the brew-only branch in MaybeAutoUpdate so every auto-installable install manager goes through the same prompt with the installer command substituted into option 1. Wording stays byte-identical to the brew prompt; only the cmdStr varies. Drop the now-unused Y/N huh form and confirmUpdate seam. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> Entire-Checkpoint: 8b5a28921a47
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

https://entire.io/gh/entireio/cli/trails/246
When there is a new version of the CLI available, offer for the user to
brew upgradeto increase discoverability and promote adoption of newer releases.Inspired by @pfleidi's discovery of Codex's auto-update prompt:

Tested via a local test binary:
Note
Medium Risk
Moderate behavior change in the CLI update flow: introduces a new interactive prompt path for Homebrew installs and persists a new
SkippedVersionfield to the version-check cache, which could affect when users are notified or prompted to update.Overview
Adds a Homebrew-specific auto-update prompt that shows release notes and offers Update now / Skip / Skip until next version, running
brew upgrade entirewhen accepted.Extends the version-check cache with
SkippedVersionand wiresCheckAndNotifyto suppress notifications for the skipped latest tag until a newer release is available. Also standardizes update messaging ("Update available!" + release notes link) and switches Homebrew update commands frombrew upgrade --cask ...tobrew upgrade ..., with expanded test coverage for the new prompt and caching behavior.Reviewed by Cursor Bugbot for commit ab7a815. Configure here.