Skip to content

graph-node 2.1.4: arm64 rebuild without +rcpc, arm64 gate + Cortex-A72 qemu test - #1458

Merged
ruvnet merged 1 commit into
mainfrom
sail/graph-node-2.1.4
Nov 10, 2026
Merged

ruvnet merged 1 commit into
mainfrom
sail/graph-node-2.1.4

Conversation

@ruvnet

@ruvnet ruvnet commented Nov 10, 2026

Copy link
Copy Markdown
Owner

Problem

@ruvector/graph-node 2.1.3 installs @ruvector/graph-node-linux-arm64-gnu 2.1.2, which has 2464 LDAPR instructions. Both 2.1.2 and 2.1.3 were built before #1384 removed the Cortex-A76 +rcpc tuning from the workspace .cargo/config.toml. They SIGILL on Raspberry Pi 4 and Jetson (Cortex-A72/A57), and Node can't catch that signal.

Measured locally under qemu-aarch64 -cpu cortex-a72:

binary LDAPR max GLIBC node test.js
npm 2.1.3 platform pkg 2464 2.34 exit 132 (SIGILL)
arm64 build from main 0 2.34 (in CI container) all tests pass

Changes (build-graph-node.yml, same pattern as #1456 / #1453)

  • Prepare artifact uses the exact napi output index.<platform>.node. It no longer uses find -name "index.*.node" \| head -1.
  • Assert that each binary's architecture matches its platform (file).
  • Gate linux-arm64 with scripts/ci/check-arm64-node-binary.sh: aarch64 ELF, 0 LDAPR, GLIBC ≤ 2.34.
  • New: run test.js with the fresh arm64 binary under qemu-aarch64 -cpu cortex-a72, an ARMv8.0 model of the Pi 4.
  • package.json 2.1.3 → 2.1.4. Removed the untrue wasm keyword and added cypher and hypergraph (ADR-356). Platform metadata still comes from scripts/publish-platforms.js (SEO metadata at the source templates: graph-node platforms + 8 wasm-pack crates (13 packages, ADR-356) #1455). optionalDependencies stay at published versions to satisfy the resolvable-on-npm guard. The publish job locks them to 2.1.4.

After merge: publish 2.1.4 with all 5 platform packages.

🤖 Generated with claude-flow

…2 qemu test

@ruvector/graph-node-linux-arm64-gnu 2.1.2/2.1.3 (the binary the 2.1.3
wrapper installs) has 2464 LDAPR instructions: it was built before #1384
dropped Cortex-A76/+rcpc from the workspace .cargo/config.toml, so it
SIGILLs on Pi 4 / Jetson (Cortex-A72/A57). A rebuild from main is
LDAPR-free; this makes CI prove it on every build.

build-graph-node.yml:
- Prepare artifact takes the exact napi output index.<platform>.node
  instead of `find -name "index.*.node" | head -1` (same class as #1456).
- Assert each binary's architecture matches its platform (file).
- Gate linux-arm64 with scripts/ci/check-arm64-node-binary.sh
  (aarch64 ELF, 0 LDAPR, GLIBC <= 2.34).
- Run test.js with the fresh arm64 binary under qemu-aarch64 -cpu
  cortex-a72; the published 2.1.3 binary exits 132 (SIGILL) on the same
  command, the main build passes.

package.json: 2.1.3 -> 2.1.4; drop the untrue "wasm" keyword, add
"cypher" and "hypergraph". optionalDependencies stay at published
versions (optional-deps-resolvable-on-npm); the publish job locks them.

Co-Authored-By: claude-flow <ruv@ruv.net>
@ruvnet
ruvnet merged commit 7ddc3b6 into main Nov 10, 2026
58 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.

1 participant