Skip to content

ruvllm 4.2.2 + platforms 2.1.1: arm64 without +rcpc, glibc 2.39 -> 2.34, arm64 gate + Cortex-A72 qemu smoke - #1460

Merged
ruvnet merged 3 commits into
mainfrom
sail/ruvllm-4.2.2
Nov 10, 2026
Merged

ruvnet merged 3 commits into
mainfrom
sail/ruvllm-4.2.2

Conversation

@ruvnet

@ruvnet ruvnet commented Nov 10, 2026

Copy link
Copy Markdown
Owner

Problem

@ruvector/ruvllm-linux-arm64-gnu 2.1.0 has 814 LDAPR instructions because it was built before #1384. It also requires GLIBC_2.39 because ruvllm-native.yml built it on ubuntu-latest (24.04) without a container. Under qemu-aarch64 -cpu cortex-a72 it SIGILLs on require.

Changes

  • First commit, cherry-picked from the unmerged release/r4-ruvllm lane: build both Linux targets inside ubuntu:22.04 on 24.04 hosts, bump the platform packages 2.1.0 → 2.1.1 and the wrapper 4.2.1 → 4.2.2, and lock the wrapper's platform pins at publish time. Committed pins stay at 2.1.0 because of the resolvable-on-npm guard.
  • The copy steps take the exact cargo output (libruvllm.so / .dylib / ruvllm.dll). Previously, if any examples/ruvLLM/*.node existed, it was copied instead of the fresh build (same class as attention 2.3.1: real per-platform binaries, arm64 LDAPR gate (Pi 4 SIGILL) #1456).
  • Assert each binary's architecture, and gate linux-arm64 with scripts/ci/check-arm64-node-binary.sh (0 LDAPR, GLIBC ≤ 2.34).
  • New: a qemu cortex-a72 smoke test of the arm64 binary that checks SimdOperations values and RuvLlmEngine.route().
  • A pull_request trigger so these gates run before merge. Publish stays tag/dispatch-only.
  • ADR-356 metadata for the 5 platform packages (keywords, descriptions, canonical URLs).

The r4 lane's dispatch run 42687816017 already produced a linux-arm64 binary with 0 LDAPR and GLIBC 2.34 that passes the smoke script under cortex-a72. The 2.1.0 binary dies with SIGILL on the same script.

ruvllm-build.yml is not touched. It has been failing since June and is not the publish path.

🤖 Generated with claude-flow

…floor 2.39 -> 2.34

@ruvector/ruvllm-linux-arm64-gnu 2.1.0 has 814 LDAPR instructions
(SIGILL on Pi 4 / Jetson, #1384), and both linux binaries require
GLIBC_2.39 because ruvllm-native.yml built them on ubuntu-latest.

- Platform manifests (npm/packages/ruvllm-*) 2.1.0 -> 2.1.1, wrapper
  4.2.1 -> 4.2.2.
- ruvllm-native.yml: linux entries on ubuntu-24.04 inside container
  ubuntu:22.04 (same bootstrap as the other native builds), so the
  floor drops to GLIBC_2.34 like every other ruvector native.
- Publish job locks the wrapper's platform optionalDependencies to the
  just-published platform version (the committed pins stay at the
  published 2.1.0 for optional-deps-resolvable-on-npm), like
  tiny-dancer/sona/router.

ruvllm-build.yml's `version` input is never read: that workflow builds
examples/ruvLLM via napi-rs docker images into npm/packages/ruvllm/npm/*
(manifests at 2.0.0 / 2.5.6), has not succeeded since June, and is not
the path that publishes ruvllm (ruvllm-native.yml is). Left as is;
queued for removal.

Co-Authored-By: claude-flow <ruv@ruv.net>
…, ADR-356 platform metadata

On top of the 22.04-container build (glibc floor 2.39 -> 2.34):

- Copy steps take the exact cargo output for the target
  (libruvllm.so / libruvllm.dylib / ruvllm.dll). The old chain first
  copied `examples/ruvLLM/*.node` if any existed, so a stray .node file
  would have shipped in place of the fresh build (same class as #1456).
  The no-op `napi artifacts ... || true` is gone.
- Assert each binary's architecture matches its target (file).
- Gate linux-arm64 with scripts/ci/check-arm64-node-binary.sh
  (aarch64 ELF, 0 LDAPR, GLIBC <= 2.34).
- Smoke-test the arm64 binary under qemu-aarch64 -cpu cortex-a72:
  SimdOperations dot/cosine/softmax values and RuvLlmEngine.route().
  The published 2.1.0 binary dies with SIGILL on the same script.
- pull_request trigger (workflow, examples/ruvLLM sources, .cargo
  config) so the gate runs before merge; publish stays tag/dispatch-only.
- Platform packages: ADR-356 metadata (11-12 keywords, a description
  that names @ruvector/ruvllm, canonical ruvnet/ruvector URLs).

Co-Authored-By: claude-flow <ruv@ruv.net>
…s URLs

check-platform-manifests.sh (ADR-356) requires git+https://github.com/ruvnet/RuVector.git
and the RuVector issue tracker on checked-in platform manifests; the previous
commit lowercased them.

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