Skip to content

[code-infra] Reduce Netlify build parallelism to 2#22925

Merged
LukasTy merged 1 commit into
mui:masterfrom
LukasTy:claude/zealous-neumann-2f04e9
Jun 24, 2026
Merged

[code-infra] Reduce Netlify build parallelism to 2#22925
LukasTy merged 1 commit into
mui:masterfrom
LukasTy:claude/zealous-neumann-2f04e9

Conversation

@LukasTy

@LukasTy LukasTy commented Jun 24, 2026

Copy link
Copy Markdown
Member

Overview

Netlify deploys have been failing too often (OOM during the static export build). This lowers the Next.js docs build worker count to reduce concurrent memory pressure.

What changed

  • netlify.toml: NEXT_PARALLELISM 3 -> 2.

NEXT_PARALLELISM is read by withDocsInfra, which otherwise defaults to os.availableParallelism(). Capping it lower trades some build speed for lower peak memory usage during the static export build.

Reviewer notes

This is a mitigation attempt, not a confirmed root-cause fix. If deploys stabilize at 2, we keep it; if they still fail, the next step is to look further into the build's memory profile.

Lower NEXT_PARALLELISM from 3 to 2 to reduce concurrent memory pressure
during the static export build and mitigate frequent Netlify deploy
failures (OOM).

Co-Authored-By: Claude Opus 4.8 <[email protected]>
@code-infra-dashboard

Copy link
Copy Markdown

Deploy preview

https://deploy-preview-22925--material-ui-x.netlify.app/

Bundle size

Bundle Parsed size Gzip size
@mui/x-data-grid 0B(0.00%) 0B(0.00%)
@mui/x-data-grid-pro 0B(0.00%) 0B(0.00%)
@mui/x-data-grid-premium 0B(0.00%) 0B(0.00%)
@mui/x-charts 0B(0.00%) 0B(0.00%)
@mui/x-charts-pro 0B(0.00%) 0B(0.00%)
@mui/x-charts-premium 0B(0.00%) 0B(0.00%)
@mui/x-date-pickers 0B(0.00%) 0B(0.00%)
@mui/x-date-pickers-pro 0B(0.00%) 0B(0.00%)
@mui/x-tree-view 0B(0.00%) 0B(0.00%)
@mui/x-tree-view-pro 0B(0.00%) 0B(0.00%)
@mui/x-license 0B(0.00%) 0B(0.00%)

Details of bundle changes


Check out the code infra dashboard for more information about this PR.

@LukasTy LukasTy added type: enhancement It’s an improvement, but we can’t make up our mind whether it's a bug fix or a new feature. scope: code-infra Involves the code-infra product (https://www.notion.so/mui-org/5562c14178aa42af97bc1fa5114000cd). labels Jun 24, 2026
@LukasTy LukasTy changed the title [docs] Reduce Netlify build parallelism to 2 [code-infra] Reduce Netlify build parallelism to 2 Jun 24, 2026
@LukasTy
LukasTy marked this pull request as ready for review June 24, 2026 09:26
@LukasTy
LukasTy requested review from Janpot and brijeshb42 June 24, 2026 09:26
@LukasTy
LukasTy merged commit 33abbfb into mui:master Jun 24, 2026
18 of 25 checks passed
@LukasTy
LukasTy deleted the claude/zealous-neumann-2f04e9 branch June 24, 2026 10:51
mbrookes pushed a commit to mbrookes/mui-x that referenced this pull request Jun 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope: code-infra Involves the code-infra product (https://www.notion.so/mui-org/5562c14178aa42af97bc1fa5114000cd). type: enhancement It’s an improvement, but we can’t make up our mind whether it's a bug fix or a new feature.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants