Closed zpao closed 1 month ago
This is awesome. Thank you!
@captbaritone has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.
@captbaritone merged this pull request in facebook/relay@24c9a5326ca8591815a70ad48c773a9f543b6c8a.
I got distracted looking at something else for Relay and noticed the repo itself is several GB. This is almost certainly primarily from the
gh-pages
branch. It currently gets rebuilt on every commit tomain
and since the content of the pages include the last modified by & time using that commit data, every single generated page gets rebuilt as well. For example, https://github.com/facebook/relay/commit/79a357573cfc5fc2ce8de15ba133630f3edac8d1 updated 4672 files. That build job took almost 30 minutes (https://github.com/facebook/relay/actions/runs/9067652200)So I did a few things
Warm build (typical) time is now 6 minutes. https://github.com/zpao/relay/actions/runs/9052335508