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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build: strengthen conditions under which Webpack stats are written in file #13231

Closed
wants to merge 2 commits into from

Conversation

gaetanmaisse
Copy link
Member

@gaetanmaisse gaetanmaisse commented Nov 23, 2020

Issue: CLI Tests CI job is failing for a few days/weeks because in some cases we are trying to output some undefined Webpack stats in a file, inside a potentially non-existing directory.

What I did

  • Ensure the directory used to output Webpack stats exists before writing files in it.
  • Strengthen the types and checks before trying to write anything in files.

How to test

  • CLI Tests CI job should be back to 馃煝

@gaetanmaisse gaetanmaisse added maintenance User-facing maintenance tasks core labels Nov 23, 2020
@gaetanmaisse
Copy link
Member Author

@tooppaaa do you know why we have a staticDir: 'dist' here? We have the same for ember and a dynamic value for react script but nothing for all the other frameworks, do you think it's normal?

The CLI tests are failing for that now.

@tooppaaa
Copy link
Contributor

Unfortunately no, I don't know. I added this option for some framework. In the diff you shared, it must have been a bad copy paste. I don't see any good reason

@gaetanmaisse
Copy link
Member Author

Closing in favor of #13266

@gaetanmaisse gaetanmaisse deleted the fix-cli-tests branch November 25, 2020 20:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core maintenance User-facing maintenance tasks
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants