-
Notifications
You must be signed in to change notification settings - Fork 14.3k
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
build: try to speed up Github workflows #11944
Conversation
190897c
to
f659c96
Compare
Codecov Report
@@ Coverage Diff @@
## master #11944 +/- ##
==========================================
- Coverage 66.60% 64.02% -2.59%
==========================================
Files 959 476 -483
Lines 47221 29386 -17835
Branches 4620 0 -4620
==========================================
- Hits 31452 18813 -12639
+ Misses 15642 10573 -5069
+ Partials 127 0 -127
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
49d82bc
to
fef6218
Compare
who can run this scripts and what branches can be cancelled? |
Only committers who have write access to this repo can cancel, but anyone can run this script to cancel actions on their own forks. |
fef6218
to
d0e7142
Compare
This one can cancel future runs
This PR now also adopts another action library to cancel previous (AND future) scheduled runs. Previously we didn't see #11940 do much probably because it only cancel previous runs, but for the cancellation script to run, the future scheduled job needs to start, but however they are blocked in the queue by previous runs... |
SUMMARY
CI has been slow recently. This PR is the latest effort in trying to mitigate:
Update the Cancel Previous Run job added in build: cancel previous github action runs #11940 to cancel future jobs as well.
Skip dependabot branches when possible (e.g. don't run Python jobs for npm updates).
Merge lighter actions (Prefer Typescript and License Check) into one workflow.
Add a script to allow committers to manually cancel CI jobs in queue. This is useful on a busy day when the CI pipeline got clogged by continuous new commits to open PRs. Users have to configure
GITHUB_TOKEN
in their env variables in order to use this.BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
N/A
TEST PLAN
Test locally and CI
ADDITIONAL INFORMATION