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 — Getting getModuleEvaluationSideEffectsState(moduleGraph) error · Issue #20986 · webpack/webpack

Getting getModuleEvaluationSideEffectsState(moduleGraph) error #20986

New issue
Copy link
New issue
Copy link
Closed
#20993
Closed
Getting getModuleEvaluationSideEffectsState(moduleGraph) error#20986
#20993
Copy link

Description

@abecirovic-mo
abecirovic-mo
opened on May 20, 2026
Issue body actions

Have you used AI?

Copilot

Bug Description

After updating webpack to 5.107.0
I got following error.
Image

Copilot suggested that the cycle detection in getModuleEvaluationSideEffectsState is missing a visited-set guard, so creating issue for this.

Link to Minimal Reproduction and step to reproduce

Updating to 5.107.0 and running the build

Expected Behavior

Succeesful build

Actual Behavior

Build fails with an error

Environment

System:
    OS: macOS 26.4.1
    CPU: (10) arm64 Apple M2 Pro
    Memory: 101.95 MB / 16.00 GB
  Binaries:
    Node: 24.14.0 - /Users/almirbecirovic/.nvm/versions/node/v24.14.0/bin/node
    Yarn: 1.22.22 - /Users/almirbecirovic/.nvm/versions/node/v24.15.0/bin/yarn
    npm: 11.9.0 - /Users/almirbecirovic/.nvm/versions/node/v24.14.0/bin/npm
  Browsers:
    Safari: 26.4
  Packages:
    babel-loader: ^9.1.3 => 9.2.1 
    clean-webpack-plugin: ^4.0.0 => 4.0.0 
    copy-webpack-plugin: ^5.0.3 => 5.1.2 
    css-loader: ^5.0.1 => 5.2.7 
    duplicate-package-checker-webpack-plugin: ^3.0.0 => 3.0.0 
    file-loader: ^6.2.0 => 6.2.0 
    html-loader: ^4.2.0 => 4.2.0 
    html-webpack-plugin: ^5.5.3 => 5.6.7 
    imports-loader: ^0.8.0 => 0.8.0 
    loader-utils: ~2.0.3 => 2.0.4 
    postcss-loader: ^7.3.3 => 7.3.4 
    raw-loader: ^4.0.2 => 4.0.2 
    resolve-url-loader: ^5.0.0 => 5.0.0 
    sass-loader: ^13.3.2 => 13.3.3 
    script-loader: ^0.7.2 => 0.7.2 
    script-template-loader: ^1.0.3 => 1.0.3 
    string-replace-loader: ^3.1.0 => 3.3.0 
    style-loader: ^3.3.3 => 3.3.4 
    terser-webpack-plugin: ^5.3.9 => 5.6.0 
    text-loader: 0.0.1 => 0.0.1 
    url-loader: ^4.1.1 => 4.1.1 
    webpack: 5.106.2 => 5.106.2 
    webpack-bundle-analyzer: ^4.10.1 => 4.10.2 
    webpack-cli: ^5.1.4 => 5.1.4 
    webpack-dev-server: ^4.15.1 => 4.15.2 
    webpack-merge: ^5.10.0 => 5.10.0

Is this a regression?

None

Last Working Version

5.106.2

Additional Context

No response

Activity

  1. abecirovic-mo
    changed the title [-]Getting getModuleEvaluationSideEffectsState(moduleGrapg) error[/-] [+]Getting getModuleEvaluationSideEffectsState(moduleGraph) error[/+] on May 20, 2026
  2. alexander-akait commented on May 20, 2026

    @alexander-akait
    alexander-akait
    on May 20, 2026
    Member
    More actions

    Please create reproducible test repo

  3. alexander-akait
    added the
    Question
    issue type on May 20, 2026
  4. abecirovic-mo commented on May 20, 2026

    @abecirovic-mo
    abecirovic-mo
    on May 20, 2026
    Author
    More actions

    Please create reproducible test repo

    https://github.com/abecirovic-mo/webpack-5.107.0-repro

    Reacted by Alexander Akait
  5. alexander-akait
    added 5 commits that reference this issue on May 20, 2026

    fix: iterative `getSideEffectsConnectionState` to avoid stack overflo…

    55a4226

    fix: trampoline `getSideEffectsConnectionState` to avoid stack overfl…

    ecd4d91

    fix: trampoline `getSideEffectsConnectionState` to avoid stack overfl…

    952a1c6

    fix: trampoline `getSideEffectsConnectionState` to avoid stack overfl…

    e0072ab

    fix: trampoline `getSideEffectsConnectionState` to avoid stack overfl…

    1d6d292
  6. alexander-akait
    closed this as completedin #20993on May 20, 2026
  7. alexander-akait
    added 4 commits that reference this issue on May 21, 2026

    perf: hybrid recursive walker w/ iterative fallback for side-effects …

    aa20f65

    perf: walk linear chains without a V8 stack frame per module

    67f2ef5

    perf: walk linear chains without a V8 stack frame per module

    b669589

    fix: linear-chain walker handles multi-dependency modules (#20986)

    60d3b60
  8. alexander-akait
    added 3 commits that reference this issue on Jul 8, 2026

    perf: avoid exponential side-effects walk on cyclic module graphs

    dbd1cb3

    perf: avoid exponential side-effects walk on cyclic module graphs

    dc780da

    perf: faster JavaScript parsing, AST walking and side-effects analysis (

    243396c
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      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.