From 1e3dbff253daf1181e628aac11804f424b590cad Mon Sep 17 00:00:00 2001 From: vltbaudbot <264001112+vltbaudbot@users.noreply.github.com> Date: Thu, 14 May 2026 01:03:39 +0000 Subject: [PATCH] fix: make aube installation non-fatal in setup.sh MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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. --- scripts/setup.sh | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/scripts/setup.sh b/scripts/setup.sh index a0528cc8ed..9923a18fd9 100644 --- a/scripts/setup.sh +++ b/scripts/setup.sh @@ -50,8 +50,12 @@ npm install -g npm@latest corepack@latest vlt@latest bun@latest deno@latest nx@l # Install Vite+ (vp) via npm (available as the `vite-plus` package) npm install -g vite-plus@latest -# Install aube via npm (available as the `@endevco/aube` package) -npm install -g @endevco/aube@latest +# Install aube via npm (available as the `@endevco/aube` package). +# Non-fatal: aube may not have a working binary for all platforms (e.g. arm64). +# If it fails to install, the benchmark suite continues without aube. +if ! npm install -g @endevco/aube@latest 2>/dev/null; then + echo "Warning: aube installation failed (may not support this platform) — skipping aube benchmarks" +fi # Configure Package Managers echo "Configuring package managers..."