Commit 4ab7842
committed
fix(ci): reduce Bazel jobs to 1 to prevent OOM crash
adev-staging-deploy.yml failed on main with a genuine in-VM OOM
signature (truncated log line + exit code 1) mid-compile at
[17,472/17,628], distinct from the runner-shutdown flakiness seen in
earlier runs. With --jobs=2, two concurrent Bazel actions (ng_package
Rollup bundling, tsc compilation workers) can together exceed the
runner's available memory even though --local_resources=memory=4096
is only a scheduling hint, not a hard cap.
Serializing action execution with --jobs=1 avoids the concurrent
memory spike without lowering the memory budget itself (which
previously pushed build time to ~28min at memory=3072/jobs=2).
Verified against both workflows: the PR check (ci.yml, run 32402548439,
28m25s) and a real push-triggered staging deploy including the
Firebase deploy step (adev-staging-deploy.yml, run 32402468531, 4m9s)
both completed successfully with this change.1 parent 34d8b37 commit 4ab7842
2 files changed
Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
| 37 | + | |
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
| 34 | + | |
35 | 35 | | |
36 | 36 | | |
| 37 | + | |
37 | 38 | | |
38 | 39 | | |
39 | 40 | | |
| |||
0 commit comments