Skip to content

Add version update banner to frontend and CLI#1584

Open
aliasaria wants to merge 1 commit intomainfrom
claude/add-version-update-banner-H7Tmv
Open

Add version update banner to frontend and CLI#1584
aliasaria wants to merge 1 commit intomainfrom
claude/add-version-update-banner-H7Tmv

Conversation

@aliasaria
Copy link
Member

Add a version check system that fetches the latest release from GitHub (cached for 1 hour to respect rate limits) and surfaces update notifications in both the frontend UI and CLI.

Backend:

  • New version_service.py with GitHub release check + in-memory cache
  • New GET /server/version endpoint on serverinfo router
  • /healthz now includes version info for already-polled consumers

Frontend:

CLI:

  • New version_check.py utility with Rich Panel banner
  • Runs on every command except 'version', silently fails on errors

https://claude.ai/code/session_014cytJUVb2VqvsCnJTYxk9y

Add a version check system that fetches the latest release from GitHub
(cached for 1 hour to respect rate limits) and surfaces update
notifications in both the frontend UI and CLI.

Backend:
- New version_service.py with GitHub release check + in-memory cache
- New GET /server/version endpoint on serverinfo router
- /healthz now includes version info for already-polled consumers

Frontend:
- New VersionUpdateBanner component (dismissible, warning-styled)
- Polls /server/version every 30 minutes via SWR
- Links to https://docs.transformerlab.ai/update

CLI:
- New version_check.py utility with Rich Panel banner
- Runs on every command except 'version', silently fails on errors

https://claude.ai/code/session_014cytJUVb2VqvsCnJTYxk9y
@paragon-review
Copy link

Paragon Review Skipped

Hi @aliasaria! Your Polarity credit balance is insufficient to complete this review.

Please visit https://home.polarity.cc to add more credits and continue using Paragon reviews.

@sentry
Copy link

sentry bot commented Mar 19, 2026

Codecov Report

❌ Patch coverage is 72.72727% with 12 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
api/transformerlab/services/version_service.py 75.00% 8 Missing and 2 partials ⚠️
api/transformerlab/routers/serverinfo.py 50.00% 2 Missing ⚠️

📢 Thoughts on this report? Let us know!

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