Skip to content

[ci] Increase TEST_CONCURRENCY from 8 to 12#94138

Merged
bgw merged 1 commit into
canaryfrom
bgw/test-concurrency-12
May 27, 2026
Merged

[ci] Increase TEST_CONCURRENCY from 8 to 12#94138
bgw merged 1 commit into
canaryfrom
bgw/test-concurrency-12

Conversation

@bgw
Copy link
Copy Markdown
Member

@bgw bgw commented May 26, 2026

We're using 16 core machines, our TEST_CONCURRENCY of 8 is arbitrary. This tries increasing that to 12.

It appeared that (across a couple of runs) that TEST_CONCURRENCY=16 may lead to more test failures. Plausibly this could be due to timeouts. TEST_CONCURRENCY=12 does not appear to be causing noticeably more failures than usual, and seems to be slightly speeding things up.

Datadog SQL:

SELECT
  SUM(duration) / 1000 / 1000 / 1000 / 60 as minutes,
  branch,
  ci_pipeline_id
FROM dd.ci_pipelines(
    columns => ARRAY ['@ci.pipeline.id', '@duration', '@git.branch'],
    event_type => 'step',
    filter => '@git.repository.id_v2:github.com/vercel/next.js @ci.pipeline.name:build-and-test @ci.provider.instance:github-actions @ci.pipeline.id:(26473602379-1 OR 26484229016-1 OR 26485947297-1 OR 26493064901-1 OR 26492002693-1 OR 26485986756-1 OR 26485929595-1 OR 26484214883-1 OR 26480156826-1)',
    from_timestamp => now() - INTERVAL '30 days',
    to_timestamp => now()
  ) AS (
    ci_pipeline_id VARCHAR,
    duration BIGINT,
    branch VARCHAR
  )
GROUP BY branch, ci_pipeline_id ORDER BY branch;
Screenshot 2026-05-26 at 11 07 05 PM

Copy link
Copy Markdown
Member Author

bgw commented May 26, 2026

This stack of pull requests is managed by Graphite. Learn more about stacking.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 26, 2026

Tests Passed

Commit: c36ede7

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 26, 2026

Stats cancelled

Commit: c36ede7
View workflow run

@bgw bgw force-pushed the bgw/test-concurrency-12 branch from 9ed65b3 to 9045fce Compare May 27, 2026 00:58
@bgw bgw changed the title [ci] Try increasing TEST_CONCURRENCY to 12 [ci] Try increasing TEST_CONCURRENCY from 8 to 12 May 27, 2026
@bgw bgw force-pushed the bgw/test-concurrency-12 branch from 9045fce to c36ede7 Compare May 27, 2026 01:51
@bgw bgw marked this pull request as ready for review May 27, 2026 06:08
@bgw bgw changed the title [ci] Try increasing TEST_CONCURRENCY from 8 to 12 [ci] Increase TEST_CONCURRENCY from 8 to 12 May 27, 2026
@bgw bgw enabled auto-merge (squash) May 27, 2026 18:12
@bgw bgw merged commit 6b64722 into canary May 27, 2026
294 of 299 checks passed
@bgw bgw deleted the bgw/test-concurrency-12 branch May 27, 2026 18:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants