You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Explain GitHub release lookup failures when a fresh install has no CLI #37
On Apple Silicon the opt-in release-download test received HTTP 403 from the latest-release API while v0.85.0 and its Mac asset existed. The production updater logs a generic HTTP status and falls back to a cached or PATH binary. A fresh install without either can end up at the generic binary-not-found message. The same live download test later passed. This is intermittent and separate from the DMG-selection issue in #29.
Expected behavior and verification
Preserve caching and fallback for existing users. For a fresh install, distinguish a failed release lookup from a missing platform asset, expose useful GitHub response or retry information, and allow retry. Exercise a simulated 403 followed by a successful response without relying on the live API.
Fixed on branch 37-explain-release-lookup-failure (acafc2e), pull request #52.
The updater records why its last attempt failed: the release lookup, a release with no file for this platform, or the download.
A failed lookup reports GitHub's status and message, plus when the rate limit resets or the Retry-After value. GITHUB_TOKEN is sent to the API when it is set.
On a fresh install with no CLI, the error message offers Retry, which checks GitHub again immediately and skips the failure backoff, and Show Output.
Existing users keep the cached and PATH fallbacks unchanged.
The HTTP client can be replaced in tests. A simulated 403 followed by a successful release and download is covered without the live API, along with a missing platform asset and a network error.
Activity
Arthurvroum commentedon Nov 25, 2026
Fixed on branch
37-explain-release-lookup-failure(acafc2e), pull request #52.Retry-Aftervalue.GITHUB_TOKENis sent to the API when it is set.PATHfallbacks unchanged.Unit and workspace suites pass locally (Linux).