openhuman
openhuman copied to clipboard
[Bug] install.sh --dry-run fails on linux/x86_64 when the latest release has no Linux asset
Summary
scripts/install.sh --dry-run --verbose exits non-zero on linux/x86_64 when the latest release does not publish a Linux asset. This breaks the documented official Linux installer path and causes CI/install smoke checks to fail even in dry-run mode.
Problem
What happened:
- Run
bash scripts/install.sh --dry-run --verboseon Linux x86_64. - The script detects
linux/x86_64. latest.jsonlookup does not yield a Linux entry, so the installer falls back to the releases API.- The latest release also has no compatible Linux asset.
- The installer exits with:
✓ Detected platform: linux/x86_64
! latest.json lookup failed. Falling back to releases API.
x Could not resolve a compatible asset for linux/x86_64.
What was expected:
- The official Linux installer path should resolve a compatible Linux asset when Linux is documented as supported.
- At minimum,
--dry-runshould warn clearly and exit successfully instead of failing CI when the absence of a Linux asset is already the condition being checked.
Impact:
- The documented
curl .../scripts/install.sh | bashpath is broken for Linux users when a release ships without a Linux artifact. - Installer smoke checks fail on Linux.
Environment:
- OpenHuman version: latest release at the time of filing was
v0.52.28 - Platform: Linux x86_64
- Install path:
scripts/install.sh --dry-run --verbose
Additional verification:
latest.jsonforv0.52.28containsdarwin-aarch64,darwin-x86_64, andwindows-x86_64, but no Linux entry.- The latest GitHub release metadata also appears to lack a Linux-compatible asset.
Solution (optional)
Potential fixes:
- Ensure releases publish a Linux x86_64 artifact whenever Linux is listed as officially supported.
- Add release validation so a release fails if
latest.jsonand release assets omit a required supported platform. - Make
--dry-rundegrade to a warning with exit code 0 when no compatible asset is published, while keeping real installs as hard failures.
Acceptance criteria
- [ ] Repro gone —
bash scripts/install.sh --dry-run --verboseno longer fails on Linux x86_64 for this case. - [ ] Regression safety — Release validation checks that supported-platform assets and
latest.jsonentries stay in sync. - [ ] Installer behavior clarified — Missing Linux assets either block release publication or produce an explicit dry-run warning without failing the smoke check.
Related
docs/install.mddocumentscurl / install.shas an official Linux install path.- Latest release observed while debugging:
v0.52.28 - Relevant artifacts checked:
https://github.com/tinyhumansai/openhuman/releases/latest/download/latest.jsonhttps://api.github.com/repos/tinyhumansai/openhuman/releases/latest
Hey @senamakel @Al629176 guys, I am picking up this issue.