Skip to content

Add release version checks and update command#43

Merged
pmbstyle merged 3 commits intomainfrom
codex/version-check-and-update
Apr 14, 2026
Merged

Add release version checks and update command#43
pmbstyle merged 3 commits intomainfrom
codex/version-check-and-update

Conversation

@pmbstyle
Copy link
Copy Markdown
Owner

What changed

  • add a release version check before octopal start so local and latest GitHub release versions are compared
  • cache the release lookup and keep the check best-effort so startup stays fast and does not fail offline
  • add uv run octopal update for safe git-checkout updates via git pull --ff-only and uv sync

Why

  • now that GitHub releases exist, Octopal can proactively tell the user when their local checkout is behind
  • a first-party update command makes the upgrade path much clearer from the CLI

Impact

  • users get a lightweight upgrade prompt before startup when a newer release is available
  • users on clean git checkouts can update in one CLI command
  • background start avoids doing the version check twice

Validation

  • uv run pytest tests/test_cli_update.py tests/test_cli_version_check.py tests/test_cli_webapp_build.py

@pmbstyle pmbstyle self-assigned this Apr 14, 2026
@pmbstyle pmbstyle changed the title [codex] add release version checks and update command Add release version checks and update command Apr 14, 2026
@pmbstyle pmbstyle marked this pull request as ready for review April 14, 2026 19:55
@pmbstyle pmbstyle merged commit cd5f669 into main Apr 14, 2026
3 checks passed
@pmbstyle pmbstyle deleted the codex/version-check-and-update branch April 14, 2026 20:11
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