From cdca4d98186e99e705ee7407d654d9cc26d278b6 Mon Sep 17 00:00:00 2001 From: rUv Date: Tue, 17 Nov 2026 20:55:03 -0500 Subject: [PATCH] ci(supply-chain): skip onnxruntime-node binary download in the audit job (#5028) microsoft/onnxruntime release v1.21.0 is gone (gh: release not found; its linux-x64-gpu tarball now 404s). The nested onnxruntime-node under agentic-flow -> @huggingface/transformers postinstalls that CUDA tarball, so the browser 'npm install' in the Supply-chain audit job fails on every PR. npm audit only reads the lockfile and never loads the native binding, so set ONNXRUNTIME_NODE_INSTALL(=_CUDA)=skip for the job. Verified locally: the install succeeds and audit-supply-chain.mjs output is unchanged. Co-authored-by: r --- .github/workflows/v3-ci.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/v3-ci.yml b/.github/workflows/v3-ci.yml index eec8d6ef56..7e6d677ac8 100644 --- a/.github/workflows/v3-ci.yml +++ b/.github/workflows/v3-ci.yml @@ -813,6 +813,13 @@ jobs: # so direct-to-main changes (rare) are caught. name: Supply-chain audit (#2046) runs-on: ubuntu-latest + env: + # npm audit reads the lockfile graph; it never loads onnxruntime. The + # nested onnxruntime-node under agentic-flow's transformers postinstalls + # a CUDA tarball from microsoft/onnxruntime releases v1.21.0, which no + # longer exists (404 since 2026-11-18), failing the browser install. + ONNXRUNTIME_NODE_INSTALL: skip + ONNXRUNTIME_NODE_INSTALL_CUDA: skip steps: - name: Checkout code