Repository navigation
chore(config): consolidate mocharc monorepo - #8415
Merged
feywind merged 13 commits intoJun 3, 2026
Merged
Conversation
…s to point to root mocharc
…i test runner memory limits, and remove all duplicate package-level configs
Contributor
There was a problem hiding this comment.
Code Review
This pull request consolidates Mocha test configurations across the monorepo by removing duplicate local configuration files and updating baseline package scripts to reference the root .mocharc.js file. It also enables parallel test execution in the root configuration and increases the Node.js memory limit in the CI script. Feedback highlights that removing "recursive": true from the root Mocha configuration could cause nested tests to be silently skipped, and increasing the memory limit to 8GB in the CI script exceeds standard GitHub runner limits, potentially causing OOM crashes.
…able map test to support unified mocharc.cjs
…er ci/, and lower CI memory limit to 6GB
…command to parallel mocha
quirogas
marked this pull request as ready for review
June 3, 2026 18:22
feywind
approved these changes
Jun 3, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Consolidates monorepo-wide Mocha configuration into a single unified
.mocharc.cjsfile at the workspace root. It also cleans up all duplicate package-level configs, implements a shared platform-independent generic batch test runner (ci/run_mocha_batches.cjs) for large test suites, and sets the CI memory ceiling to 6GB.For #librarian/4583