Skip to content

RHSTOR-7463:Upgrade webpack to 5.99.9 #2137

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

NIKHITHAVADDEMPUDI
Copy link
Collaborator

https://issues.redhat.com/browse/RHSTOR-7463

Upgradation of webpack to 5.99.9 is raising error:

[webpack-cli] TypeError: The 'compilation' argument must be an instance of Compilation
at NormalModule.getCompilationHooks (/Users/vaddempudinikhitha/Desktop/Update/webpack/odf-console/node_modules/@openshift-console/dynamic-plugin-sdk-webpack/node_modules/webpack/lib/NormalModule.js:261:10)
at (/Users/vaddempudinikhitha/Desktop/Update/webpack/odf-console/node_modules/src/webpack/ConsoleRemotePlugin.ts:461:28)
at Hook.eval [as call] (eval at create (/Users/vaddempudinikhitha/Desktop/Update/webpack/odf-console/node_modules/tapable/lib/HookCodeFactory.js:19:10), :11:1)
at Hook.CALL_DELEGATE [as _call] (/Users/vaddempudinikhitha/Desktop/Update/webpack/odf-console/node_modules/tapable/lib/Hook.js:14:14)
at Compiler.newCompilation (/Users/vaddempudinikhitha/Desktop/Update/webpack/odf-console/node_modules/webpack/lib/Compiler.js:1272:30)
at /Users/vaddempudinikhitha/Desktop/Update/webpack/odf-console/node_modules/webpack/lib/Compiler.js:1317:29
at Hook.eval [as callAsync] (eval at create (/Users/vaddempudinikhitha/Desktop/Update/webpack/odf-console/node_modules/tapable/lib/HookCodeFactory.js:33:10), :6:1)
at Hook.CALL_ASYNC_DELEGATE [as _callAsync] (/Users/vaddempudinikhitha/Desktop/Update/webpack/odf-console/node_modules/tapable/lib/Hook.js:18:14)
at Compiler.compile (/Users/vaddempudinikhitha/Desktop/Update/webpack/odf-console/node_modules/webpack/lib/Compiler.js:1312:28)
at /Users/vaddempudinikhitha/Desktop/Update/webpack/odf-console/node_modules/webpack/lib/Compiler.js:593:12

Add resolution 'webpack' and upgrade it to 5.99.9 to resolve the issue

@openshift-ci-robot openshift-ci-robot added the jira/valid-reference Indicates that this PR references a valid jira ticket of any type label Jul 1, 2025
@openshift-ci-robot
Copy link

openshift-ci-robot commented Jul 1, 2025

@NIKHITHAVADDEMPUDI: This pull request references RHSTOR-7463 which is a valid jira issue.

In response to this:

https://issues.redhat.com/browse/RHSTOR-7463

Upgradation of webpack to 5.99.9 is raising error:

[webpack-cli] TypeError: The 'compilation' argument must be an instance of Compilation
at NormalModule.getCompilationHooks (/Users/vaddempudinikhitha/Desktop/Update/webpack/odf-console/node_modules/@openshift-console/dynamic-plugin-sdk-webpack/node_modules/webpack/lib/NormalModule.js:261:10)
at (/Users/vaddempudinikhitha/Desktop/Update/webpack/odf-console/node_modules/src/webpack/ConsoleRemotePlugin.ts:461:28)
at Hook.eval [as call] (eval at create (/Users/vaddempudinikhitha/Desktop/Update/webpack/odf-console/node_modules/tapable/lib/HookCodeFactory.js:19:10), :11:1)
at Hook.CALL_DELEGATE [as _call] (/Users/vaddempudinikhitha/Desktop/Update/webpack/odf-console/node_modules/tapable/lib/Hook.js:14:14)
at Compiler.newCompilation (/Users/vaddempudinikhitha/Desktop/Update/webpack/odf-console/node_modules/webpack/lib/Compiler.js:1272:30)
at /Users/vaddempudinikhitha/Desktop/Update/webpack/odf-console/node_modules/webpack/lib/Compiler.js:1317:29
at Hook.eval [as callAsync] (eval at create (/Users/vaddempudinikhitha/Desktop/Update/webpack/odf-console/node_modules/tapable/lib/HookCodeFactory.js:33:10), :6:1)
at Hook.CALL_ASYNC_DELEGATE [as _callAsync] (/Users/vaddempudinikhitha/Desktop/Update/webpack/odf-console/node_modules/tapable/lib/Hook.js:18:14)
at Compiler.compile (/Users/vaddempudinikhitha/Desktop/Update/webpack/odf-console/node_modules/webpack/lib/Compiler.js:1312:28)
at /Users/vaddempudinikhitha/Desktop/Update/webpack/odf-console/node_modules/webpack/lib/Compiler.js:593:12

Add resolution 'webpack' and upgrade it to 5.99.9 to resolve the issue

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository.

@NIKHITHAVADDEMPUDI NIKHITHAVADDEMPUDI requested review from SanjalKatiyar, aruniiird, alfonsomthd and bipuladh and removed request for aruniiird July 1, 2025 11:51
Copy link
Contributor

openshift-ci bot commented Jul 2, 2025

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: alfonsomthd, NIKHITHAVADDEMPUDI

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci openshift-ci bot added the approved label Jul 2, 2025
@SanjalKatiyar
Copy link
Collaborator

/override ci/prow/odf-console-e2e-aws

Copy link
Contributor

openshift-ci bot commented Jul 7, 2025

@SanjalKatiyar: Overrode contexts on behalf of SanjalKatiyar: ci/prow/odf-console-e2e-aws

In response to this:

/override ci/prow/odf-console-e2e-aws

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@openshift-merge-bot openshift-merge-bot bot merged commit a22ddf1 into red-hat-storage:master Jul 7, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved jira/valid-reference Indicates that this PR references a valid jira ticket of any type lgtm
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants