Skip to content

diskann 0.1.4: arm64 rebuild without +rcpc, arm64 gate + Cortex-A72 qemu test - #1459

Merged
ruvnet merged 1 commit into
mainfrom
sail/diskann-0.1.4
Nov 10, 2026
Merged

ruvnet merged 1 commit into
mainfrom
sail/diskann-0.1.4

Conversation

@ruvnet

@ruvnet ruvnet commented Nov 10, 2026

Copy link
Copy Markdown
Owner

Problem

@ruvector/diskann-linux-arm64-gnu 0.1.3 has 198 LDAPR instructions. It was built before #1384 removed the Cortex-A76 +rcpc tuning from the workspace .cargo/config.toml. It SIGILLs on Raspberry Pi 4 and Jetson (Cortex-A72/A57).

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

binary LDAPR max GLIBC result
npm 0.1.3 198 2.34 SIGILL on require
arm64 build from main 0 2.34 (in CI container) full test.js passes (build, search, delete, save/load, corrupt-file error)

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

  • Prepare artifact uses the exact napi output index.<platform>.node. The old find npm/packages/diskann -name "*.node" \| head -1 also matched files under node_modules.
  • Assert that each binary's architecture matches its platform.
  • 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.
  • ADR-356: the platform package template gets keywords, a description that names the parent package, and canonical ruvnet/ruvector URLs. Main package keywords drop HNSW/GNN/knowledge-graph/link-prediction, which this package doesn't do, and now name Vamana, ANN, PQ and SSD.
  • Version stays 0.1.4: main already bumped it, and it was never published. Pins stay at the published 0.1.3 because of the resolvable-on-npm guard. The publish job locks them.

🤖 Generated with claude-flow

…emu test

@ruvector/diskann-linux-arm64-gnu 0.1.3 has 198 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.

build-diskann.yml:
- Prepare artifact takes the exact napi output index.<platform>.node
  instead of `find npm/packages/diskann -name "*.node" | head -1`, which
  also matches node_modules (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 (build, search, delete, save/load, corrupt-file error).
- Platform package template: ADR-356 metadata (keywords, a description
  that names the parent, canonical ruvnet/ruvector URLs).

package.json stays 0.1.4 (bumped, never published). Keywords no longer
claim HNSW/GNN/knowledge-graph/link-prediction, which this package does
not do; they now name Vamana, ANN, PQ and SSD. optionalDependencies stay
at the published 0.1.3 (optional-deps-resolvable-on-npm); the publish
job locks them.

Co-Authored-By: claude-flow <ruv@ruv.net>
@ruvnet
ruvnet merged commit c20f810 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