Skip to content

fix(installer): avoid latest release API lookup - #46

Merged
sriaradhyula merged 1 commit into
mainfrom
prebuild/fix/installer-latest
Aug 13, 2026
Merged

fix(installer): avoid latest release API lookup#46
sriaradhyula merged 1 commit into
mainfrom
prebuild/fix/installer-latest

Conversation

@sriaradhyula

Copy link
Copy Markdown
Member

Summary

  • make latest the installer default in the repository
  • download default binaries and checksums through GitHub release redirects
  • keep CAIPE_VERSION support for immutable version-pinned installs
  • remove the unauthenticated GitHub API call that can return HTTP 403
  • update stale release installation documentation
  • add regression tests for latest and pinned URL behavior

Root cause

The installer queried the unauthenticated GitHub Releases API only to discover the newest tag. GitHub can rate-limit that endpoint with HTTP 403 even though the public release assets remain downloadable.

Validation

  • shellcheck install.sh
  • bunx tsc --noEmit
  • bun run lint (passes with 18 existing warnings)
  • bun run test (224 tests)
  • isolated end-to-end latest install with checksum verification; installed 0.2.22
  • latest binary and checksum redirect endpoints return HTTP 200

Signed-off-by: Sri Aradhyula <sraradhy@cisco.com>
@sriaradhyula
sriaradhyula marked this pull request as ready for review August 13, 2026 21:01
@sriaradhyula
sriaradhyula merged commit 4a171e5 into main Aug 13, 2026
5 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