From ed800b50c91aadce4c3a77bbe66ae1af9359f74d Mon Sep 17 00:00:00 2001 From: Claude Date: Sun, 5 Jul 2026 14:22:37 +0000 Subject: [PATCH] build(workflows): remove orphaned matrix include entries in nightly install workflows MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The workflows `macos_test_npm_install` and `linux_test_install` failed on every single scheduled run for at least the past 30 days, each time completing in under 10 seconds with zero billable minutes for the actual test-matrix job (`test_npm_install` / `test_install`) — only the downstream `zulip` notification job ever ran. Root cause: both workflows trimmed their active `NODE_VERSION` list down to `['20', '18', '16']`, but left `strategy.matrix.include` entries referencing older Node.js versions (14, 12, 10, 8, 6, 4, 0.12, 0.10) that no longer appear anywhere in the active matrix. Per GitHub Actions' matrix-expansion rules, an `include` entry whose keys don't match any existing combination spawns a new, standalone combination containing only that entry's own keys — so each orphaned entry produced a combination missing the `OS` key, making `runs-on: ${{ matrix.OS }}` resolve to empty and failing the whole job's matrix expansion before any runner was ever allocated. The sibling `windows_test_npm_install` workflow does not exhibit this bug because its `include` entries match its `NODE_VERSION` list exactly. This commit removes the orphaned `include` entries (and the resulting fully-vestigial `exclude` block in `linux_test_install.yml`, which only referenced Node versions no longer present anywhere in the matrix), so both workflows cleanly expand to their intended 3 combinations (Node.js 20/18/16) and can actually run. Ref: https://github.com/stdlib-js/stdlib/actions/runs/28736742230 Ref: https://github.com/stdlib-js/stdlib/actions/runs/28736806563 --- .github/workflows/linux_test_install.yml | 46 +------------------- .github/workflows/macos_test_npm_install.yml | 24 ---------- 2 files changed, 1 insertion(+), 69 deletions(-) diff --git a/.github/workflows/linux_test_install.yml b/.github/workflows/linux_test_install.yml index 0992374d900c..e0a85ccf8bc4 100644 --- a/.github/workflows/linux_test_install.yml +++ b/.github/workflows/linux_test_install.yml @@ -86,7 +86,7 @@ jobs: BUILD_TASK: ['test-install'] # Define the list of Node.js versions on which to run this job: - NODE_VERSION: ['20', '18', '16'] # ['20', '18', '16', '14', '12', '10', '8', '6', '4', '0.12', '0.10'] + NODE_VERSION: ['20', '18', '16'] # Define the list of package managers to test: PACKAGE_MANAGER: ['npm'] @@ -111,50 +111,6 @@ jobs: NPM_VERSION: '>2.7.0 <10.0.0' PNPM_VERSION: '6' - - NODE_VERSION: '14' - NPM_VERSION: '>2.7.0 <10.0.0' - PNPM_VERSION: '6' - - - NODE_VERSION: '12' - NPM_VERSION: '>2.7.0 <9.0.0' - PNPM_VERSION: '6' - - - NODE_VERSION: '10' - NPM_VERSION: '>2.7.0 <7.0.0' - PNPM_VERSION: '5' - - - NODE_VERSION: '8' - NPM_VERSION: '>2.7.0 <6.0.0' - PNPM_VERSION: '3' - - - NODE_VERSION: '6' - NPM_VERSION: '>2.7.0 <6.0.0' - PNPM_VERSION: '2' - - - NODE_VERSION: '4' - NPM_VERSION: '>2.7.0 <6.0.0' - PNPM_VERSION: '1' - - - NODE_VERSION: '0.12' - NPM_VERSION: '>2.7.0 <4.0.0' - - - NODE_VERSION: '0.10' - NPM_VERSION: '>2.7.0 <4.0.0' - - # Exclude certain matrix combinations: - exclude: - - NODE_VERSION: '0.12' - PACKAGE_MANAGER: 'pnpm' - - - NODE_VERSION: '0.12' - PACKAGE_MANAGER: 'yarn' - - - NODE_VERSION: '0.10' - PACKAGE_MANAGER: 'pnpm' - - - NODE_VERSION: '0.10' - PACKAGE_MANAGER: 'yarn' - # Set defaults: defaults: run: diff --git a/.github/workflows/macos_test_npm_install.yml b/.github/workflows/macos_test_npm_install.yml index b8d91a63598a..a3646ece0126 100644 --- a/.github/workflows/macos_test_npm_install.yml +++ b/.github/workflows/macos_test_npm_install.yml @@ -103,30 +103,6 @@ jobs: - NODE_VERSION: '16' NPM_VERSION: '>2.7.0 <10.0.0' - - NODE_VERSION: '14' - NPM_VERSION: '>2.7.0 <10.0.0' - - - NODE_VERSION: '12' - NPM_VERSION: '>2.7.0 <9.0.0' - - - NODE_VERSION: '10' - NPM_VERSION: '>2.7.0 <7.0.0' - - - NODE_VERSION: '8' - NPM_VERSION: '>2.7.0 <6.0.0' - - - NODE_VERSION: '6' - NPM_VERSION: '>2.7.0 <6.0.0' - - - NODE_VERSION: '4' - NPM_VERSION: '>2.7.0 <6.0.0' - - - NODE_VERSION: '0.12' - NPM_VERSION: '>2.7.0 <4.0.0' - - - NODE_VERSION: '0.10' - NPM_VERSION: '>2.7.0 <4.0.0' - # Set defaults: defaults: run: