Skip to content

fix: include prebuilt binaries in @ruvector/gnn platform packages#210

Merged
ruvnet merged 1 commit intomainfrom
fix/gnn-darwin-arm64-binary-195
Feb 25, 2026
Merged

fix: include prebuilt binaries in @ruvector/gnn platform packages#210
ruvnet merged 1 commit intomainfrom
fix/gnn-darwin-arm64-binary-195

Conversation

@ruvnet
Copy link
Copy Markdown
Owner

@ruvnet ruvnet commented Feb 25, 2026

Summary

  • Fixes @ruvector/gnn-darwin-arm64 (and other non-linux platform packages) being published without the prebuilt .node binary
  • Root cause: napi build compiled all workspace cdylib crates, causing macOS/Windows CI to fail on unrelated crates
  • Adds --cargo-flags="-p ruvector-gnn-node" to scope the build to only the GNN node crate
  • Adds linux-x64-musl and linux-arm64-musl to the build matrix
  • Adds binary existence verification before npm publish
  • Bumps to v0.1.24 for republish with correct binaries

Test plan

  • Built and tested linux-x64-gnu binary locally (16/17 tests pass, 1 pre-existing)
  • Published @ruvector/gnn-linux-x64-gnu@0.1.24 with binary (842KB vs previous 758KB)
  • Published @ruvector/gnn@0.1.24 main package
  • Trigger Build GNN Native Modules workflow with publish: true after merge to build and publish all platform binaries (darwin-arm64, darwin-x64, win32-x64-msvc, linux-arm64-*)
  • Verify npm install @ruvector/gnn on macOS Apple Silicon loads correctly

Closes #195

🤖 Generated with claude-flow

The darwin-arm64 (and other non-linux) platform packages were published
with only package.json and no .node binary. Root cause: napi build
compiled all workspace cdylib crates instead of just ruvector-gnn-node,
causing macOS CI runners to fail.

Fixes:
- Add --cargo-flags="-p ruvector-gnn-node" to scope napi build
- Install @napi-rs/cli globally (matches working attention workflow)
- Add linux-x64-musl and linux-arm64-musl to build matrix
- Add binary existence verification before npm publish
- Bump to v0.1.24 for all platform packages

Closes #195

Co-Authored-By: claude-flow <ruv@ruv.net>
@ruvnet ruvnet merged commit e8ef399 into main Feb 25, 2026
6 of 13 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.

@ruvector/gnn-darwin-arm64 missing prebuilt binary (darwin-arm64)

1 participant