Skip to content

Show install-specific upgrade guidance on TUI start - #445

Merged
TheGreatAxios merged 1 commit into
mainfrom
cl-5610-upgrade-guidance-for-corbits-code-tui
Aug 9, 2026
Merged

TheGreatAxios merged 1 commit into
mainfrom
cl-5610-upgrade-guidance-for-corbits-code-tui

Conversation

@TheGreatAxios

Copy link
Copy Markdown
Collaborator

Summary

  • Soft upgrade check after interactive TUI host mount: GitHub latest release vs package version
  • Install-method detection (Homebrew Cellar/prefix, Bun/source, deb, release binary, unknown)
  • Method-specific upgrade command; unknown never suggests brew/apt
  • Offline/rate-limit/timeout soft-skip via surfaceSystemNotice (non-blocking)

Closes CL-5610.

Test plan

  • bun test ./src/upgrade/index.test.ts (18 pass)
  • Manual: run older package version with network; confirm notice text for source install
  • Manual: offline run produces no error/notice block

Note: local bun run typecheck still fails on pre-existing dual @intx/types (CL-5855). CI typecheck has been green on main; this PR does not touch types resolution.

When a newer GitHub release exists, surface a non-blocking notice with the
running version, latest version, and the right upgrade step for Homebrew,
source/Bun, deb, release binary, or unknown. Network and detection failures
skip quietly so startup never blocks.
@linear-code

linear-code Bot commented Aug 9, 2026

Copy link
Copy Markdown

CL-5610

@TheGreatAxios
TheGreatAxios merged commit c7fae9d into main Aug 9, 2026
2 checks passed
@TheGreatAxios
TheGreatAxios deleted the cl-5610-upgrade-guidance-for-corbits-code-tui branch August 9, 2026 22:33
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