Skip to content

pilotctl: appstore outdated + upgrade (client-side app updates)#339

Merged
TeoSlayer merged 1 commit into
mainfrom
feat/app-update-mechanism
Jun 29, 2026
Merged

pilotctl: appstore outdated + upgrade (client-side app updates)#339
TeoSlayer merged 1 commit into
mainfrom
feat/app-update-mechanism

Conversation

@Alexgodoroja

Copy link
Copy Markdown
Collaborator

Closes the missing client link in the app-update story: install records a version and the catalogue advertises one, but nothing compared them.

  • pilotctl appstore outdated — lists installed apps with a newer version in the signed catalogue (stable JSON form for scripting).
  • pilotctl appstore upgrade <id> | --all — re-installs the catalogue's current version with --force, reusing the exact verified install path (catalogue-sha + manifest-sha + publisher trust-anchor). The supervisor then applies the on-disk version bump (refusing downgrades) and restarts.
  • Adds a stdlib semver comparator.

Pairs with pilot-protocol/app-template PR #46 (the publish-side UPDATE operation). Tests: semverCompare, install-root scan.

🤖 Generated with Claude Code

Closes the missing client link: install records a version and the
catalogue advertises one, but nothing compared them. `outdated` lists
installed apps with a newer catalogue version; `upgrade <id>|--all`
re-installs the catalogue's current version with --force, reusing the
exact verified install path (catalogue-sha + manifest-sha + trust-anchor)
— the supervisor then applies the on-disk version bump (refusing
downgrades) and restarts. Adds a stdlib semver comparator.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@Alexgodoroja Alexgodoroja requested a review from TeoSlayer as a code owner June 29, 2026 20:44
Comment thread cmd/pilotctl/appstore_update.go Dismissed
@Alexgodoroja Alexgodoroja self-assigned this Jun 29, 2026
@TeoSlayer TeoSlayer merged commit 0a79cd0 into main Jun 29, 2026
15 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.

3 participants