Skip to content

feat(cli): announce major releases instead of installing them in the background - #2099

Merged
phernandez merged 2 commits into
fix/2094-tool-error-surfacefrom
fix/2000-major-version-notice
Nov 12, 2026
Merged

phernandez merged 2 commits into
fix/2094-tool-error-surfacefrom
fix/2000-major-version-notice

Conversation

@phernandez

Copy link
Copy Markdown
Member

Stack 4/4, based on #2098.

Why

#2000's second request: the background checks (MCP startup, the periodic CLI check) install any newer release, including a new major version. A major release can remove tools and settings people rely on, as 1.0 removed the legacy tool names. The pinned-install half of #2000 landed in #2040.

What

  • A background check (force=False) that finds a new major version returns UPDATE_AVAILABLE with the release-notes link and "run bm update". bm update passes force and still installs it. Minor and patch releases install as before.
  • There is no setting: background checks never install a major version. Say if you want it configurable.
  • Existing upgrade tests used 9.9.9 as the latest version, which is now a major jump from 1.0.0. They use 1.9.9 instead.
  • Note: the two new flow tests use this file's existing PyPI stub (monkeypatch), because run_auto_update has no other seam. is_major_upgrade is tested directly.

Closes #2000

Verification

  • just fast-check
  • just fast-test on the top of the stack (-m "not semantic and not benchmark"): 3993 passed, 21 skipped. Postgres runs in CI.

🤖 Generated with Claude Code

https://claude.ai/code/session_01CMYVL1rjJwNnrvxniz1dDD

…background

The background update checks (MCP startup and the periodic CLI check)
installed any newer release, including a new major version. A major release
can remove tools and settings people rely on, as 1.0 removed the legacy tool
names. A background check now reports a major release with a link to its
release notes and leaves the install to `bm update`. Minor and patch
releases still install as before.

Closes #2000

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01CMYVL1rjJwNnrvxniz1dDD
Signed-off-by: phernandez <paul@basicmachines.co>
@phernandez
phernandez marked this pull request as ready for review November 12, 2026 15:42
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 12, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-12T15:50:04.578901Z fa21a19 Manual request
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: e3813995b2

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread src/basic_memory/cli/auto_update.py Resolved
The MCP startup update discarded UPDATE_AVAILABLE, so a user who runs
Basic Memory only through MCP never saw that a major release was held
back. Move the result handling into log_background_update and log the
announcement with its release-notes link.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01CMYVL1rjJwNnrvxniz1dDD
Signed-off-by: phernandez <paul@basicmachines.co>
@phernandez

Copy link
Copy Markdown
Member Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. 🚀

Reviewed commit: fa21a19cbf

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@phernandez
phernandez merged commit 51e9a71 into fix/2094-tool-error-surface Nov 12, 2026
83 of 84 checks passed
@phernandez
phernandez deleted the fix/2000-major-version-notice branch November 12, 2026 16:16
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.

1 participant