Repository navigation
graph-node 2.1.4: arm64 rebuild without +rcpc, arm64 gate + Cortex-A72 qemu test - #1458
Merged
Merged
Conversation
…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>
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.
Problem
@ruvector/graph-node2.1.3 installs@ruvector/graph-node-linux-arm64-gnu2.1.2, which has 2464 LDAPR instructions. Both 2.1.2 and 2.1.3 were built before #1384 removed the Cortex-A76+rcpctuning 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:node test.jsChanges (
build-graph-node.yml, same pattern as #1456 / #1453)index.<platform>.node. It no longer usesfind -name "index.*.node" \| head -1.file).scripts/ci/check-arm64-node-binary.sh: aarch64 ELF, 0 LDAPR, GLIBC ≤ 2.34.test.jswith the fresh arm64 binary underqemu-aarch64 -cpu cortex-a72, an ARMv8.0 model of the Pi 4.package.json2.1.3 → 2.1.4. Removed the untruewasmkeyword and addedcypherandhypergraph(ADR-356). Platform metadata still comes fromscripts/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