console icon indicating copy to clipboard operation
console copied to clipboard

[WIP] CONSOLE-3905: (deps) upgrade to webpack 5

Open logonoff opened this issue 1 year ago • 10 comments

CONSOLE Features and Fixes:

https://issues.redhat.com/browse/CONSOLE-3905

Solution description

  • upgraded webpack related dependencies to latest version
  • updated formik from 2.0.3 to 2.1.5 to fix build warning
  • remove cache-loader, null-loader because they are deprecated
  • updated react-dnd from 9.4.0 to 11.1.3 to fix build error

Reviewers and assignees:

n/a

Additional info:

[wip] I have some runtime errors, such as _TopologyPage__WEBPACK_IMPORTED_MODULE_5__ is undefined and can't access lexical declaration '__WEBPACK_DEFAULT_EXPORT__' before initialization, which seem to suggest there are some cyclical imports which I'm not really sure how to deal with

Screen shots / gifs / design review:

n/a

logonoff avatar Oct 04 '24 22:10 logonoff

@logonoff: This pull request references CONSOLE-3905 which is a valid jira issue.

Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "4.18.0" version, but no target version was set.

In response to this:

CONSOLE Features and Fixes:

https://issues.redhat.com/browse/CONSOLE-3905

Solution description

- upgraded webpack and related dependencies to latest version - updated formik from 2.0.3 to 2.1.5 to fix build warning - remove cache-loader, null-loader because they are deprecated

Reviewers and assignees:

n/a

Additional info:

n/a

Screen shots / gifs / design review:

n/a

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.

openshift-ci-robot avatar Oct 04 '24 22:10 openshift-ci-robot

@logonoff: This pull request references CONSOLE-3905 which is a valid jira issue.

Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "4.18.0" version, but no target version was set.

In response to this:

CONSOLE Features and Fixes:

https://issues.redhat.com/browse/CONSOLE-3905

Solution description

  • upgraded webpack and related dependencies to latest version
  • updated formik from 2.0.3 to 2.1.5 to fix build warning
  • remove cache-loader, null-loader because they are deprecated

Reviewers and assignees:

n/a

Additional info:

n/a

Screen shots / gifs / design review:

n/a

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.

openshift-ci-robot avatar Oct 04 '24 22:10 openshift-ci-robot

/retest e2e-gcp-console

logonoff avatar Oct 05 '24 19:10 logonoff

@logonoff: The /retest command does not accept any targets. The following commands are available to trigger required jobs:

  • /test analyze
  • /test backend
  • /test e2e-gcp-console
  • /test frontend
  • /test images

The following commands are available to trigger optional jobs:

  • /test okd-scos-images

Use /test all to run the following jobs that were automatically triggered:

  • pull-ci-openshift-console-master-analyze
  • pull-ci-openshift-console-master-backend
  • pull-ci-openshift-console-master-e2e-gcp-console
  • pull-ci-openshift-console-master-frontend
  • pull-ci-openshift-console-master-images

In response to this:

/retest e2e-gcp-console

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-ci[bot] avatar Oct 05 '24 19:10 openshift-ci[bot]

@logonoff: This pull request references CONSOLE-3905 which is a valid jira issue.

Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "4.18.0" version, but no target version was set.

In response to this:

CONSOLE Features and Fixes:

https://issues.redhat.com/browse/CONSOLE-3905

Solution description

  • upgraded webpack and related dependencies to latest version
  • updated formik from 2.0.3 to 2.1.5 to fix build warning
  • remove cache-loader, null-loader because they are deprecated
  • updated react-dnd from 9.4.0 to 11.1.3 to fix build error

Reviewers and assignees:

n/a

Additional info:

n/a

Screen shots / gifs / design review:

n/a

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.

openshift-ci-robot avatar Oct 08 '24 20:10 openshift-ci-robot

@logonoff: This pull request references CONSOLE-3905 which is a valid jira issue.

Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "4.18.0" version, but no target version was set.

In response to this:

CONSOLE Features and Fixes:

https://issues.redhat.com/browse/CONSOLE-3905

Solution description

  • upgraded webpack and related dependencies to latest version
  • updated formik from 2.0.3 to 2.1.5 to fix build warning
  • remove cache-loader, null-loader because they are deprecated
  • updated react-dnd from 9.4.0 to 11.1.3 to fix build error

Reviewers and assignees:

n/a

Additional info:

[wip] I have some runtime errors, such as _TopologyPage__WEBPACK_IMPORTED_MODULE_5__ is undefined and can't access lexical declaration '__WEBPACK_DEFAULT_EXPORT__' before initialization, which seem to suggest there are some cyclical imports which I'm not really sure how to deal with

Screen shots / gifs / design review:

n/a

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.

openshift-ci-robot avatar Oct 08 '24 21:10 openshift-ci-robot

@logonoff: This pull request references CONSOLE-3905 which is a valid jira issue.

Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "4.18.0" version, but no target version was set.

In response to this:

CONSOLE Features and Fixes:

https://issues.redhat.com/browse/CONSOLE-3905

Solution description

  • upgraded webpack related dependencies to latest version
  • upgraded webpack to 5.75 to match plugins
  • updated formik from 2.0.3 to 2.1.5 to fix build warning
  • remove cache-loader, null-loader because they are deprecated
  • updated react-dnd from 9.4.0 to 11.1.3 to fix build error

Reviewers and assignees:

n/a

Additional info:

[wip] I have some runtime errors, such as _TopologyPage__WEBPACK_IMPORTED_MODULE_5__ is undefined and can't access lexical declaration '__WEBPACK_DEFAULT_EXPORT__' before initialization, which seem to suggest there are some cyclical imports which I'm not really sure how to deal with

Screen shots / gifs / design review:

n/a

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.

openshift-ci-robot avatar Oct 16 '24 21:10 openshift-ci-robot

@logonoff: This pull request references CONSOLE-3905 which is a valid jira issue.

Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "4.18.0" version, but no target version was set.

In response to this:

CONSOLE Features and Fixes:

https://issues.redhat.com/browse/CONSOLE-3905

Solution description

  • upgraded webpack related dependencies to latest version
  • updated formik from 2.0.3 to 2.1.5 to fix build warning
  • remove cache-loader, null-loader because they are deprecated
  • updated react-dnd from 9.4.0 to 11.1.3 to fix build error

Reviewers and assignees:

n/a

Additional info:

[wip] I have some runtime errors, such as _TopologyPage__WEBPACK_IMPORTED_MODULE_5__ is undefined and can't access lexical declaration '__WEBPACK_DEFAULT_EXPORT__' before initialization, which seem to suggest there are some cyclical imports which I'm not really sure how to deal with

Screen shots / gifs / design review:

n/a

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.

openshift-ci-robot avatar Oct 16 '24 21:10 openshift-ci-robot

@logonoff: This pull request references CONSOLE-3905 which is a valid jira issue.

Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "4.18.0" version, but no target version was set.

In response to this:

CONSOLE Features and Fixes:

https://issues.redhat.com/browse/CONSOLE-3905

Solution description

  • upgraded webpack related dependencies to latest version
  • updated formik from 2.0.3 to 2.1.5 to fix build warning
  • remove cache-loader, null-loader because they are deprecated
  • updated react-dnd from 9.4.0 to 11.1.3 to fix build error

Reviewers and assignees:

n/a

Additional info:

Screen shots / gifs / design review:

n/a

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.

openshift-ci-robot avatar Nov 14 '24 20:11 openshift-ci-robot

@logonoff: This pull request references CONSOLE-3905 which is a valid jira issue.

Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "4.18.0" version, but no target version was set.

In response to this:

CONSOLE Features and Fixes:

https://issues.redhat.com/browse/CONSOLE-3905

Solution description

  • upgraded webpack related dependencies to latest version
  • updated formik from 2.0.3 to 2.1.5 to fix build warning
  • remove cache-loader, null-loader because they are deprecated
  • updated react-dnd from 9.4.0 to 11.1.3 to fix build error

Reviewers and assignees:

n/a

Additional info:

n/a

Screen shots / gifs / design review:

n/a

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.

openshift-ci-robot avatar Nov 14 '24 20:11 openshift-ci-robot

@logonoff: This pull request references CONSOLE-3905 which is a valid jira issue.

Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "4.18.0" version, but no target version was set.

In response to this:

CONSOLE Features and Fixes:

https://issues.redhat.com/browse/CONSOLE-3905

Solution description

  • upgraded webpack related dependencies to latest version
  • updated formik from 2.0.3 to 2.1.5 to fix build warning
  • remove cache-loader, null-loader because they are deprecated
  • updated react-dnd from 9.4.0 to 11.1.3 to fix build error

Reviewers and assignees:

n/a

Screen shots / gifs / design review:

n/a

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.

openshift-ci-robot avatar Nov 15 '24 21:11 openshift-ci-robot

@logonoff: This pull request references CONSOLE-3905 which is a valid jira issue.

Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "4.18.0" version, but no target version was set.

In response to this:

CONSOLE Features and Fixes:

https://issues.redhat.com/browse/CONSOLE-3905

Solution description

  • upgraded webpack related dependencies to latest version
  • updated formik from 2.0.3 to 2.1.5 to fix build warning
  • remove cache-loader, null-loader because they are deprecated
  • updated react-dnd from 9.4.0 to 11.1.3 to fix build error

Reviewers and assignees:

Test cases:

  • Does @console/internal/file-input still work as expected?
  • Are there any regressions with formik or react-dnd?
  • Do all the Monaco YAML language server features work?
  • Does everything else feel the exact same?

Additional info:

n/a

Screen shots / gifs / design review:

n/a

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.

openshift-ci-robot avatar Nov 15 '24 21:11 openshift-ci-robot

@logonoff: This pull request references CONSOLE-3905 which is a valid jira issue.

Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "4.18.0" version, but no target version was set.

In response to this:

CONSOLE Features and Fixes:

https://issues.redhat.com/browse/CONSOLE-3905

Solution description

  • upgraded webpack related dependencies to latest version
  • updated formik from 2.0.3 to 2.1.5 to fix build warning
  • remove cache-loader, null-loader because they are deprecated
  • updated react-dnd from 9.4.0 to 11.1.3 to fix build error

Reviewers and assignees:

n/a

Test cases:

  • Does @console/internal/file-input still work as expected?
  • Are there any regressions with formik or react-dnd?
  • Do all the Monaco YAML language server features work?
  • Does everything else feel the exact same?

Additional info:

n/a

Screen shots / gifs / design review:

n/a

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.

openshift-ci-robot avatar Nov 15 '24 21:11 openshift-ci-robot

@logonoff: This pull request references CONSOLE-3905 which is a valid jira issue.

Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "4.18.0" version, but no target version was set.

In response to this:

CONSOLE Features and Fixes:

https://issues.redhat.com/browse/CONSOLE-3905

Solution description

  • upgraded webpack related dependencies to latest version
  • updated formik from 2.0.3 to 2.1.5 to fix build warning
  • remove cache-loader, null-loader because they are deprecated
  • updated react-dnd from 9.4.0 to 11.1.3 to fix build error
  • switched ts-loader to esbuild-loader for performance

Reviewers and assignees:

n/a

Test cases:

  • Does @console/internal/file-input still work as expected?
  • Are there any regressions with formik or react-dnd?
  • Do all the Monaco YAML language server features work?
  • Does everything else feel the exact same?

Additional info:

n/a

Screen shots / gifs / design review:

n/a

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.

openshift-ci-robot avatar Nov 19 '24 14:11 openshift-ci-robot

@logonoff: This pull request references CONSOLE-3905 which is a valid jira issue.

Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "4.18.0" version, but no target version was set.

In response to this:

CONSOLE Features and Fixes:

https://issues.redhat.com/browse/CONSOLE-3905

Solution description

  • upgraded webpack related dependencies to latest version
  • updated formik from 2.0.3 to 2.1.5 to fix build warning
  • remove cache-loader, null-loader because they are deprecated
  • updated react-dnd from 9.4.0 to 11.1.3 to fix build error
  • switched ts-loader to esbuild-loader for performance
  • switch webpack-virtual-modules with val-loader to fix build warning (and for easier transition to rspack, since it supports most loader APIs)

Reviewers and assignees:

n/a

Test cases:

  • Does @console/internal/file-input still work as expected?
  • Are there any regressions with formik or react-dnd?
  • Do all the Monaco YAML language server features work?
  • Does everything else feel the exact same?

Additional info:

n/a

Screen shots / gifs / design review:

n/a

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.

openshift-ci-robot avatar Nov 21 '24 16:11 openshift-ci-robot

CI is green 🎉

spadgett avatar Nov 21 '24 18:11 spadgett

Thanks, @logonoff. Fantastic work.

Do we know if there are any downstream impacts to plugins with this change? Would be good to have @vojtechszocs review at least the plugin related bits.

From some preliminary testing I couldn't find anything: monitoring-plugin seems to be working fine, including the promql input and charts

logonoff avatar Nov 21 '24 21:11 logonoff

adding labels as this is tech debt

/label px-approved /label docs-approved

logonoff avatar Nov 29 '24 16:11 logonoff

For QE review:

/assign @yapei or /assign @sanketpathak

whoever has the time

logonoff avatar Dec 03 '24 01:12 logonoff

@logonoff: This pull request references CONSOLE-3905 which is a valid jira issue.

Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "4.19.0" version, but no target version was set.

In response to this:

CONSOLE Features and Fixes:

https://issues.redhat.com/browse/CONSOLE-3905

Solution description

  • upgraded webpack related dependencies to latest version
  • updated formik from 2.0.3 to 2.1.5 to fix build warning
  • remove cache-loader, null-loader because they are deprecated
  • updated react-dnd from 9.4.0 to 11.1.3 to fix build error
  • switched ts-loader to esbuild-loader for performance
  • switch webpack-virtual-modules with val-loader to fix build warning (and for easier transition to rspack, since it supports most loader APIs)

Reviewers and assignees:

n/a

Test cases:

  • Does @console/internal/file-input still work as expected?
  • Are there any regressions with any usages of formik or react-dnd?
  • Do all the Monaco YAML language server features work?
  • Does everything else work the exact same?
  • Do all dynamic and static plugins work as expected?

Additional info:

n/a

Screen shots / gifs / design review:

n/a

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.

openshift-ci-robot avatar Dec 03 '24 01:12 openshift-ci-robot

@logonoff: This pull request references CONSOLE-3905 which is a valid jira issue.

In response to this:

CONSOLE Features and Fixes:

https://issues.redhat.com/browse/CONSOLE-3905

Solution description

  • upgraded webpack related dependencies to latest version
  • updated formik from 2.0.3 to 2.1.5 to fix build warning
  • remove cache-loader, null-loader because they are deprecated
  • updated react-dnd from 9.4.0 to 11.1.3 to fix build error
  • switched ts-loader to esbuild-loader for performance
  • switch webpack-virtual-modules with val-loader to fix build warning (and for easier transition to rspack, since it supports most loader APIs)

Reviewers and assignees:

n/a

Test cases:

  • Does @console/internal/file-input still work as expected?
  • Are there any regressions with any usages of formik or react-dnd?
  • Do all the Monaco YAML language server features work?
  • Do all dynamic and static plugins work as expected?
  • Does everything else work the exact same?

Additional info:

n/a

Screen shots / gifs / design review:

n/a

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.

openshift-ci-robot avatar Dec 03 '24 01:12 openshift-ci-robot

@logonoff: This pull request references CONSOLE-3905 which is a valid jira issue.

In response to this:

CONSOLE Features and Fixes:

https://issues.redhat.com/browse/CONSOLE-3905

Solution description

  • upgraded webpack related dependencies to latest version
  • updated formik from 2.0.3 to 2.1.5 to fix build warning
  • remove cache-loader, null-loader because they are deprecated
  • updated react-dnd from 9.4.0 to 11.1.3 to fix build error
  • switched ts-loader to esbuild-loader for performance
  • switch webpack-virtual-modules with val-loader to fix build warning (and for easier transition to rspack, since it supports most loader APIs)

Reviewers and assignees:

n/a

Test cases:

  • Does @console/internal/file-input still work as expected?
  • Are there any regressions with formik or react-dnd?
  • Do all the Monaco YAML language server features work?
  • Do all dynamic and static plugins work as expected?
  • Does everything else work the same?

Additional info:

n/a

Screen shots / gifs / design review:

n/a

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.

openshift-ci-robot avatar Dec 03 '24 01:12 openshift-ci-robot

Ran some regression testings based on the listed scenarios in Test cases: no issues found /label qe-approved

yapei avatar Dec 03 '24 09:12 yapei

@logonoff: This pull request references CONSOLE-3905 which is a valid jira issue.

In response to this:

CONSOLE Features and Fixes:

https://issues.redhat.com/browse/CONSOLE-3905

Solution description

  • upgraded webpack related dependencies to latest version
  • updated formik from 2.0.3 to 2.1.5 to fix build warning
  • remove cache-loader, null-loader because they are deprecated
  • updated react-dnd from 9.4.0 to 11.1.3 to fix build error
  • switched ts-loader to esbuild-loader for performance
  • switch webpack-virtual-modules with val-loader to fix build warning (and for easier transition to rspack, since it supports most loader APIs)

Reviewers and assignees:

n/a

Test cases:

  • Does @console/internal/file-input still work as expected?
  • Are there any regressions with formik or react-dnd?
  • Do all the Monaco YAML language server features work?
  • Do all dynamic and static plugins work as expected?
  • Does everything else work the same?

Additional info:

n/a

Screen shots / gifs / design review:

n/a

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.

openshift-ci-robot avatar Dec 03 '24 09:12 openshift-ci-robot

/lgtm

vojtechszocs avatar Dec 05 '24 20:12 vojtechszocs

Jira ticket for throwing warnings on guessModuleFilePath usage: https://issues.redhat.com/browse/CONSOLE-4382

logonoff avatar Dec 05 '24 20:12 logonoff

/lgtm

vojtechszocs avatar Dec 05 '24 20:12 vojtechszocs

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: logonoff, vojtechszocs

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[bot] avatar Dec 05 '24 20:12 openshift-ci[bot]

/honk

logonoff avatar Dec 06 '24 12:12 logonoff

@logonoff: goose image

In response to this:

/honk

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-ci[bot] avatar Dec 06 '24 12:12 openshift-ci[bot]