build(workflows): remove Node.js v12/v14 from macOS test matrix (no arm64 binaries)#12448
Draft
Planeshifter wants to merge 1 commit into
Draft
build(workflows): remove Node.js v12/v14 from macOS test matrix (no arm64 binaries)#12448Planeshifter wants to merge 1 commit into
Planeshifter wants to merge 1 commit into
Conversation
The macos_test, macos_benchmark, and macos_test_cov workflows use macOS-latest, which now resolves to macOS 15 on arm64 (Apple Silicon). Node.js v12 and v14 have no official arm64 macOS binaries; actions/setup-node@v6.4.0 fails with "Unable to find Node version '12' for platform darwin and architecture arm64." Both versions are EOL (v12 since December 2022, v14 since April 2023) and are still covered by linux_test.yml on x64. Remove them from the macOS matrices, consistent with macos_test_npm_install.yml which already excludes them. https://claude.ai/code/session_01F6HMgfZ1MCE9N74ZFrTYim
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This pull request:
macos_test.yml,macos_benchmark.yml, andmacos_test_cov.yml.macOS-latestnow resolves to macOS 15 running on arm64 (Apple Silicon). Node.js v12 and v14 were never released with official arm64 macOS binaries. Theactions/setup-node@v6.4.0action fails at every daily run with:Both versions are EOL:
x64 coverage for these versions is retained by
linux_test.yml, which runs onubuntu-latest. Removing them from the macOS matrix is consistent withmacos_test_npm_install.yml, which already only tests['20', '18', '16'].Affected workflows and change summary:
macos_test.yml['16', '14', '12']['16']macos_benchmark.yml['16', '14', '12']['16']macos_test_cov.yml['16', '14', '12']['16']Related Issues
This pull request has the following related issues:
Questions
No.
Other
Reference: failed workflow run showing the arm64 binary error — https://github.com/stdlib-js/stdlib/actions/runs/26814321669
macos_test_npm_install.ymlalready uses['20', '18', '16']and served as the precedent for this change.Checklist
AI Assistance
If you answered "yes" above, how did you use AI assistance?
Disclosure
This PR was written primarily by Claude Code as part of an automated CI failure investigation routine. The root cause (macOS arm64 runner + no arm64 Node.js binaries for v12/v14) and the fix were identified and validated by the AI agent. A human should confirm the matrix reduction is acceptable before merging.
@stdlib-js/reviewers
Generated by Claude Code