-
Notifications
You must be signed in to change notification settings - Fork 49.6k
Allow running download_devtools_regression_build.js
on a clean repo
#34456
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
Allow running download_devtools_regression_build.js
on a clean repo
#34456
Conversation
Comparing: 288d428...a82f923 Critical size changesIncludes critical production bundles, as well as any change greater than 2%:
Significant size changesIncludes any change greater than 0.2%: (No significant changes) |
} | ||
await downloadRegressionBuild(); | ||
} catch (e) { | ||
console.log(chalk.red(e)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I found it annoying that this script always exited with a zero exit code. This could make CI fail but I suspect we'd want to know about these failures. I'm actively working on fixing the regression test suite so I'll notice if this reveals some other issue.
download_devtools_regression_build.js
on clean repodownload_devtools_regression_build.js
on a clean repo
…facebook#34456) DiffTrain build for [47664de](facebook@47664de)
…facebook#34456) DiffTrain build for [47664de](facebook@47664de)
…facebook#34456) DiffTrain build for [47664de](facebook@47664de)
Previous version relied on having built something before. These changes make the script work on a fresh clone/worktree. Technically you do need to run
yarn build react-debug-tools react-refresh internal-test-utils
because we're not actually doing regression tests for those packages but that's an issue for the tests using those package. The other tests should be able to run on a clean worktree.This is also fixing a bug where we were using the built
react-is
not the published one.Test plan
node ./scripts/ci/download_devtools_regression_build.js 16.0 --replaceBuild
on