Skip to content

[TASK] Publish release binaries as gzip tarballs for faster downloads #1687

Closed

Description

@edenreich

Summary

Every release asset is a raw executable: infer-linux-amd64, infer-darwin-arm64, infer-windows-amd64 and so on, about 105MB each (80MB after #1649). GitHub serves release assets uncompressed, so every install transfers the full binary. A Go binary gzips to roughly a third of its size.

Proposed change

Publish each platform as infer-<os>-<arch>.tar.gz holding a single file, infer (or infer.exe on Windows), and drop the raw executables from the release. checksums.txt and its Cosign bundle cover the archives.

Consumers that read the raw asset names, all in this repository:

  • .github/workflows/release.yml: archive in the release job after the artifact download, checksum the archives, verify the new asset list
  • release.config.mjs: the @semantic-release/github asset list
  • install.sh and install.ps1: download the archive and extract with tar
  • npm/bin/install.js: download the archive, verify its checksum, extract
  • docs/installation.md and docs/binary-verification.md

The container image is built from the workflow's raw artifacts, not from release assets, so the Dockerfile and task container:push stay as they are.

Acceptance Criteria

  • A release carries six infer-<os>-<arch>.tar.gz assets, checksums.txt and checksums.txt.sigstore.json, and no raw executables
  • install.sh, install.ps1 and npx @inference-gateway/cli install from the archives
  • Docs describe the archive download and verification
  • task precommit:run passes

Activity

  1. added
    refactor
    on Nov 3, 2026
  2. added theissue type on Nov 3, 2026
  3. moved this from Todo to In progress in 2026on Nov 3, 2026
  4. moved this from In progress to QA in 2026on Nov 3, 2026
  5. inference-gateway-releaser commented on Nov 3, 2026

    @inference-gateway-releaser
    Contributor

    🎉 This issue has been resolved in version 0.242.0 🎉

    The release is available on:

    Your semantic-release bot 📦🚀

  6. moved this from QA to Done in 2026on Nov 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    refactorreleased

    Type

    Projects

    • Status
      Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions