Skip to content

CLOUDP-453194: Point the version checker at mongodb-cli and accept the new vX.Y.Z tag format - #141

Merged
danielblanco96 merged 1 commit into
mongodb:mainfrom
fmenezes:CLOUDP-453194-fix-version-checker
Oct 29, 2026
Merged

danielblanco96 merged 1 commit into
mongodb:mainfrom
fmenezes:CLOUDP-453194-fix-version-checker

Conversation

@fmenezes

@fmenezes fmenezes commented Oct 28, 2026 •

Copy link
Copy Markdown
Contributor

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/... and go test -tags=unit ./internal/cli/root/... pass
  • gofmt clean

…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.
@danielblanco96
danielblanco96 merged commit dad8448 into mongodb:main Oct 29, 2026
18 of 21 checks passed
@fmenezes
fmenezes deleted the CLOUDP-453194-fix-version-checker branch October 29, 2026 15:04
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.

2 participants