GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — fix(cache): recheck a lazy barrel's warnings when its deferred requests change by aryanraj45 · Pull Request #22724 · webpack/webpack

Conversation

@aryanraj45

@aryanraj45 aryanraj45 commented Oct 16, 2026 •
edited by coderabbitai Bot
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member

Summary

Follow-up to #22699, found by the rebuild fuzzer. When a lazy barrel stops deferring a re-export, through a sideEffects change or an importer requesting the name, the re-export reports without any module being rebuilt. The report memo only renews for rebuilt modules, so watch lost its "export not found" warning. This records the deferred requests a module was found clean with, and checks it again when they differ. Under cacheUnaffected, the previous PR already drops the module's memo, so that path needed nothing.

// pkg/barrel.js ("sideEffects": false), target.js has no `b`
export { b as r0 } from "./target";
export const a = "barrel";

┌─────────────────────────────────────────────────────────────────┬──────┬──────────────────────────────────────────────────────────────────────────────┐
│   watch, after sideEffects is removed (target also imported     │ main │                                   this PR                                    │
│                            directly)                            │      │                                                                              │
├─────────────────────────────────────────────────────────────────┼──────┼──────────────────────────────────────────────────────────────────────────────┤
│ warnings                                                        │ []   │ export 'b' (reexported as 'r0') was not found in './target', same as a fresh │
│                                                                 │      │  build                                                                       │
├─────────────────────────────────────────────────────────────────┼──────┼──────────────────────────────────────────────────────────────────────────────┤
│ hashes in StatsTestCases                                        │ —    │ unchanged                                                                    │
└─────────────────────────────────────────────────────────────────┴──────┴──────────────────────────────────────────────────────────────────────────────┘

<!-- In addition to that please answer these questions: -->

What kind of change does this PR introduce?

fix

Did you add tests for your changes?

Yes: test/watchCases/lazy-barrel/reexport-warning-side-effects. It runs development with a memory cache and production with a filesystem cache, toggles sideEffects both ways, and ends with an importer using the whole namespace. It fails on main and with the clean check reverted to has(), in both WatchTestCases and WatchCacheUnaffectedTestCases.

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?

n/a

Use of AI

I used and directed Claude Code to find the bug with a rebuild fuzzer, write the fix and the test, break the fix on purpose, and check coverage. I reviewed every change myself.

Summary by CodeRabbit

  • Bug Fixes
    • Dependency warnings and errors are reported again in watch mode when deferred lazy-barrel requests change, keeping reports accurate across rebuilds.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@aryanraj45
fix(cache): recheck a lazy barrel's warnings when its deferred reques…
f9d416d
…ts change

A re-export leaving a lazy barrel reports without any rebuild, while the report memo only renews for rebuilt modules, so watch lost its "export not found" warning. Record the deferred requests a module was found clean with, and check it again when they differ.
@changeset-bot

changeset-bot Bot commented Oct 16, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 31705f1

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes changesets to release 1 package
Name Type
webpack Patch

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@coderabbitai

coderabbitai Bot commented Oct 16, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

Review in Change Stack →

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration
  • Configuration used: Repository: webpack/webpack/.coderabbit.yaml
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 8281d6d5-83a2-4975-a413-f63b71a622ba
📥 Commits

Reviewing files that changed from the base of the PR and between ed7012d and 31705f1.

📒 Files selected for processing: 23
  • .changeset/050-lazy-barrel-deferred-hash.md
  • lib/Compilation.js
  • test/watchCases/lazy-barrel/reexport-warning-side-effects/0/index.js
  • test/watchCases/lazy-barrel/reexport-warning-side-effects/0/pkg/barrel.js
  • test/watchCases/lazy-barrel/reexport-warning-side-effects/0/pkg/default.js
  • test/watchCases/lazy-barrel/reexport-warning-side-effects/0/pkg/imported.js
  • test/watchCases/lazy-barrel/reexport-warning-side-effects/0/pkg/named.js
  • test/watchCases/lazy-barrel/reexport-warning-side-effects/0/pkg/other.js
  • test/watchCases/lazy-barrel/reexport-warning-side-effects/0/pkg/package.json
  • test/watchCases/lazy-barrel/reexport-warning-side-effects/0/pkg/target.js
  • test/watchCases/lazy-barrel/reexport-warning-side-effects/1/errors.js
  • test/watchCases/lazy-barrel/reexport-warning-side-effects/1/pkg/package.json
  • test/watchCases/lazy-barrel/reexport-warning-side-effects/1/warnings.js
  • test/watchCases/lazy-barrel/reexport-warning-side-effects/2/pkg/package.json
  • test/watchCases/lazy-barrel/reexport-warning-side-effects/3/errors.js
  • test/watchCases/lazy-barrel/reexport-warning-side-effects/3/index.js
  • test/watchCases/lazy-barrel/reexport-warning-side-effects/3/warnings.js
  • test/watchCases/lazy-barrel/reexport-warning-side-effects/4/index.js
  • test/watchCases/lazy-barrel/reexport-warning-side-effects/5/errors.js
  • test/watchCases/lazy-barrel/reexport-warning-side-effects/5/index.js
  • test/watchCases/lazy-barrel/reexport-warning-side-effects/5/warnings.js
  • test/watchCases/lazy-barrel/reexport-warning-side-effects/test.config.js
  • test/watchCases/lazy-barrel/reexport-warning-side-effects/webpack.config.js

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 9 remain after this review.

📝 Walkthrough

Compilation now tracks deferred lazy-barrel requests in clean dependency-report cache entries. Watch-mode tests cover reexports, missing-export warnings, imported values, and namespace keys across several cache and exportsPresence configurations.

Changes: Lazy-barrel cache invalidation

Layer / File(s) Summary
Track deferred-request keys
lib/Compilation.js, .changeset/050-lazy-barrel-deferred-hash.md
Compilation uses _getLazyRequests to obtain deferred-request keys for module cache references and dependency-report checks. It stores each clean module’s state key and reuses a cached report only when that key matches.
Exercise watch-mode reexports
test/watchCases/lazy-barrel/reexport-warning-side-effects/*
The watch case adds fixtures for barrel reexports and package side-effect settings. Its configurations and assertions cover imported values, namespace keys, and missing b or default export warnings.

Possibly related PRs

  • webpack/webpack#21874: Changes missing-export checking for deferred lazy-barrel exports.
  • webpack/webpack#22401: Resets lazy-barrel deferral state between compilations, which this change reads when checking cached dependency reports.
  • webpack/webpack#22359: Tracks deferred lazy-barrel groups by request key and exposes the deferred requests used by this change.

Suggested labels: area: watch

Suggested reviewers: alexander-akait

Priority: ➖ Normal

Change: Bug fix

Merge Risk: ⚪ Minimal · up to 31705

No actionable issue is established that would prevent merging after normal checks.

Pre-merge checks: Passed 4
Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title uses the required Conventional Commit form, fix(cache): subject, and accurately describes the lazy-barrel warning recheck change.
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.
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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
  • X
  • Mastodon
  • Reddit
  • LinkedIn

Comment @coderabbitai help to get the list of available commands.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@github-actions

github-actions Bot commented Oct 16, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

Reported by Types Coverage #1580 for 31705f1, computed by this pull request's own code.

Types Coverage

Coverage after merging fix/lazy-barrel-report-warning into main will be
97.91%
Coverage Report
FileStmtsBranchesFuncsLinesUncovered Lines
bin
   webpack.js98.85%100%100%98.85%108
declarations
   WebpackOptions.ts99.94%100%100%99.94%4238
examples
   build-common.js100%100%100%100%
   buildAll.js100%100%100%100%
   examples.js100%100%100%100%
   template-common.js98.21%100%100%98.21%72
examples/custom-javascript-parser
   test.filter.js100%100%100%100%
examples/custom-javascript-parser/internals
   acorn-parse.js100%100%100%100%
   meriyah-parse.js100%100%100%100%
   oxc-parse.js100%100%100%100%
examples/markdown
   webpack.config.mjs100%100%100%100%
examples/module-federation
   test.filter.js100%100%100%100%
examples/reexport-components
   test.filter.js100%100%100%100%
examples/ssr
   test.filter.js100%100%100%100%
examples/typescript
   test.filter.js100%100%100%100%
examples/typescript-non-erasable
   test.filter.js50%100%100%50%5
examples/virtual-modules
   test.filter.js100%100%100%100%
examples/wasm-bindgen-esm
   test.filter.js100%100%100%100%
examples/wasm-complex
   test.filter.js100%100%100%100%
examples/wasm-emscripten
   test.filter.js100%100%100%100%
examples/wasm-simple
   test.filter.js100%100%100%100%
examples/wasm-simple-source-phase
   test.filter.js100%100%100%100%
lib
   Chunk.js100%100%100%100%
   Compilation.js98.67%100%100%98.67%1767, 2080, 2087, 2095, 2117, 2120, 23, 3099, 3636, 3679, 4268, 4272, 4399, 4420, 4545, 4582, 4589, 4642–4643, 4647, 4652, 4668–4669, 4683–4684, 4689–4690, 5214, 5240, 6070, 6087, 6105, 6121, 6136, 6161, 6164, 6532, 6535–6536, 6541, 6556, 6639, 6663, 843–844
   Compiler.js98.81%100%100%98.81%1116, 1153, 1156, 1336–1337, 1345, 848, 934, 975
   Dependency.js100%100%100%100%
   DependencyTemplate.js100%100%100%100%
   EntryPlugin.js100%100%100%100%
   Entrypoint.js100%100%100%100%
   ExternalsPlugin.js100%100%100%100%
   FileSystemInfo.js100%100%100%100%
   InitFragment.js100%100%100%100%
   LibraryTemplatePlugin.js100%100%100%100%
   ModuleFilenameHelpers.js100%100%100%100%
   ModuleNotFoundError.js100%100%100%100%
   MultiCompiler.js98.91%100%100%98.91%489, 561, 748, 813
   NormalModule.js100%100%100%100%
   NullFactory.js100%100%100%100%
   ProgressPlugin.js100%100%100%100%
   RawModule.js100%100%100%100%
   RequestShortener.js100%100%100%100%
   SingleEntryPlugin.js100%100%100%100%
   WebpackError.js100%100%100%100%
   index.js100%100%100%100%
   webpack.js98.59%100%100%98.59%306, 308
lib/asset
   AssetBytesGenerator.js100%100%100%100%
   AssetBytesParser.js100%100%100%100%
   AssetGenerator.js100%100%100%100%
   AssetModule.js100%100%100%100%
   AssetModulesPlugin.js98.45%100%100%98.45%335, 359, 362, 492, 59
   AssetParser.js100%100%100%100%
   AssetSourceGenerator.js100%100%100%100%
   AssetSourceParser.js100%100%100%100%
   RawDataUrlModule.js100%100%100%100%
   WebManifestGenerator.js100%100%100%100%
   WebManifestParser.js100%100%100%100%
lib/async-modules
   AsyncModuleHelpers.js100%100%100%100%
   AwaitDependenciesInitFragment.js100%100%100%100%
   InferAsyncModulesPlugin.js100%100%100%100%
   isGeneratorLowered.js100%100%100%100%
lib/bun
   BunTargetPlugin.js100%100%100%100%
lib/cache
   AddBuildDependenciesPlugin.js100%100%100%100%
   AddManagedPathsPlugin.js100%100%100%100%
   Cache.js96.49%100%100%96.49%10, 104
   CacheFacade.js100%100%100%100%
   IdleFileCachePlugin.js97.92%100%100%97.92%75, 87, 95
   MemoryCachePlugin.js92%100%100%92%33, 42
   MemoryWithGcCachePlugin.js93.42%100%100%93.42%106, 120–121, 130, 88
   PackFileCacheStrategy.js96.54%100%100%96.54%1304, 1404, 1408, 1470, 1716, 1800, 1823, 1853, 682, 701, 711–713, 715, 731–732, 737, 740, 742, 747, 752, 777, 783, 817, 823, 829, 834, 845, 854, 859–860, 862, 879, 885–886, 888
   ResolverCachePlugin.js100%100%100%100%
   getLazyHashedEtag.js100%100%100%100%
   mergeEtags.js100%100%100%100%
lib/config
   OptionsApply.js100%100%100%100%
   PlatformPlugin.js100%100%100%100%
   WebpackOptionsApply.js100%100%100%100%
   WebpackOptionsDefaulter.js100%100%100%100%
   browserslistTargetHandler.js100%100%100%100%
   cli.js98.88%100%100%98.88%114, 546, 578, 628
   defaults.js99.38%100%100%99.38%1629–1631, 1639, 283, 286, 291, 295, 544
   defineConfig.js100%100%100%100%
   getClaimedAssetTypes.js100%100%100%100%
   normalization.js99.14%100%100%99.14%285–286, 356, 371
   target.js100%100%100%100%
   validateSchema.js94.67%100%100%94.67%100, 87, 89, 98
lib/container
   ContainerEntryDependency.js100%100%100%100%
   ContainerEntryModule.js100%100%100%100%
   ContainerEntryModuleFactory.js100%100%100%100%
   ContainerExposedDependency.js100%100%100%100%
   ContainerPlugin.js100%100%100%100%
   ContainerReferencePlugin.js100%100%100%100%
   FallbackDependency.js100%100%100%100%
   FallbackItemDependency.js100%100%100%100%
   FallbackModule.js100%100%100%100%
   FallbackModuleFactory.js100%100%100%100%
   HoistContainerReferencesPlugin.js100%100%100%100%
   ModuleFederationPlugin.js100%100%100%100%
   RemoteModule.js100%100%100%100%
   RemoteRuntimeModule.js100%100%100%100%
   RemoteToExternalDependency.js100%100%100%100%
   declaredRemotes.js100%100%100%100%
   moduleFederationHooks.js100%100%100%100%
   options.js100%100%100%100%
lib/context
   ContextExclusionPlugin.js100%100%100%100%
   ContextModule.js99.88%100%100%99.88%1495
   ContextModuleFactory.js95.70%100%100%95.70%230, 257, 276, 280–281, 289, 466, 487, 492, 534, 543, 545, 549, 552, 558–559
   ContextReplacementPlugin.js100%100%100%100%
lib/css
   CssGenerator.js99.29%100%100%99.29%1092, 134, 301, 849
   CssInjectStyleRuntimeModule.js100%100%100%100%
   CssLoadingRuntimeModule.js100%100%100%100%
   CssModule.js100%100%100%100%
   CssModulesPlugin.js98.72%100%100%98.72%217, 418, 432, 445, 458, 481, 494, 507, 520
   CssParser.js99.76%100%100%99.76%1094, 2431, 3078, 3081, 3087, 3520, 947
   CssServerStylesRuntimeModule.js100%100%100%100%
   conventions.js98.65%100%100%98.65%93
   cssMinify.js100%100%100%100%
   data.js99.84%100%100%99.84%229, 5601
   syntax-parser.js99.69%100%100%99.69%10776–10777, 11315–11316, 11353, 11563, 11612, 13930, 13991–13994, 14099–14100, 14198–14199, 14918, 15215, 15217, 15737, 16103, 18246, 2616, 3321, 3323, 3328, 3347, 4096, 4102
   syntax-printer.js99.33%100%100%99.33%2603–2604, 2606–2607, 2609–2610, 2615, 2885–2888, 2981, 353, 3666, 4091, 4227, 4927, 5238, 6026, 727
   syntax.js100%100%100%100%
   topologicalSort.js100%100%100%100%
lib/debug
   ProfilingPlugin.js94.02%100%100%94.02%169, 417–419, 421, 425, 433, 437, 452, 580, 587, 596, 600, 609, 614, 620, 625, 92
lib/define
   DefinePlugin.js98.85%100%100%98.85%1493, 268–269, 285, 304, 378, 936, 938, 943, 967
   DotenvPlugin.js97.58%100%100%97.58%276, 391, 439, 452–453
   EnvironmentPlugin.js97.14%100%100%97.14%49
lib/deno
   DenoTargetPlugin.js100%100%100%100%
lib/dependencies
   ConstDependency.js100%100%100%100%
   ContextElementDependency.js100%100%100%100%
   NullDependency.js100%100%100%100%
lib/dependencies/amd
   AMDDefineDependency.js100%100%100%100%
   AMDDefineDependencyParserPlugin.js100%100%100%100%
   AMDPlugin.js99.31%100%100%99.31%54
   AMDRequireArrayDependency.js100%100%100%100%
   AMDRequireContextDependency.js100%100%100%100%
   AMDRequireDependenciesBlock.js100%100%100%100%
   AMDRequireDependenciesBlockParserPlugin.js100%100%100%100%
   AMDRequireDependency.js<

…truncated

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@aryanraj45
test: cover every deferred shape, a named request and exportsPresence…
31705f1
… error
@github-actions

github-actions Bot commented Oct 16, 2026

Copy link
Copy Markdown
Contributor

Reported by Code Size #4900 for 31705f1, computed by this pull request's own code.

Generated code size

Comparing base (ed7012d) to head (31705f1). Merging this pull request will not change the code webpack generates.

What moved Tests Assets Gzip Raw Test edit
Changed, test untouched 0 0 — — —
Changed, test edited 0 0 — — —
New 0 0 — — —
Deleted 0 0 — — —
Unchanged — 8843 — — —

Read Changed, test untouched first: the test is byte-identical on both sides, so webpack generated the difference. Changed, test edited moved partly because the test did — Test edit is how many bytes the test gained, and a bundle that grew by less is not a regression. New and Deleted are whole files, not deltas — a new asset was created, not grown, so it reads gray (⚪ added) — and adding tests cannot bury a real change. Gzip decides, because that is what users download; raw is the tiebreak, and brotli and zstd are per asset below.

No asset changed size.

No runtime gained or lost a runtime module.

Built test/configCases with the defaults a user gets: 2243 test(s), 8843 asset(s), 100 emitted nothing.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@coderabbitai coderabbitai Bot added the area: watch Watching, HMR, lazy compilation (lib/hmr, hot/) label Oct 16, 2026
@codecov

codecov Bot commented Oct 16, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 86.53%. Comparing base (ed7012d) to head (31705f1).

❗ There is a different number of reports uploaded between BASE (ed7012d) and HEAD (31705f1). Click for more details.

HEAD has 10 uploads less than BASE
Flag BASE (ed7012d) HEAD (31705f1)
integration 6 1
syntax-equivalence 1 0
test262-parser 1 0
minify-corpora 1 0
test262 2 0
Additional details and impacted files
@@            Coverage Diff             @@
##             main   #22724      +/-   ##
==========================================
- Coverage   96.45%   86.53%   -9.93%     
==========================================
  Files         776      652     -124     
  Lines      135518   130998    -4520     
  Branches    45644    44514    -1130     
==========================================
- Hits       130709   113354   -17355     
- Misses       4809    17644   +12835     
Flag Coverage Δ
css-parsing 24.77% <88.88%> (+<0.01%) ⬆️
html5lib 26.56% <88.88%> (+<0.01%) ⬆️
integration 60.06% <100.00%> (-21.12%) ⬇️
minify-corpora ?
syntax-equivalence ?
test262 ?
test262-parser ?
unit 76.75% <88.88%> (+<0.01%) ⬆️
xmlconf 27.53% <ø> (ø)

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.
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@codspeed

codspeed Bot commented Oct 16, 2026

Copy link
Copy Markdown

Merging this PR will degrade performance by 28.5%

⚠️ 108 benchmarks spent significant time in system calls

System calls cannot be consistently instrumented, so they are not included in the measure, which understates the real cost. Please switch to the Walltime instrument to accurately measure system calls.

Measurement and system calls

  • benchmark "wasm-modules-sync", scenario '{"name":"mode-development","mode":"development"}'
  • benchmark "cache-filesystem-cold", scenario '{"name":"mode-development","mode":"development"}'
  • benchmark "many-chunks-esm", scenario '{"name":"mode-development-rebuild","mode":"development","watch":true}'
  • benchmark "cache-filesystem", scenario '{"name":"mode-production","mode":"production"}'
  • benchmark "concatenate-modules", scenario '{"name":"mode-development","mode":"development"}'
  • benchmark "asset-modules-source", scenario '{"name":"mode-development-rebuild","mode":"development","watch":true}'
  • benchmark "wasm-modules-sync", scenario '{"name":"mode-production","mode":"production"}'
  • benchmark "no-minimize", scenario '{"name":"mode-development","mode":"development"}'
  • benchmark "asset-modules-resource", scenario '{"name":"mode-development","mode":"development"}'
  • benchmark "concatenate-modules", scenario '{"name":"mode-production","mode":"production"}'
  • …and 98 more
ℹ️ 30 benchmarks have no flame graph

The flamegraph could not be generated because too much time was spent in runtime internals, making the visualization not useful for performance analysis.

  • benchmark "wasm-modules-sync", scenario '{"name":"mode-production","mode":"production"}'
  • benchmark "concatenate-modules", scenario '{"name":"mode-production","mode":"production"}'
  • benchmark "react", scenario '{"name":"mode-development","mode":"development"}'
  • benchmark "context-commonjs", scenario '{"name":"mode-production","mode":"production"}'
  • benchmark "asset-modules-inline", scenario '{"name":"mode-production","mode":"production"}'
  • benchmark "asset-modules-bytes", scenario '{"name":"mode-production","mode":"production"}'
  • benchmark "context-esm", scenario '{"name":"mode-production","mode":"production"}'
  • benchmark "three-long", scenario '{"name":"mode-production","mode":"production"}'
  • benchmark "common-libs", scenario '{"name":"mode-production","mode":"production"}'
  • benchmark "asset-modules-resource", scenario '{"name":"mode-production","mode":"production"}'
  • …and 20 more

❌ 1 regressed benchmark
✅ 405 untouched benchmarks
⏩ 6 skipped benchmarks1

Warning

Please fix the performance issues or acknowledge them on CodSpeed.

Performance Changes

Mode Benchmark BASE HEAD Efficiency
❌ Memory benchmark "hmr", scenario '{"name":"mode-production","mode":"production"}' 910.5 KB 1,273.4 KB -28.5%

Tip

Investigate this regression by commenting @codspeedbot fix this regression on this PR, or directly use the CodSpeed MCP with your agent.


Comparing aryanraj45:fix/lazy-barrel-report-warning (31705f1) with main (ed7012d)

Open in CodSpeed

Footnotes

  1. 6 benchmarks were skipped, so the baseline results were used instead. If they were deleted from the codebase, click here and archive them to remove them from the performance reports. ↩

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@alexander-akait
alexander-akait merged commit a4b0878 into webpack:main Oct 16, 2026
67 of 68 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@github-actions

github-actions Bot commented Oct 16, 2026

Copy link
Copy Markdown
Contributor

This PR is packaged and the instant preview is available (a4b0878).

Install it locally:

  • npm
npm i -D webpack@https://pkg.pr.new/webpack@a4b0878
  • yarn
yarn add -D webpack@https://pkg.pr.new/webpack@a4b0878
  • pnpm
pnpm add -D webpack@https://pkg.pr.new/webpack@a4b0878
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@aryanraj45 aryanraj45 mentioned this pull request Oct 20, 2026
test(watch): fuzz watch and persistent-cache rebuilds against random edit sequences #22821
Closed
@aryanraj45 aryanraj45 mentioned this pull request Nov 23, 2026
test: fuzz watch, persistent-cache and HMR rebuilds against random edit sequences #23546
Merged
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

area: watch Watching, HMR, lazy compilation (lib/hmr, hot/)

Projects

None yet

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.

2 participants

@aryanraj45 @alexander-akait
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.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.