Skip to content
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

Temporarily disable broken Webpack JS test suites #35955

Merged

Conversation

kdmccormick
Copy link
Member

@kdmccormick kdmccormick commented Dec 3, 2024

Description

We temporarily disable the three Webpack-based JS test suites. They have been silently broken for a long time. It is not clear yet if only the karma-webpack build config is broken, or if something in the Webpack-built JS itself is broken which is manifesting as the karma-webpack build failing.

The remaining four non-Webpack-based JS test suites are unaffected. These are running as we expect them to.

We add a small "DieHardPlugin" to webpack.common.config.js to ensure that once we re-enable these Webpack JS suites, future breakage to the karma-webpack build will yield a CI failure. I did verify this.

Screenshots

Webpack tests failing silently

(CI screenshot -- notice that it just moves onto lms javascript even though the build failed for cms-webpack javascript)

image

Webpack tests failing loudly due to new DieHardPlugin

(local screenshot)

image

Context

Discovered as part of #35159

Adds a "DieHardPlugin" to the Webpack build. See enclosed code comment
for more details.
@kdmccormick kdmccormick changed the title Fix Tests for Webpack-Built JS (WIP) Temporarily disable broken Webpack JS test suites Dec 3, 2024
@kdmccormick kdmccormick marked this pull request as ready for review December 3, 2024 22:34
Copy link
Contributor

@salman2013 salman2013 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me.

@kdmccormick kdmccormick merged commit 4839b75 into openedx:master Dec 4, 2024
51 checks passed
@kdmccormick kdmccormick deleted the kdmccormick/webpack-die-hard branch December 4, 2024 16:28
@edx-pipeline-bot
Copy link
Contributor

2U Release Notice: This PR has been deployed to the edX staging environment in preparation for a release to production.

@edx-pipeline-bot
Copy link
Contributor

2U Release Notice: This PR has been deployed to the edX production environment.

@edx-pipeline-bot
Copy link
Contributor

2U Release Notice: This PR has been rolled back from the edX production environment.

1 similar comment
@edx-pipeline-bot
Copy link
Contributor

2U Release Notice: This PR has been rolled back from the edX production environment.

@edx-pipeline-bot
Copy link
Contributor

2U Release Notice: This PR has been deployed to the edX production environment.

1 similar comment
@edx-pipeline-bot
Copy link
Contributor

2U Release Notice: This PR has been deployed to the edX production environment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants