-
Notifications
You must be signed in to change notification settings - Fork 5.1k
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: a new prep-deps workflow with caching #29979
Conversation
CLA Signature Action: All authors have signed the CLA. You may need to manually re-run the blocking PR check if it doesn't pass in a few minutes. |
c9f1e1e
to
6266945
Compare
0f6ed27
to
1283bfe
Compare
Builds ready [1283bfe]
Page Load Metrics (1641 ± 69 ms)
|
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.
Left one question & reviewed usage of caching from a security POV. No concerns from our end. I'll let the others chime in with regards to reviewing the functionality
(Not blocking) Are there plans to version changes? While for now pointing directly to the main branch allows for immediate updates, it can result in challenges down the road if a breaking change is introduced. Could be handy to have things set up now to save time in the long run. |
1283bfe
to
2bfd0b8
Compare
6266945
to
abcd5a1
Compare
Builds ready [5973f94]
Page Load Metrics (1899 ± 62 ms)
Bundle size diffs
|
@NicholasEllul @itsyoboieltr @Gudahtt |
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.
Overall changes look good 👍
5973f94
to
a25ff4b
Compare
Builds ready [a25ff4b]
Page Load Metrics (1548 ± 37 ms)
Bundle size diffs
|
388a3c0
to
8fc4b17
Compare
8fc4b17
to
9e79d5f
Compare
Co-authored-by: Hassan Malik <41640681+hmalik88@users.noreply.github.com>
9e79d5f
to
d6851b8
Compare
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.
Reviewed from a security POV, LGTM!
Builds ready [d6851b8]
Page Load Metrics (1873 ± 128 ms)
Bundle size diffs
|
Description
Major changes
prep-deps
runs first and caches the result, thenprep-build-test-webpack
makes an artifact, then the benchmarks run.prep-deps
checkout-and-setup@caching
and deleting the independent "Checkout repository" stepvars.USE_CACHINGNo longer using thisThis allows us to toggle the caching feature on and off in a centralized way. I left instructions as a comment inmain.yml
for how to toggle it. We can discuss implementing this in a different way, but passing this variable through different workflows is actually kind of a pain (that's the first way I implemented it). Several of the jobs are 30-60 seconds faster when this is turned on.test-short-suiterepository-health-checksif: always()
statements make all independent tests run, even if one fails.test-lint-shellcheck, test-lint-changelog, test-lint-lockfile, test-deps-audit, test-yarn-dedupe, test-deps-depcheck, validate-lavamoat-allow-scripts
Prerequisites to merging this PR
Depends on feat: GitHub-hosted runners for benchmarks #29955MERGEDMerge thisMERGEDcaching
branch ofgithub-tools
: ci: new checkout-and-setup to support prep-deps and caching github-tools#42Changecheckout-and-setup@caching
andcheckout-and-setup-secure@caching
to new@hash
Related issues
Split off from: #29955