Skip to content

Commit 34f3637

Browse files
committed
fix: make aube installation non-fatal in setup.sh
aube@1.13.0 (published 2026-05-13) has a broken arm64 binary — the @endevco/aube-linux-arm64 platform package declares bin/aubr but the file doesn't exist in the tarball, causing npm install to fail with ENOENT during preinstall. Rather than pinning to a specific version, make the aube install non-fatal so a broken aube release doesn't block the entire benchmark suite (all 41+ jobs). If aube fails to install, a warning is logged and the suite continues benchmarking all other package managers.
1 parent c25f153 commit 34f3637

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

scripts/setup.sh

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,12 @@ npm install -g npm@latest corepack@latest vlt@latest bun@latest deno@latest nx@l
5050
# Install Vite+ (vp) via npm (available as the `vite-plus` package)
5151
npm install -g vite-plus@latest
5252

53-
# Install aube via npm (available as the `@endevco/aube` package)
54-
npm install -g @endevco/aube@latest
53+
# Install aube via npm (available as the `@endevco/aube` package).
54+
# Non-fatal: aube may not have a working binary for all platforms (e.g. arm64).
55+
# If it fails to install, the benchmark suite continues without aube.
56+
if ! npm install -g @endevco/aube@latest 2>/dev/null; then
57+
echo "Warning: aube installation failed (may not support this platform) — skipping aube benchmarks"
58+
fi
5559

5660
# Configure Package Managers
5761
echo "Configuring package managers..."

0 commit comments

Comments
 (0)