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

Don't extract errors in CI #15758

Merged
merged 1 commit into from
May 29, 2019
Merged

Conversation

acdlite
Copy link
Collaborator

@acdlite acdlite commented May 29, 2019

Removes --extract-errors argument from CI build script command. Instead, the author is expected to run yarn extract-errors locally or manually edit the error code map.

The lint rule should be sufficient to catch unminified errors, but as an extra precaution, I added a post build step that greps the production bundles. The post-build step works even if someone disables the lint rule for a specific line or file.

@sizebot
Copy link

sizebot commented May 29, 2019

No significant bundle size changes to report.

Generated by 🚫 dangerJS

@bvaughn
Copy link
Contributor

bvaughn commented May 29, 2019

Instead, the author is expected to run yarn extract-errors locally or manually edit the error code map.

Seems easy to forget.

Disregard. Looks like you added a check to make sure we didn't forget to generate these. 👍

Removes `--extract-errors` argument from CI build script command.
Instead, the author is expected to run `yarn extract-errors` locally
or manually edit the error code map.

The lint rule should be sufficient to catch unminified errors, but
as an extra precaution, I added a post-build step that greps the
production bundles. The post-build step works even if someone disables
the lint rule for a specific line or file.
@acdlite acdlite force-pushed the dont-extract-errors-in-ci branch 3 times, most recently from d824a39 to fc36310 Compare May 29, 2019 21:08
@acdlite acdlite merged commit 30b1a80 into facebook:master May 29, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants