fix: include prebuilt binaries in @ruvector/gnn platform packages#210
Merged
fix: include prebuilt binaries in @ruvector/gnn platform packages#210
Conversation
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>
This was referenced Feb 25, 2026
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.
Summary
@ruvector/gnn-darwin-arm64(and other non-linux platform packages) being published without the prebuilt.nodebinarynapi buildcompiled all workspace cdylib crates, causing macOS/Windows CI to fail on unrelated crates--cargo-flags="-p ruvector-gnn-node"to scope the build to only the GNN node cratelinux-x64-muslandlinux-arm64-muslto the build matrixTest plan
linux-x64-gnubinary locally (16/17 tests pass, 1 pre-existing)@ruvector/gnn-linux-x64-gnu@0.1.24with binary (842KB vs previous 758KB)@ruvector/gnn@0.1.24main packageBuild GNN Native Modulesworkflow withpublish: trueafter merge to build and publish all platform binaries (darwin-arm64, darwin-x64, win32-x64-msvc, linux-arm64-*)npm install @ruvector/gnnon macOS Apple Silicon loads correctlyCloses #195
🤖 Generated with claude-flow