Fix silent CI failure on macOS arm64 build - #2706
Conversation
The arm64 job OOMs during electron-builder packaging with no NODE_OPTIONS memory bump (unlike the x64 job, which already has it), finishes in ~80s instead of the expected 4-5 min, uploads no artifact, and still reports success. Add the same --max-old-space-size=4096 already used for x64, and add if-no-files-found: error to every upload-artifact step so a missing build output fails the job instead of silently passing, on any platform.
|
ⓘ Qodo reviews are paused because the subscription is no longer active. Ask your workspace admin to reactivate the subscription to resume reviews. Manage billing |
PR Summary by QodoFail CI loudly on missing artifacts; add memory bump for macOS arm64 packaging
AI Description
Diagram
High-Level Assessment
Files changed (1)
|
Code Review by Qodo🐞 Bugs (0) 📘 Rule violations (0) 📎 Requirement gaps (0)
Great, no issues found!Qodo reviewed your code and found no material issues that require reviewTip of the day💡 Did you know, you can route each action level your way: inline, summary, both, or drop |
|
Configurator test build ready — commit Download build artifacts for PR #2706 Available platforms (scroll to the Artifacts section at the bottom of the run page):
|
…job (to be reverted)
…ils the job (to be reverted)" This reverts commit 2c2c341.
|



Summary
build-mac-arm64CI job OOMs during electron-builder packaging, finishes in ~80s instead of the expected 4-5 min, uploads no artifact, and still reports success — every PR silently ships without a real arm64 build check.NODE_OPTIONS: --max-old-space-size=4096to the arm64 build step, mirroring the identical setting already present on the working x64 sibling step.if-no-files-found: errorto all 15actions/upload-artifact@v4steps in the file (not just arm64), so a missing build output fails the job loudly instead of silently passing, on any platform.Fixes #2701
Test plan
yaml.safe_loadif-no-files-found: error, none missedNODE_OPTIONSblock is an exact match of the existing working x64 step