-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
Build and Test both the Dev and Production Webpack Asset Process #34834
Labels
maintenance
Routine upkeep necessary for the health of the platform
Comments
feanil
added
the
maintenance
Routine upkeep necessary for the health of the platform
label
May 21, 2024
Open
Thanks for the reminder. Now that the DEPR is accepted, it's good time to switch the CI check from Paver to the new thing. Ready for review, assuming tests pass: #34836 |
kdmccormick
added a commit
to kdmccormick/edx-platform
that referenced
this issue
May 21, 2024
This switches the static asset check over from the deprecated paver commands to the new 'npm run build' command. Doing so allows us to check both the prod AND dev build, whereas before we were only checking the prod build. Please note that, as before, the "check" is only ensuring that the build returns 0. It is not checking the contents of the build output. Closes: openedx#34834
kdmccormick
added a commit
that referenced
this issue
May 22, 2024
This switches the static asset check over from the deprecated paver commands to the new 'npm run build' command. Doing so allows us to check both the prod AND dev build, whereas before we were only checking the prod build. Please note that, as before, the "check" is only ensuring that the build returns 0. It is not checking the contents of the build output. Closes: #34834
github-project-automation
bot
moved this from 👀 In review
to ✅ Done
in Aximprovements Team
May 22, 2024
andrey-canon
pushed a commit
to nelc/edx-platform
that referenced
this issue
Nov 20, 2024
This switches the static asset check over from the deprecated paver commands to the new 'npm run build' command. Doing so allows us to check both the prod AND dev build, whereas before we were only checking the prod build. Please note that, as before, the "check" is only ensuring that the build returns 0. It is not checking the contents of the build output. Closes: openedx#34834
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Context
The static assets check workflow only builds the dev version of the webpack assets and as such does not test that the production webpack config will build properly. This is partly due to the fact that the assets paver commands make it difficult to test the production webpack build without configuring a more production like edx-platform python settings.
Furthermore, the paver commands are deprecated and alternatives already exist which make it easier to build either the dev or production webpack assets.
Acceptance Criteria
The text was updated successfully, but these errors were encountered: