Repository navigation
CLOUDP-453194: Point the version checker at mongodb-cli and accept the new vX.Y.Z tag format - #141
Merged
danielblanco96 merged 1 commit intoOct 29, 2026
Conversation
…e new vX.Y.Z tag format The notifier has queried the mongodb/mongodb-atlas-cli repo since the Jan 2025 repo split (the const was last correct when both tools released from that one repo), so released mongocli binaries never saw any mongocli release. Point it at mongodb/mongodb-cli and port the atlas-cli matcher: legacy mongocli/vX.Y.Z and new bare vX.Y.Z are valid, any other tool's tag (e.g. pre-split atlascli/vX.Y.Z) or non-version tag is rejected.
fmenezes
marked this pull request as ready for review
October 28, 2026 10:28
This was referenced Oct 28, 2026
danielblanco96
approved these changes
Oct 29, 2026
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.
Proposed changes
Jira ticket: https://jira.mongodb.org/browse/CLOUDP-453194
Fixes the mongocli "update available" notifier, which has been silently dead since the Jan 2025 repo split. Also makes repo accept new tag format.
Testing
go test -tags=unit ./internal/latestrelease/...(matcher table extended with legacy/new/other-tool/non-version cases, ported from the atlas-cli test)go build ./internal/...andgo test -tags=unit ./internal/cli/root/...passgofmtclean