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
fix(install): retry GitHub downloads with exponential backoff
The installer served at https://get.livekit.io/cli makes three unguarded
curl calls to GitHub (the releases API, the archive, and checksums.txt).
Any transient failure aborts the whole install, which makes CI runners
flaky.
Route all three through a `fetch` helper that retries connection errors,
timeouts, 5xx, 408, 429, and the 403 GitHub returns when rate limiting,
with exponential backoff (5 attempts, 2s doubling). Permanent 4xx
responses still fail immediately. Attempt count and base delay are
overridable via LK_INSTALL_MAX_ATTEMPTS / LK_INSTALL_RETRY_DELAY.
Also adds the missing `jq` prerequisite check — the script already
depended on jq but only reported it as an unhelpful version parse error.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
0 commit comments