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
install.sh can't install when GitHub sends the release as one line of JSON: every asset resolves to the release's own id #1008
install.sh can't install when GitHub's API sends a release's JSON on one line. get_asset_id (install.sh:174-179 at 01634491) finds an asset by grepping the JSON line by line, taking the "id" from the five lines before the asset's name. When the whole release arrives as one line, the release's own id is the first match, so every asset resolves to it: for v0.1.0-dev.20261001193326, the checksums file and the archive both resolve to 401293024 (the release) instead of 603998070 and 603998073. Every download then fails, so the installer can't install at all; at 01634491 it stops with no message.
GitHub sends the one-line form some of the time: on 2026-10-01, from this machine with the same curl and headers, four requests in a row got the indented form and the next four the one-line form, within about two minutes. 14 later requests all got the indented form. How often it happens is not measured.
install.ps1 parses the JSON (Invoke-RestMethod) and is not affected. self upgrade downloads from each asset's browser_download_url and is not affected.
Reproduced 2026-10-01 against both forms of the same release (both bodies captured), with both 01634491's install.sh and the one in progress for #1002. Found 2026-10-01 in #1002's work.
Resolution
install.sh finds and downloads each asset whatever the layout of GitHub's JSON, and a test covers the one-line form.
Activity