-
Notifications
You must be signed in to change notification settings - Fork 47k
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
[ci] Parallelize yarn build #30071
[ci] Parallelize yarn build #30071
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
ghstack-source-id: 636f2bb2ade35cf648c422de29a04fee4697db26 Pull Request resolved: #30071
ghstack-source-id: 4cf40214f8ec1e6dcd4b1941bc2fb5b59bcc1004 Pull Request resolved: #30071
ghstack-source-id: d14f9ea5349ce08203a6b968f27736d8983d9f5f Pull Request resolved: #30071
ghstack-source-id: 3cb64db93d641d7f4a07b6321ecdb3b83b1a68ce Pull Request resolved: #30071
ghstack-source-id: 33b498fd49f158d6947b4e6b38a99452328e59ef Pull Request resolved: #30071
Comparing: e6783e7...72a15f5 Critical size changesIncludes critical production bundles, as well as any change greater than 2%:
Significant size changesIncludes any change greater than 0.2%: Expand to show
|
ghstack-source-id: 0767a1f89b5f6bac26a699dd5591af7e0c93ed3a Pull Request resolved: #30071
ghstack-source-id: 2beffbad66dd845d58b605419571c2faa7ee0cac Pull Request resolved: #30071
ghstack-source-id: fc61ba266b164d9bf3831d4d6e37da261481a916 Pull Request resolved: #30071
ghstack-source-id: 78cf0304633fc31f2372c683258b543ddd20a7af Pull Request resolved: facebook#30071
ghstack-source-id: 78cf0304633fc31f2372c683258b543ddd20a7af Pull Request resolved: #30071
ghstack-source-id: c93d81e370edf1ec8f8e54470c01e63f8280e542 Pull Request resolved: #30071
ghstack-source-id: c93d81e370edf1ec8f8e54470c01e63f8280e542 Pull Request resolved: #30071
ghstack-source-id: c93d81e370edf1ec8f8e54470c01e63f8280e542 Pull Request resolved: #30071
ghstack-source-id: c93d81e370edf1ec8f8e54470c01e63f8280e542 Pull Request resolved: #30071
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 will unfork this later
@@ -0,0 +1,869 @@ | |||
'use strict'; |
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.
Review note: diffed this against rollup/build.js locally. Its mostly a copy with some changes to how we get node count from the runner. LGTM, assume we'll remove rollup/build.js once this is stable.
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.
yeah I'm gonna remove the circleci hardcoding later in the stack and unfork these files
strategy: | ||
matrix: | ||
# yml is dumb. update the --total arg to yarn build if you change the number of workers | ||
worker_id: [0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19] |
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.
Curious why 20 workers. Does this match the number of bundles?
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 preserved our current circleci setup, where we have 20 workers for stable and 20 workers for experimental. That's the same as what this config in GH expands to
ghstack-source-id: 8a13b456f1638a44c6f960c44f5752e8e4d32507 Pull Request resolved: #30071
Stack from ghstack (oldest at bottom):