Native Yaci DevKit CLI for Linux arm64 (npm, Homebrew, release zip)
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 30/100
Research direction
The work spans the release workflows in .github/workflows/release-cli.yml and dev-release-cli.yml, the npm packages under npm/ with npm/yaci-devkit/start.mjs, and .github/scripts/homebrew-formula.sh. The blocker is outside this repo: Yaci Store must first publish linux-arm64 native zips, so start by confirming that in the bloxbean/yaci-store release. Done means the arm64 zip, npm package and Homebrew formula build and publish, and the platform check in start.mjs selects the right package.
Written by the indexing model from the issue text.
Description
Summary
Publish the native Yaci DevKit CLI for Linux arm64 (aarch64), alongside the existing macOS arm64 and Linux x64 builds: release zip, npm package and Homebrew formula. GitHub now provides hosted Linux arm64 runners (ubuntu-22.04-arm), so it can be built the same way as Linux x64.
The Docker image is not affected: it already ships linux/arm64, with Yaci Store built from source.
Blocker: Yaci Store native build
Yaci Store has no native Linux arm64 build. The rel-native-2.0.7 release of bloxbean/yaci-store has only:
yaci-store-2.0.7-linux-x64-{all,n2c}.zipyaci-store-2.0.7-linux-musl-x64-{all,n2c}.zip
DownloadService resolves yaci-store-<version>-linux-arm64-<variant>.zip on Linux arm64, so a native Linux arm64 CLI could run a devnet but up --enable-yaci-store would fail to download Yaci Store. Yaci Store needs to publish linux-arm64 native zips first.
The other components already have Linux arm64 releases, and DownloadService already selects them:
- cardano-node 11.0.1:
cardano-node-11.0.1-linux-arm64.tar.gz - Yano v0.1.0-pre17:
yano-native-0.1.0-pre17-linux-arm64.zip - Ogmios / Kupo:
aarch64-linuxbuilds
Changes needed in yaci-devkit (once Yaci Store has arm64 builds)
These were drafted and then removed until Yaci Store is ready:
release-cli.ymlanddev-release-cli.yml: addubuntu-22.04-armto the build and npm matrices. The release zip is thenyaci-cli-<TAG>-linux-ARM64.zip(fromrunner.arch, kept upper case like the existing assets).- npm: add a package
npm/yaci-devkit-linux-arm64(@bloxbean/yaci-devkit-linux-arm64), mapubuntu-22.04-armto it in the npm jobs, add it tonpm/yaci-devkit/package.json, and update its version in thepublish-yaci-devkitjob (and the dry-run job). npm/yaci-devkit/start.mjs: on Linux, pick the package byprocess.arch(arm64vsx64).- Homebrew: add a
Hardware::CPU.arm?branch underon_linuxin.github/scripts/homebrew-formula.sh, and download and checksum the Linux arm64 zip in theupdate-homebrewandhomebrew-dry-runjobs.
Things to plan for
- First npm publish:
@bloxbean/yaci-devkit-linux-arm64does not exist on npm yet. It probably needs one manual publish and trusted-publisher setup on npmjs.com before the CI publish can work. If the arm64 publish fails,publish-yaci-devkitis skipped too, because it waits on all the platform publishes. - npm install size:
@bloxbean/yaci-devkitlists the platform packages as regulardependencies, so every install downloads every platform's binary (about 166 MB each unpacked). A third platform makes this worse. Consider making themoptionalDependencies, withos/cpufields in each platform package, so npm only fetches the matching one.
- Dominant language
- Java
- Stars
- 70
- Forks
- 21
- PR merge metrics
- No merged PRs in 30d
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from bloxbean/yaci-devkit
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
bloxbean/yaci-devkit#87 · 1 comment ·
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
bloxbean/yaci-devkit#221 · 2 comments · 1 reaction ·
-
npm wrapper: SIGTERM/SIGINT orphans yaci-cli and leaves a stale PID filePossibly taken @satran004 claimed this 17 days ago. Open
Difficulty 3/5 Half a day Newbie friendliness 55/100
bloxbean/yaci-devkit#220 · 1 assignee ·
-
enhancement
Difficulty 5/5 Over a week Newbie friendliness 28/100
bloxbean/yaci-devkit#207 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 32/100
bloxbean/yaci-devkit#187 ·
All issues in bloxbean/yaci-devkit
Similar issues
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 2 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
bloxbean/yaci-store#1445 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 64/100
-
Spare PermissionOpen
Difficulty 2/5 1-3 hours Newbie friendliness 63/100
Etar-Group/Etar-Calendar#2234 ·
Maintainers usually reply within 1 day