Skip to content

[code-infra] Use concurrency 1 in CircleCI - #14110

Merged
JCQuintas merged 2 commits into
mui:masterfrom
JCQuintas:move-circleci-to-concurrency-1
Aug 6, 2024
Merged

JCQuintas merged 2 commits into
mui:masterfrom
JCQuintas:move-circleci-to-concurrency-1

Conversation

@JCQuintas

Copy link
Copy Markdown
Member

This should fix the issues where typescript checks are failing in CI

Circle CI only runs on 2 cpus: https://discuss.circleci.com/t/debugging-random-node-js-build-failures/39667

We should generally run CPU_COUNT - 1 concurrent processes, which leaves us at 1 for circleci

max-old-space-size has no effect on scripts that spawn multiple processes, so we can remove it in this instance.

@mui-bot

mui-bot commented Aug 5, 2024 •

Copy link
Copy Markdown

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

Generated by 🚫 dangerJS against 7025464

@JCQuintas

Copy link
Copy Markdown
Member Author

Should resolve typescript OOM issues in CI on these PRs:

#13855
#13241

@flaviendelangle

flaviendelangle commented Aug 6, 2024 •

Copy link
Copy Markdown
Member

For #13855, I still have the issue for concurrency 1 :/

Comment thread .circleci/config.yml Resolved
@JCQuintas

Copy link
Copy Markdown
Member Author

@flaviendelangle changes here were successful for the ts step, others are failing still though: #14109

Signed-off-by: Jose C Quintas Jr <juniorquintas@gmail.com>
@JCQuintas
JCQuintas enabled auto-merge (squash) August 6, 2024 08:42
@JCQuintas
JCQuintas merged commit 4022241 into mui:master Aug 6, 2024
@JCQuintas
JCQuintas deleted the move-circleci-to-concurrency-1 branch August 6, 2024 08:59
@flaviendelangle

Copy link
Copy Markdown
Member

@JCQuintas I brought back all the demos and it seems to pass indeed
I think we needed both the concurrency change and the increase in resources

Comment thread package.json
"test:regressions:server": "serve test/regressions -p 5001",
"test:argos": "node ./scripts/pushArgos.mjs",
"typescript": "lerna run --no-bail --parallel typescript",
"typescript:ci": "lerna run --concurrency 3 --no-bail --no-sort typescript",

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Typecheck is failing in CI after this was merged.

@zannager zannager added the scope: code-infra Involves the code-infra product (https://www.notion.so/mui-org/5562c14178aa42af97bc1fa5114000cd). label Apr 30, 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).

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants