Repository navigation
feat(bootstrap): add linux-arm64 platform and advisory Linux ARM CI legs - #384
Open
StefanSteiner wants to merge 4 commits into
Open
StefanSteiner wants to merge 4 commits into
StefanSteiner wants to merge 4 commits into
Conversation
Teach hyperdb-bootstrap about aarch64 Linux: Platform::LinuxArm64 (slug linux-arm64), host detection, and the manylinux2014_aarch64 wheel tag in the builtin pin. aarch64 wheels first appeared on PyPI at 0.0.27426 (a Linux-only upload), so the pinned 0.0.26479 has none: the pin carries the tag but no digest, and verify reports the platform as not yet published instead of failing. A platform that pins a digest and is missing is still a hard failure. CI gains two advisory (continue-on-error) legs on ubuntu-24.04-arm: the workspace test job and the hyperdb-api-node build + smoke job. Both fetch hyperd 0.0.27426 via --version, since the pin has no aarch64 wheel yet. Existing check names are unchanged and the release verify gates match exact names, so the advisory legs cannot block a release.
hyperd 0.0.27426 reports a server-side query timeout as 53S01 "The query exceeded the time limit of N milliseconds" instead of a "canceled" message. The timeout itself still fires on time (112 ms for a 100 ms limit); only the text the two timeout tests matched on changed. Accept the SQLSTATE and the new wording alongside the old. Also run the advisory ARM leg with --no-fail-fast so one failing test binary does not hide the results of the rest.
0.0.27579 is the first full Hyper API release with wheels for all five platforms, including manylinux2014_aarch64. Bump the pin (toml + the mirrored npm-build-publish.yml values, drift guard green), add the linux-arm64 sha256, and point the advisory Linux ARM CI legs at the pin instead of a --version override.
StefanSteiner
force-pushed
the
feat/linux-arm64-ci
branch
from
December 3, 2026 03:31
7a2fd59 to
009970e
Compare
…and hyperdb-api-node Add the hyperdb-mcp-linux-arm64-gnu and hyperdb-api-node-linux-arm64-gnu platform packages: a native ubuntu-24.04-arm leg in the npm build matrix (bundling the pinned linux-arm64 hyperd, drift guard green), publish and version-injection loops, launcher/loader selection for ARM Linux glibc, the napi target and ci-copy-artifact mapping, assemble-npm.sh host detection, the cargo-about target list, and the in-source version guard. musl remains unsupported.
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
Upfront work for Linux ARM (
aarch64-unknown-linux-gnu) so CI can show what breaks before the next full Hyper API release.hyperdb-bootstrap: newPlatform::LinuxArm64(linux-arm64), host detection, and themanylinux2014_aarch64wheel tag in the builtin pin.0.0.27426, a Linux-only upload. The pin stays at0.0.26479, which has no aarch64 wheel.verifyreportslinux-arm64as "not yet published" when it has a tag, no digest, and no wheel. A platform that pins a digest and is missing is still a hard failure, so the four existing platforms are checked exactly as before.continue-on-error) legs onubuntu-24.04-arm:test (ubuntu-24.04-arm)andhyperdb-api-node (build + smoke, linux-arm64). Both downloadhyperd 0.0.27426with--version(unverified, WARN logged), since the pin has no ARM wheel. Existing check names are unchanged. The release verify gates match exact names, so these cannot block a release.Deliberately not in this PR
linux-arm64-gnupackages and release matrix entries (npm-build-publish.yml,assemble-npm.sh,bin.js,index.js, drift guard). They need an aarch64 wheel at the pinned version, and adding them now would break the next release. Follow-up once a full release with all platforms ships.hyperdpin (it would be an engine change mixed into a platform change, and0.0.27426has no macOS/Windows wheels).Test plan
cargo test -p hyperdb-bootstrap(32 unit + doc tests pass), including new tests forNotYetPublishedand the 404 tolerancecargo clippy -p hyperdb-bootstrap --all-targets --all-features -- -D warnings,cargo fmt --check,RUSTDOCFLAGS="-D warnings" cargo dochyperdb-bootstrap verifyagainst live PyPI: four platforms OK,linux-arm64"not yet published"ubuntu-24.04-armagainsthyperd 0.0.27426.r3182f176: workspace tests pass (110 test binaries, 0 failures) and the Node addon builds and passes its smoke test.Finding from the ARM run
The first ARM run failed two tests,
sync_/async_query_timeout_cancels_slow_query. This was not ARM-specific:0.0.27426words a server-side query timeout as53S01 "The query exceeded the time limit of N milliseconds", where older engines said "canceled". The timeout fires on time (112 ms for a 100 ms limit). The tests now accept the SQLSTATE and both wordings, which should also de-risk the pin bump to the next full release.