GeezerVison is showing github.com — test: move unit tests into unitCases by alexander-akait · Pull Request #22132 · webpack/webpack
Conversation
alexander-akait
commented
Sep 16, 2026
•
edited by coderabbitai
Bot
Loading
Uh oh!
There was an error while loading. Please reload this page.
Summary
Move root-level unit tests and their snapshots into test/unitCases/ so each test family has a dedicated directory.
What kind of change does this PR introduce?
test
Did you add tests for your changes?
No new coverage; all 120 existing unit suites were relocated and validated from their new paths.
Does this PR introduce a breaking change?
No.
If relevant, what needs to be documented once your changes are merged or what have you already documented?
Updated AGENTS.md and TESTING_DOCS.md.
Use of AI
CodeRabbit moved the files, updated path-sensitive configuration and references, and ran validation under Alexander Akait's direction.
Final Prompt
Open PR
Final Plan
Opened PR #22132.
- 🛠️
test/unitCases/** — 120 tests + 4 snapshots relocated, +644/-634
- 🛠️ Discovery, docs, and references —
+29/-29
- Total: 132 files, 124 renames,
+673/-663
Validation: yarn lint passed. Unit suite: 119/120 suites passed; the only failure requires unavailable local Chrome.
Branches on origin: coderabbit/test-unit-cases.
Initiative Context
- Initiated by: <@804322045785014312>
Summary by CodeRabbit
-
Documentation
- Updated testing documentation and references to reflect the new unit-test directory structure.
-
Tests
- Unit tests are now discovered and executed from the dedicated
test/unitCases directory.
- Corrected test references and paths following the reorganization.
- Integration and unit-test commands now use separate test patterns.
- Type-checking and spell-checking configurations recognize the relocated tests.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
coderabbitai
Bot
commented
Sep 16, 2026
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
|
 
No actionable comments were generated in the recent review. 🎉
ℹ️ Recent review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Advanced
Run ID: 85c63255-ee2b-4695-a1fc-84bc120f950b
📥 Commits
Reviewing files that changed from the base of the PR and between 98eca49 and abeb054.
⛔ Files ignored due to path filters (4)
test/unitCases/__snapshots__/CssSyntax.unittest.js.snap is excluded by !**/*.snap, !test/**/__snapshots__/**
test/unitCases/__snapshots__/HtmlSyntax.unittest.js.snap is excluded by !**/*.snap, !test/**/__snapshots__/**
test/unitCases/__snapshots__/extractSourceMap.unittest.js.snap is excluded by !**/*.snap, !test/**/__snapshots__/**
test/unitCases/__snapshots__/target-browserslist.unittest.js.snap is excluded by !**/*.snap, !test/**/__snapshots__/**
📒 Files selected for processing (128)
AGENTS.md
TESTING_DOCS.md
cspell.json
jest.config.js
lib/util/globUtils.js
package.json
test/configCases/side-effects/deep-import-chain/webpack.config.js
test/unitCases/AbstractMethodError.unittest.js
test/unitCases/ArrayHelpers.unittest.js
test/unitCases/ArrayQueue.unittest.js
test/unitCases/Async.unittest.js
test/unitCases/AsyncQueue.unittest.js
test/unitCases/BasicEvaluatedExpression.unittest.js
test/unitCases/BatchedHash.unittest.js
test/unitCases/BinaryMiddleware.unittest.js
test/unitCases/BulkUpdateHash.unittest.js
test/unitCases/CheckCommentLength.unittest.js
test/unitCases/Chunk.unittest.js
test/unitCases/ChunkGraph.unittest.js
test/unitCases/CodeSizeReport.unittest.js
test/unitCases/CompareToolsHarness.unittest.js
test/unitCases/ConcatenateUtil.unittest.js
test/unitCases/ContextModuleFactory.unittest.js
test/unitCases/CssIcssExportDependency.unittest.js
test/unitCases/CssSyntax.unittest.js
test/unitCases/CssValueSyntax.unittest.js
test/unitCases/Defaults.unittest.js
test/unitCases/EcmaConformance.unittest.js
test/unitCases/ErrorHelpers.unittest.js
test/unitCases/ExportsInfo.unittest.js
test/unitCases/FileMiddleware.unittest.js
test/unitCases/FileSystemInfo.unittest.js
test/unitCases/Generator.unittest.js
test/unitCases/HotModuleReplacementPlugin.unittest.js
test/unitCases/HtmlEntryWrapper.unittest.js
test/unitCases/HtmlGenerator.unittest.js
test/unitCases/HtmlParser.unittest.js
test/unitCases/HtmlSyntax.unittest.js
test/unitCases/ImportMetaRoundTrip.unittest.js
test/unitCases/JavascriptParser.unittest.js
test/unitCases/LazyBucketSortedSet.unittest.js
test/unitCases/LazyCompilationBackend.unittest.js
test/unitCases/LazySet.unittest.js
test/unitCases/LoaderRunner.unittest.js
test/unitCases/LocConverter.unittest.js
test/unitCases/ModuleGraph.unittest.js
test/unitCases/MultiItemCache.unittest.js
test/unitCases/MultiWatching.unittest.js
test/unitCases/NodeWatchFileSystem.unittest.js
test/unitCases/NormalModule.unittest.js
test/unitCases/Normalization.unittest.js
test/unitCases/ObjectMiddleware.unittest.js
test/unitCases/ParallelismFactorCalculator.unittest.js
test/unitCases/Parser.unittest.js
test/unitCases/ParserWithoutAcorn.unittest.js
test/unitCases/Platform.unittest.js
test/unitCases/ProfilingPlugin.unittest.js
test/unitCases/ProvideSharedDependency.unittest.js
test/unitCases/Queue.unittest.js
test/unitCases/RegExpValidator.unittest.js
test/unitCases/ReplacementPlugins.unittest.js
test/unitCases/RequestShortener.unittest.js
test/unitCases/ResourceHintPlugin.unittest.js
test/unitCases/RuleSetCompiler.unittest.js
test/unitCases/RuntimeTemplate.unittest.js
test/unitCases/ScopeAnalyzer.unittest.js
test/unitCases/ScopeAnalyzerParity.unittest.js
test/unitCases/SemVer.unittest.js
test/unitCases/Semaphore.unittest.js
test/unitCases/SetHelpers.unittest.js
test/unitCases/Setup.unittest.js
test/unitCases/SharingUtil.unittest.js
test/unitCases/SortableSet.unittest.js
test/unitCases/SourceProcessor.unittest.js
test/unitCases/StackedCacheMap.unittest.js
test/unitCases/StackedMap.unittest.js
test/unitCases/StringXor.unittest.js
test/unitCases/SyntaxEquivalence.unittest.js
test/unitCases/Template.unittest.js
test/unitCases/TemplatedPathPlugin.unittest.js
test/unitCases/TupleQueue.unittest.js
test/unitCases/TupleSet.unittest.js
test/unitCases/URLAbsoluteSpecifier.unittest.js
test/unitCases/URLDependency.unittest.js
test/unitCases/WasmHashes.unittest.js
test/unitCases/WeakTupleMap.unittest.js
test/unitCases/WebManifestParser.unittest.js
test/unitCases/WebpackError.unittest.js
test/unitCases/WebpackParser.unittest.js
test/unitCases/cleverMerge.unittest.js
test/unitCases/collectCjsRequireSpecifiers.unittest.js
test/unitCases/comparators.unittest.js
test/unitCases/compareLocations.unittest.js
test/unitCases/compareSourceOrder.unittest.js
test/unitCases/compareStringsNumeric.unittest.js
test/unitCases/compileBooleanMatcher.unittest.js
test/unitCases/conventions.unittest.js
test/unitCases/createMappings.unittest.js
test/unitCases/cssIdentifier.unittest.js
test/unitCases/dataURL.unittest.js
test/unitCases/deterministicGrouping.unittest.js
test/unitCases/extractSourceMap.unittest.js
test/unitCases/findCaseMismatch.unittest.js
test/unitCases/findGraphRoots.unittest.js
test/unitCases/formatLocation.unittest.js
test/unitCases/formatSize.unittest.js
test/unitCases/fs.unittest.js
test/unitCases/getPathInAst.unittest.js
test/unitCases/globUtils.unittest.js
test/unitCases/hash-digest.unittest.js
test/unitCases/identifier.unittest.js
test/unitCases/internalSerializables.unittest.js
test/unitCases/lazyModule.unittest.js
test/unitCases/magicComment.unittest.js
test/unitCases/mimeTypes.unittest.js
test/unitCases/nonNumericOnlyHash.unittest.js
test/unitCases/numberHash.unittest.js
test/unitCases/objectToMap.unittest.js
test/unitCases/parseJson.unittest.js
test/unitCases/processAsyncTree.unittest.js
test/unitCases/propertyAccess.unittest.js
test/unitCases/propertyName.unittest.js
test/unitCases/publicPathPlaceholder.unittest.js
test/unitCases/removeBOM.unittest.js
test/unitCases/smartGrouping.unittest.js
test/unitCases/target-browserslist.unittest.js
test/unitCases/topologicalSort.unittest.js
tsconfig.types.test.json
Included review availability: Your plan provides up to 10 included reviews per hour; 9 remain after this review.
📝 Walkthrough
Walkthrough
Changes
Unit-test files now reside under test/unitCases. Test discovery, scripts, TypeScript configuration, documentation, snapshots, imports, fixtures, and related comments now reference the new location.
Unit test relocation
| Layer / File(s) |
Summary |
Test discovery and documentation jest.config.js, package.json, tsconfig.types.test.json, TESTING_DOCS.md, AGENTS.md, cspell.json |
Unit-test globs, commands, documentation, ignored paths, and snapshot references now use test/unitCases. |
Relocated test paths test/unitCases/* |
Relative imports, JSDoc types, fixtures, output paths, repository roots, and configuration paths were adjusted for the deeper directory. Test logic and assertions remain unchanged. |
Priority: ⬇️ Low
Change: Other
Merge Risk: ⚪ Minimal · up to abeb0
The unit-test relocation preserves the reviewed discovery and path-resolution behavior, with no active merge-blocking risk identified.
🚥 Pre-merge checks | ✅ 3 | ❌ 1
❌ Failed checks (1 inconclusive)
| Check name |
Status |
Explanation |
Resolution |
| Title check |
❓ Inconclusive |
The title uses the valid test: subject Conventional Commit form and accurately describes the unit-test relocation. The branch prefix is not provided, so the required type-prefix match cannot be veri… |
Provide the branch name or confirm that its prefix is test. If confirmed, the title passes; otherwise, change the title type to match the branch prefix. |
✅ Passed checks (3 passed)
| Check name |
Status |
Explanation |
| Description Check |
✅ Passed |
Check skipped - CodeRabbit’s high-level summary is enabled. |
| Linked Issues check |
✅ Passed |
Check skipped because no linked issues were found for this pull request. |
| Out of Scope Changes check |
✅ Passed |
Check skipped because no linked issues were found for this pull request. |
Full details: Title check
Explanation
The title uses the valid test: subject Conventional Commit form and accurately describes the unit-test relocation. The branch prefix is not provided, so the required type-prefix match cannot be verified.
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
❤️ Share
Comment @coderabbitai help to get the list of available commands.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
This PR is packaged and the instant preview is available (f9817c9).
Install it locally:
npm i -D webpack@https://pkg.pr.new/webpack@f9817c9
yarn add -D webpack@https://pkg.pr.new/webpack@f9817c9
pnpm add -D webpack@https://pkg.pr.new/webpack@f9817c9
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Types CoverageCoverage after merging coderabbit/test-unit-cases into main will be
Coverage Report| File | Stmts | Branches | Funcs | Lines | Uncovered Lines |
|---|
| bin | | webpack.js | 98.82% | 100% | 100% | 98.82% | 103 | | examples | | build-common.js | 100% | 100% | 100% | 100% | | | buildAll.js | 100% | 100% | 100% | 100% | | | examples.js | 100% | 100% | 100% | 100% | | | template-common.js | 98.21% | 100% | 100% | 98.21% | 72 | | examples/custom-javascript-parser | | test.filter.js | 100% | 100% | 100% | 100% | | | examples/custom-javascript-parser/internals | | acorn-parse.js | 100% | 100% | 100% | 100% | | | meriyah-parse.js | 100% | 100% | 100% | 100% | | | oxc-parse.js | 100% | 100% | 100% | 100% | | | examples/markdown | | webpack.config.mjs | 100% | 100% | 100% | 100% | | | examples/module-federation | | test.filter.js | 100% | 100% | 100% | 100% | | | examples/reexport-components | | test.filter.js | 100% | 100% | 100% | 100% | | | examples/typescript | | test.filter.js | 100% | 100% | 100% | 100% | | | examples/typescript-non-erasable | | test.filter.js | 50% | 100% | 100% | 50% | 5 | | examples/virtual-modules | | test.filter.js | 100% | 100% | 100% | 100% | | | examples/wasm-bindgen-esm | | test.filter.js | 100% | 100% | 100% | 100% | | | examples/wasm-complex | | test.filter.js | 100% | 100% | 100% | 100% | | | examples/wasm-emscripten | | test.filter.js | 100% | 100% | 100% | 100% | | | examples/wasm-simple | | test.filter.js | 100% | 100% | 100% | 100% | | | examples/wasm-simple-source-phase | | test.filter.js | 100% | 100% | 100% | 100% | | | lib | | APIPlugin.js | 100% | 100% | 100% | 100% | | | AsyncDependenciesBlock.js | 100% | 100% | 100% | 100% | | | AutomaticPrefetchPlugin.js | 93.94% | 100% | 100% | 93.94% | 59, 62 | | BannerPlugin.js | 100% | 100% | 100% | 100% | | | Cache.js | 96.49% | 100% | 100% | 96.49% | 10, 104 | | CacheFacade.js | 100% | 100% | 100% | 100% | | | Chunk.js | 99.72% | 100% | 100% | 99.72% | 42 | | ChunkGraph.js | 100% | 100% | 100% | 100% | | | ChunkGroup.js | 100% | 100% | 100% | 100% | | | ChunkTemplate.js | 100% | 100% | 100% | 100% | | | CircularModulesPlugin.js | 99.50% | 100% | 100% | 99.50% | 289 | | CleanPlugin.js | 97.81% | 100% | 100% | 97.81% | 111, 125, 128, 212, 232 | | CodeGenerationResults.js | 100% | 100% | 100% | 100% | | | CompatibilityPlugin.js | 100% | 100% | 100% | 100% | | | Compilation.js | 98.59% | 100% | 100% | 98.59% | 1760, 2081, 2088, 2096, 2118, 2121, 3060, 3539–3540, 3572, 4161, 4165, 4264, 4285, 4410, 4447, 4454, 4507–4508, 4512, 4517, 4533–4534, 4548–4549, 4554–4555, 46, 5078, 5104, 5943, 5960, 5978, 5994, 6009, 6034, 6037, 6405, 6408–6409, 6414, 6429, 6512, 6536, 6650, 840–841 | | Compiler.js | 98.81% | 100% | 100% | 98.81% | 1117, 1154, 1157, 1337–1338, 1346, 848, 934, 975 | | ConcatenationScope.js | 99.10% | 100% | 100% | 99.10% | 293 | | ConditionalInitFragment.js | 100% | 100% | 100% | 100% | | | ConstPlugin.js | 100% | 100% | 100% | 100% | | | CopyPlugin.js | 99.79% | 100% | 100% | 99.79% | 160 | | DefinePlugin.js | 99.14% | 100% | 100% | 99.14% | 1127, 200–201, 217, 236, 310 | | DependenciesBlock.js | 100% | 100% | 100% | 100% | | | Dependency.js | 98.54% | 100% | 100% | 98.54% | 498, 545 | | DependencyTemplate.js | 100% | 100% | 100% | 100% | | | DependencyTemplates.js | 100% | 100% | 100% | 100% | | | DotenvPlugin.js | 98.07% | 100% | 100% | 98.07% | 395, 443, 456–457 | | DynamicEntryPlugin.js | 100% | 100% | 100% | 100% | | | EntryOptionPlugin.js | 100% | 100% | 100% | 100% | | | EntryPlugin.js | 100% | 100% | 100% | 100% | | | Entrypoint.js | 100% | 100% | 100% | 100% | | | EnvironmentPlugin.js | 97.14% | 100% | 100% | 97.14% | 49 | | ErrorHelpers.js | 98.85% | 100% | 100% | 98.85% | 138 | | EvalDevToolModulePlugin.js | 100% | 100% | 100% | 100% | | | EvalSourceMapDevToolPlugin.js | 100% | 100% | 100% | 100% | | | ExportsInfo.js | 99.26% | 100% | 100% | 99.26% | 415, 431, 763, 860, 878, 922, 927 | | ExportsInfoApiPlugin.js | 100% | 100% | 100% | 100% | | | ExternalModule.js | 98.78% | 100% | 100% | 98.78% | 1363, 1366, 596–600, 602, 768 | | ExternalModuleFactoryPlugin.js | 100% | 100% | 100% | 100% | | | ExternalsPlugin.js | 100% | 100% | 100% | 100% | | | FileSystemInfo.js | 99.75% | 100% | 100% | 99.75% | 187, 285, 3947, 3962, 3986, 3989 | | FlagAllModulesAsUsedPlugin.js | 100% | 100% | 100% | 100% | | | FlagDependencyExportsPlugin.js | 95.64% | 100% | 100% | 95.64% | 119, 130, 147, 167, 171, 50, 52, 533, 538, 54, 545, 560, 563, 57 | | FlagDependencyUsagePlugin.js | 100% | 100% | 100% | 100% | | | FlagEntryExportAsUsedPlugin.js | 100% | 100% | 100% | 100% | | | Generator.js | 100% | 100% | 100% | 100% | | | HotModuleReplacementPlugin.js | 100% | 100% | 100% | 100% | | | HotUpdateChunk.js | 100% | 100% | 100% | 100% | | | IgnorePlugin.js | 100% | 100% | 100% | 100% | | | IgnoreWarningsPlugin.js | 100% | 100% | 100% | 100% | | | InitFragment.js | 100% | 100% | 100% | 100% | | | JavascriptMetaInfoPlugin.js | 100% | 100% | 100% | 100% | | | LazyBarrel.js | 100% | 100% | 100% | 100% | | | LibraryTemplatePlugin.js | 100% | 100% | 100% | 100% | | | LoaderOptionsPlugin.js | 100% | 100% | 100% | 100% | | | LoaderTargetPlugin.js | 100% | 100% | 100% | 100% | | | MainTemplate.js | 100% | 100% | 100% | 100% | | | ManifestPlugin.js | 100% | 100% | 100% | 100% | | | Module.js | 98.50% | 100% | 100% | 98.50% | 1327, 1332, 1391, 1405, 1467, 1476 | | ModuleFactory.js | 100% | 100% | 100% | 100% | | | ModuleFilenameHelpers.js | 98.90% | 100% | 100% | 98.90% | 111, 113 | | ModuleGraph.js | 99.78% | 100% | 100% | 99.78% | 1181 | | ModuleGraphConnection.js | 100% | 100% | 100% | 100% | | | ModuleInfoHeaderPlugin.js | 100% | 100% | 100% | 100% | | | ModuleNotFoundError.js | 100% | 100% | 100% | 100% | | | ModuleProfile.js | 100% | 100% | 100% | 100% | | | ModuleSourceTypeConstants.js | 100% | 100% | 100% | 100% | | | ModuleTemplate.js | 100% | 100% | 100% | 100% | | | ModuleTypeConstants.js | 100% | 100% | 100% | 100% | | | MultiCompiler.js | 98.88% | 100% | 100% | 98.88% | 462, 542, 729, 794 | | MultiStats.js | 100% | 100% | 100% | 100% | | | MultiWatching.js | 93.75% | 100% | 100% | 93.75% | 37, 71 | | NoEmitOnErrorsPlugin.js | 100% | 100% | 100% | 100% | | | NodeStuffPlugin.js | 100% | 100% | 100% | 100% | | | NormalModule.js | 98% | 100% | 100% | 98% | 1104, 1107, 1126, 1143, 1401, 1435, 1451, 1589, 1912, 2214, 2219–2227, 2229, 30 | | NormalModuleFactory.js | 98.01% | 100% | 100% | 98.01% | 1341, 1644, 1661, 1670, 1674, 1702, 1709, 1713, 1718, 1730, 1741, 1790, 1801, 1811, 1862–1864, 1871, 732, 744 | | NormalModuleReplacementPlugin.js | 100% | 100% | 100% | 100% | | | NullFactory.js | 100% | 100% | 100% | 100% | | | OptimizationStages.js | 100% | 100% | 100% | 100% | | | OptionsApply.js | 100% | 100% | 100% | 100% | | | Parser.js | 100% | 100% | 100% | 100% | | | PlatformPlugin.js | 100% | 100% | 100% | 100% | | | PrefetchPlugin.js | 100% | 100% | 100% | 100% | | | ProgressPlugin.js | 99.80% | 100% | 100% | 99.80% | 694 | | ProvidePlugin.js | 100% | 100% | 100% | 100% | | | RawModule.js | 100% | 100% | 100% | 100% | | | RecordIdsPlugin.js | 100% | 100% | 100% | 100% | | | RequestShortener.js | 100% | 100% | 100% | 100% | | | ResolverFactory.js | 100% | 100% | 100% | 100% | | | RuntimeGlobals.js | 100% | 100% | 100% | 100% | | | RuntimeModule.js | 100% | 100% | 100% | 100% | | | RuntimePlugin.js | 95.53% | 100% | 100% | 95.53% | 317, 403, 412, 415, 428–429, 443, 461, 482–483, 506, 526–527, 563–564, 587, 600–601, 673, 686, 707, 726 | | RuntimeTemplate.js | 99.66% | 100% | 100% | 99.66% | 352, 3752, 4589, 4601, 4606, 4608, 4613 | | SelfModuleFactory.js | 100% | 100% | 100% | 100% | | | SingleEntryPlugin.js | 100% | 100% | 100% | 100% | | | SourceMapDevToolModuleOptionsPlugin.js | 100% | 100% | 100% | 100% | | | SourceMapDevToolPlugin.js | 97.25% | 100% | 100% | 97.25% | 229, 233, 235, 429, 440, 469, 572, 575–576, 899, 920, 923 | | Stats.js | 100% | 100% | 100% | 100% | | | Template.js | 100% | 100% | 100% | 100% | | | TemplatedPathPlugin.js | 99.48% | 100% | 100% | 99.48% | 366–367 | | UseStrictPlugin.js | 100% | 100% | 100% | 100% | | | WarnCaseSensitiveModulesPlugin.js | 100% | 100% | 100% | 100% | | | WarnDeprecatedOptionPlugin.js | 100% | 100% | 100% | 100% | | | WarnNoModeSetPlugin.js | 100% | 100% | 100% | 100% | | | WatchIgnorePlugin.js | 100% | 100% | 100% | 100% | | | Watching.js | 100% | 100% | 100% | 100% | | | WebpackError.js | 100% | 100% | 100% | 100% | | | WebpackIsIncludedPlugin.js | 100% | 100% | 100% | 100% | | | WebpackOptionsApply.js | 100% | 100% | 100% | 100% | | | WebpackOptionsDefaulter.js | 100% | 100% | 100% | 100% | | | buildChunkGraph.js | 99.87% | 100% | 100% | 99.87% | 375 | | cli.js | 98.63% | 100% | 100% | 98.63% | 10, 117, 547, 579, 629, 903 | | index.js | 99.73% | 100% | 100% | 99.73% | 184 | | validateSchema.js | 94.67% | 100% | 100% | 94.67% | 100, 87, 89, 98 | | webpack.js | 97.12% | 100% | 100% | 97.12% | 10, 274, 296, 298 | | lib/asset | | AssetBytesGenerator.js | 100% | 100% | 100% | 100% | | | AssetBytesParser.js | 100% | 100% | 100% | 100% | | | AssetGenerator.js | 100% | 100% | 100% | 100% | | | AssetModule.js | 100% | 100% | 100% | 100% | | | AssetModulesPlugin.js | 98.15% | 100% | 100% | 98.15% | 338, 362, 365, 495, 57, 62 | | AssetParser.js | 100% | 100% | 100% | 100% | | | AssetSourceGenerator.js | 100% | 100% | 100% | 100% | | | AssetSourceParser.js | 100% | 100% | 100% | 100% | | | RawDataUrlModule.js | 100% | 100% | 100% | 100% | | | WebManifestGenerator.js | 100% | 100% | 100% | 100% | | | WebManifestParser.js | 100% | 100% | 100% | 100% | | | lib/async-modules | | AsyncModuleHelpers.js | 100% | 100% | 100% | 100% | | | AwaitDependenciesInitFragment.js | 100% | 100% | 100% | 100% | | | InferAsyncModulesPlugin.js | 100% | 100% | 100% | 100% | | | isGeneratorLowered.js | 100% | 100% | 100% | 100% | | | lib/bun | | BunTargetPlugin.js | 100% | 100% | 100% | 100% | | | lib/cache | | AddBuildDependenciesPlugin.js | 100% | 100% | 100% | 100% | | | AddManagedPathsPlugin.js | 100% | 100% | 100% | 100% | | | IdleFileCachePlugin.js | 97.92% | 100% | 100% | 97.92% | 75, 87, |
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Generated code size
Comparing abeb054 merged into 98eca49 against 98eca49. Merging this pull request moves 1 asset(s) whose case source it changes too.
| What moved |
Cases |
Assets |
Gzip |
Raw |
Case source |
| Changed, same case source |
0 |
0 |
— |
— |
— |
| Changed, case source moved |
1 |
1 |
🔴 ↑ +1 B |
🔴 ↑ +92 B |
🔴 ↑ +80 B |
| New |
0 |
0 |
— |
— |
— |
| Deleted |
0 |
0 |
— |
— |
— |
| Unchanged |
— |
7715 |
— |
— |
— |
Changed, same case source is the row that is webpack's doing — those assets are built from byte-identical module source, so what moved is what webpack generates. Changed, case source moved is mostly a case this pull request edited: Case source is how many bytes of module source those cases gained, which is what their output delta has to be read against, and a bundle that grew by less than its case did is not a regression. New and Deleted are whole assets rather than deltas, so a pull request adding cases cannot bury a real change. Gzip decides — it is what a user downloads, and a re-encoding can cut raw bytes while costing wire bytes; raw is the tiebreak, and brotli and zstd are per asset below.
No asset built from unchanged case source changed size — every change below comes with a case whose own source moved too.
1 asset(s) changed size, and so did their case's source
|
Asset |
Before |
After |
Change |
Gzip (9) |
Brotli (11) |
Zstd (19) |
Case source (per case) |
| 🔴 ↑ |
module/import-meta-parser-options bundle0.mjs |
20.19 KiB |
20.28 KiB |
+92 B (+0.44%) |
+1 B (+0.02%) |
+6 B (+0.12%) |
+2 B (+0.04%) |
+80 B |
No runtime gained or lost a runtime module.
Built test/configCases with the defaults a user gets: 2176 case(s), 7716 asset(s), 87 emitted nothing.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
codecov
Bot
commented
Sep 16, 2026
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
|
✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 94.89%. Comparing base (98eca49) to head (abeb054).
⚠️ Report is 1 commits behind head on main.
Additional details and impacted files
@@ Coverage Diff @@
## main #22132 +/- ##
=======================================
Coverage 94.88% 94.89%
=======================================
Files 734 734
Lines 103485 103485
Branches 31846 31846
=======================================
+ Hits 98194 98197 +3
+ Misses 5291 5288 -3
Flags with carried forward coverage won't be shown. Click here to find out more.
☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.
🚀 New features to boost your workflow:
- ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
- 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Merging this PR will degrade performance by 25.49%
⚠️ Different runtime environments detected
Some benchmarks with significant performance changes were compared across different runtime environments,
which may affect the accuracy of the results.
Open the report in CodSpeed to investigate
⚡ 4 improved benchmarks
❌ 3 regressed benchmarks
✅ 387 untouched benchmarks
⏩ 6 skipped benchmarks1
Performance Changes
|
Mode |
Benchmark |
BASE |
HEAD |
Efficiency |
| ❌ |
Memory |
benchmark "side-effects-reexport", scenario '{"name":"mode-development-rebuild","mode":"development","watch":true}' |
153.9 KB |
903.2 KB |
-82.96% |
| ❌ |
Memory |
benchmark "many-chunks-commonjs", scenario '{"name":"mode-development-rebuild","mode":"development","watch":true}' |
184.8 KB |
467.4 KB |
-60.47% |
| ❌ |
Memory |
benchmark "import-meta-glob", scenario '{"name":"mode-development-rebuild","mode":"development","watch":true}' |
694.9 KB |
1,020.3 KB |
-31.9% |
| ⚡ |
Simulation |
benchmark "wasm-modules-sync", scenario '{"name":"mode-development","mode":"development"}' |
1,142.3 ms |
826.8 ms |
+38.16% |
| ⚡ |
Memory |
benchmark "asset-modules-source", scenario '{"name":"mode-production","mode":"production"}' |
8.4 MB |
6.2 MB |
+34.93% |
| ⚡ |
Memory |
benchmark "no-concatenation", scenario '{"name":"mode-development-rebuild","mode":"development","watch":true}' |
902.6 KB |
739.2 KB |
+22.1% |
| ⚡ |
Memory |
benchmark "many-modules-interop-runtime", scenario '{"name":"mode-production","mode":"production"}', measure 'exec' |
24.3 KB |
19.9 KB |
+22.09% |
Tip Investigate this regression by commenting @codspeedbot fix this regression on this PR, or directly use the CodSpeed MCP with your agent.
Comparing coderabbit/test-unit-cases (abeb054) with main (e106879)2
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Milestone
No milestone
Development
Successfully merging this pull request may close these issues.
Uh oh!
There was an error while loading. Please reload this page.
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.
|