Skip to content

Commit e04e54a

Browse files
committed
Use 32GB runner and full concurrency for CLI builds
The build-cli and build-cli-pr jobs were OOMing on the 16GB runner when running 3 concurrent deno compile processes simultaneously. Each cross-compilation target loads ~500–600MB of source files, and peak memory during V8 snapshot generation pushes well beyond 16GB with 3 concurrent processes. Upgrade both jobs to the 32GB runner profile and increase CONCURRENCY from 3 to 5 (matching the total number of cross-compilation targets) so all 5 targets build in a single parallel round. Assisted-by: Claude Code:claude-sonnet-4-6
1 parent 06d31be commit e04e54a

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/main.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -265,15 +265,15 @@ jobs:
265265
build-cli-pr:
266266
if: github.event_name == 'pull_request'
267267
needs: [release-test]
268-
runs-on: namespace-profile-linux-amd64-16gb
268+
runs-on: namespace-profile-linux-amd64-32gb
269269
steps:
270270
- uses: actions/checkout@v4
271271
- uses: ./.github/actions/setup-mise
272272
- run: mise run codegen
273273
- run: deno task pack
274274
working-directory: ${{ github.workspace }}/packages/cli/
275275
env:
276-
CONCURRENCY: "3"
276+
CONCURRENCY: "5"
277277
- uses: actions/upload-artifact@v4
278278
with:
279279
name: cli-pr-${{ github.event.pull_request.number }}
@@ -324,7 +324,7 @@ jobs:
324324
build-cli:
325325
if: github.event_name == 'push'
326326
needs: [test, test-node, test-bun, test-cfworkers, lint, release-test, determine-version]
327-
runs-on: namespace-profile-linux-amd64-16gb
327+
runs-on: namespace-profile-linux-amd64-32gb
328328
steps:
329329
- uses: actions/checkout@v4
330330
- uses: ./.github/actions/setup-mise
@@ -333,7 +333,7 @@ jobs:
333333
- run: deno task pack
334334
working-directory: ${{ github.workspace }}/packages/cli/
335335
env:
336-
CONCURRENCY: "3"
336+
CONCURRENCY: "5"
337337
- uses: actions/upload-artifact@v4
338338
with:
339339
name: cli

0 commit comments

Comments
 (0)