Skip to content

[code-infra] Fix fail-on-console breaking with --no-isolate --no-file-parallelism#1168

Merged
Janpot merged 3 commits intomasterfrom
fix-failonconsole-ordering
Mar 9, 2026
Merged

[code-infra] Fix fail-on-console breaking with --no-isolate --no-file-parallelism#1168
Janpot merged 3 commits intomasterfrom
fix-failonconsole-ordering

Conversation

@Janpot
Copy link
Copy Markdown
Member

@Janpot Janpot commented Mar 9, 2026

It sets up lifecycle hooks but they get cleared by --no-isolate --no-file-parallelism. we need to make sure to set them up on each run.

We just fixed 100+ broken tests in core that were hidden by this bug.

Ensures lifecycle hooks aren't registered before failOnConsole
sets up its own hooks, avoiding ordering issues.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@Janpot Janpot changed the title [test-utils] Fix chai plugin init ordering with failOnConsole [code-infra] Fix fail-on-console breaking with --no-isolate --no-file-parallelism Mar 9, 2026
@mui-bot
Copy link
Copy Markdown

mui-bot commented Mar 9, 2026

Bundle size report

Bundle Parsed size Gzip size
@base-ui-components/react 0B(0.00%) 0B(0.00%)
@mui/x-charts-pro 0B(0.00%) 0B(0.00%)

Details of bundle changes


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

@Janpot Janpot added the scope: code-infra Involves the code-infra product (https://www.notion.so/mui-org/5562c14178aa42af97bc1fa5114000cd). label Mar 9, 2026
@Janpot Janpot marked this pull request as ready for review March 9, 2026 10:59
@Janpot Janpot requested a review from a team March 9, 2026 10:59
@Janpot Janpot merged commit bc30ce0 into master Mar 9, 2026
11 checks passed
@Janpot Janpot deleted the fix-failonconsole-ordering branch March 9, 2026 12:43
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.

3 participants