From 8fb2dcb0a694da400052d131e234656371eb52d6 Mon Sep 17 00:00:00 2001 From: Martin Vogel Date: Sun, 6 Dec 2026 16:37:31 +0100 Subject: [PATCH] ci(test-ui): skip onnxruntime-node's GPU download in the UI leg graph-ui's npm install runs onnxruntime-node's postinstall, which downloads the GPU build (microsoft.ml.onnxruntime.gpu.linux nupkg) from api.nuget.org. The UI leg never uses it - the CPU runtime and binding ship inside the npm package (bin/napi-v6/linux/x64) - and a NuGet timeout failed the whole leg (seen on #3019). ONNXRUNTIME_NODE_INSTALL=skip is the package's own switch (its postinstall exits before downloading); the Nix flake sets the same. Signed-off-by: Martin Vogel --- .github/workflows/_test.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/_test.yml b/.github/workflows/_test.yml index ed60aca83e..48e4533ea2 100644 --- a/.github/workflows/_test.yml +++ b/.github/workflows/_test.yml @@ -353,6 +353,13 @@ jobs: node-version: "22" - name: CodeAtlasWeb leg (install, unit, style, promises, acceptance, build) + env: + # onnxruntime-node (via @huggingface/transformers) ships its CPU + # runtime in the npm package; its postinstall only downloads the GPU + # build from api.nuget.org, which this leg never uses and which fails + # the whole leg whenever NuGet is unreachable. Its own switch skips it + # (the Nix flake sets the same). + ONNXRUNTIME_NODE_INSTALL: skip run: scripts/ci/test-ui.sh # ThreadSanitizer data-race gate. The threaded production surfaces (watcher,