feat(release): publish Linux ARM64 Broker Packs - #982
Open
FaintGhost wants to merge 1 commit into
Open
Conversation
The broker-pack release matrix covers macOS arm64/x64, Windows x64, and Linux x64, but no Linux arm64. Users on arm64 hosts (Apple Silicon Docker, ARM VPSes) hit "Broker-pack catalog request failed: HTTP 404" when the installer requests OpenAlice-Broker-Packs-<version>-linux-arm64.json. GitHub-hosted runners are x64-only, so the arm64 matrix entry runs the install/build/upgrade-smoke sequence inside a linux/arm64 node:22-trixie container via QEMU; the workspace is bind-mounted so artifacts land on the runner for upload. pnpm deploys the platform-specific native SDKs (e.g. longbridge's glibc prebuild) for arm64 inside that container. broker-pack-upgrade-smoke now treats a missing previous-release catalog for the current platform as a first-release skip (new platform) instead of failing on the 404, while keeping every other HTTP error fatal. Verified locally: release-workflow/ci-workflow/desktop-package-workflow specs pass, tsc --noEmit clean, and a native linux-arm64 run of pnpm broker-packs:build produces and verifies all five engine archives.
|
@FaintGhost is attempting to deploy a commit to the luokerenx4's Team Team on Vercel. A member of the Team first needs to authorize it. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changed
{ os: ubuntu-latest, arch: arm64 }to thebuild-broker-packsrelease matrixlinux/arm64node:22-trixiecontainer via QEMU (GitHub-hosted runners are x64-only); the workspace is bind-mounted sodist/broker-packsartifacts land on the runner for uploadbroker-pack-upgrade-smoketreat a missing previous-release catalog for the current platform as a first-release skip (new platform), while keeping every other HTTP error fataldocs/broker-packs.mdrelease matrix and therelease-workflow.spec.tsmatrix assertionRoot cause
The broker-pack release matrix covers macOS arm64/x64, Windows x64, and Linux x64, but no Linux arm64. On arm64 hosts (Apple Silicon Docker, ARM VPSes), the installer requests
OpenAlice-Broker-Packs-<version>-linux-arm64.jsonfromdownload.openalice.aiand fails withBroker-pack catalog request failed: HTTP 404, blocking UTA broker setup entirely (e.g. Longbridge). Verified against the CDN: the arm64 catalog 404s while the x64 catalog returns 200.Why QEMU
pnpm broker-packs:buildrunspnpm deployper engine, which resolves platform-specific native SDKs (longbridge includes a GNU glibc 2.39 prebuild; therequirementsForlibc gate already applies to all Linux). An x64 runner cannot produce a correct arm64 dependency tree, so the arm64 matrix entry builds inside an emulated container. Verified the same command natively on linux-arm64: all five engine archives build and passbroker-packs:verify.Verification
npx tsc --noEmit— cleanpnpm vitest run scripts/release-workflow.spec.ts scripts/ci-workflow.spec.ts scripts/desktop-package-workflow.spec.ts— 7 passedlinux-arm64run ofpnpm broker-packs:buildproduces and verifies ccxt, alpaca, ibkr, leverup, longbridge archivesbroker-pack-upgrade-smoke404-skip path exercised against a tag with no arm64 catalogResidual risk
fail-fast: false)