Skip to content

fix(menubar): refuse menubar updates from CLIs older than 0.9.9#593

Merged
iamtoruk merged 1 commit into
mainfrom
fix/menubar-min-cli-gate
Jul 2, 2026
Merged

fix(menubar): refuse menubar updates from CLIs older than 0.9.9#593
iamtoruk merged 1 commit into
mainfrom
fix/menubar-min-cli-gate

Conversation

@iamtoruk

@iamtoruk iamtoruk commented Jul 2, 2026

Copy link
Copy Markdown
Member

The menubar's update dialog tells users to run codeburn menubar --force, but CLIs older than 0.9.9 resolve /releases/latest for that command, which can point at a CLI-only release carrying no menubar asset, so the update silently installs nothing.

The app now knows the minimum CLI version that can perform the install (0.9.9, where commit 909efcf introduced the mac-v* release scan; verified v0.9.8 does not contain it). When the installed CLI is older, both the update dialog and the in-app update action show the exact CLI upgrade command to run first instead of a command that cannot work. Unknown or empty CLI versions are not flagged.

Covered by three new UpdateChecker tests (below minimum, at/above minimum, unknown version); the full menubar suite passes (65 tests).

CLIs before 0.9.9 resolve /releases/latest for menubar --force, which can
point at a CLI-only release with no menubar asset, so the update they run
installs nothing. The update dialog and performUpdate now detect an
installed CLI older than the installer fix (909efcf, first shipped in
0.9.9) and direct the user to upgrade the CLI first, with the exact
command, instead of suggesting a command that cannot work. Unknown CLI
versions are not flagged.
@iamtoruk iamtoruk merged commit 1e859ff into main Jul 2, 2026
3 checks passed
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