Skip to content

fix(updates): read store versions without CLI authentication - #71

Merged
hannojg merged 1 commit into
mainfrom
hannojg/fix-store-update-discovery
Oct 29, 2026
Merged

hannojg merged 1 commit into
mainfrom
hannojg/fix-store-update-discovery

Conversation

@hannojg

@hannojg hannojg commented Oct 29, 2026

Copy link
Copy Markdown
Collaborator

In #51, store update checks started querying plugin/read through a separate Codex app-server. When the CLI uses API-key authentication, it rejects that lookup before making the HTTP request, so the migration banner never appears even after the matching store release is public.

Read Mobile Dev's public store endpoint directly without credentials and validate its identity, enabled status and release.version. Keep installed versions and enablement checks in the local CLI inventory, with the package manifest checked before GitHub cleanup. Scope available-plugin discovery to our Git marketplace: the unfiltered response was 4.1 MB and exceeded the runner's 1 MB limit. Existing update timings and migration error tags are preserved, with bounded failure categories added for checks. The version is bumped to 0.1.171.

I ran the changed updater in isolation on both Macs against the real store and CLI. The API-key Mac now returns migration for its installed 0.1.169 without changing its login. All 24 focused tests and the real-CLI migration smoke test pass. The broader local suite has 921 passes and one failure because the fresh worktree has no built Baguette binary; CI runs the shared checks on Linux and skips that macOS-only test.

@hannojg
hannojg marked this pull request as ready for review October 29, 2026 21:41
@hannojg
hannojg merged commit 5b422e7 into main Oct 29, 2026
11 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