Skip to content

feat(release): attach downloadable binaries to GitHub releases - #11869

Merged
lalalune merged 1 commit into
developfrom
feat/release-binaries
Jul 3, 2026
Merged

feat(release): attach downloadable binaries to GitHub releases#11869
lalalune merged 1 commit into
developfrom
feat/release-binaries

Conversation

@lalalune

@lalalune lalalune commented Jul 3, 2026

Copy link
Copy Markdown
Member

Supersedes #11859 and closes #11858.

This is the same release-binaries change from #11859, rebased onto current origin/develop after #11857 merged. It stages downloadable release assets for GitHub Releases:

  • standalone elizaos CLI archives for linux/darwin/windows targets
  • headline npm .tgz tarballs plus npm checksum file
  • combined SHA256SUMS.txt

It also makes the compiled CLI resolve templates, templates-manifest.json, and package.json next to the executable when running from Bun's /$bunfs virtual root.

Local validation in /tmp/eliza-11859-pr:

  • actionlint .github/workflows/release.yaml
  • git diff --check origin/develop...HEAD
  • bun install --ignore-scripts to provide the workspace toolchain in the temp worktree
  • bun run --cwd packages/elizaos typecheck
  • bun run --cwd packages/elizaos lint:check
  • bun test --cwd packages/elizaos src/package-info.test.ts
  • bun run --cwd packages/elizaos build && bun run --cwd packages/elizaos test:standalone
  • bun run --cwd packages/elizaos build && node packages/scripts/pack-release-artifacts.mjs --out /tmp/eliza-release-artifacts-npm --packages elizaos

Observed artifacts:

  • compiled linux-x64 standalone archive exercised with version, info, and create --template plugin --yes
  • generated plugin scaffold with package.json and .elizaos/template.json
  • /tmp/eliza-release-artifacts-npm/elizaos-2.0.3-beta.7.tgz
  • /tmp/eliza-release-artifacts-npm/SHA256SUMS-npm.txt

N/A: UI screenshots/video/frontend logs, real-LLM trajectories, native/device capture. This is release/CLI packaging automation only.

Releases only carried GitHub's auto-generated source archives: release.yaml
created them with no `files:`, the npm tarballs it already builds were
discarded, and desktop installers only build for stable tags.

- Compile standalone `elizaos` CLI executables for macOS/Linux/Windows ×
  arch via `bun build --compile` (packages/elizaos/build-standalone.ts).
- Make the CLI compiled-aware: inside a bun binary `import.meta.url` points
  into the unreadable `/$bunfs` root, so getPackageRoot() now resolves
  templates/manifest/package.json next to the executable (isStandaloneBinary).
- Emit the real npm `.tgz` tarballs for the headline packages + checksums
  (packages/scripts/pack-release-artifacts.mjs), matching what npm publishes.
- release.yaml stages both + a combined SHA256SUMS and attaches them to beta
  releases and to stable production releases.
- Regression coverage: src/package-info.test.ts (unit) and
  scripts/standalone-smoke.mjs (compiles the host binary and drives
  version/info/create end-to-end).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Jul 3, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 0418d034-e1bf-4498-87bf-8744c11f8967

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feat/release-binaries

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@greptile-apps greptile-apps Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Your trial has ended. Reactivate Greptile to resume code reviews.

@lalalune
lalalune merged commit cfc434f into develop Jul 3, 2026
38 of 59 checks passed
@lalalune
lalalune deleted the feat/release-binaries branch July 3, 2026 10:14
@claude

claude Bot commented Jul 3, 2026

Copy link
Copy Markdown
Contributor

Claude encountered an error —— View job


I'll analyze this and get back to you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Releases only ship source code — attach downloadable binaries (standalone CLI + npm tarballs)

2 participants