Skip to content

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 gaetanmaisse marked this pull request as ready for review November 25, 2020 08:27
@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.

3 participants