Repository navigation
perf(repo): halve the CI pipeline's run time - #945
Draft
MarquesCoding wants to merge 4 commits into
Draft
MarquesCoding wants to merge 4 commits into
MarquesCoding wants to merge 4 commits into
Conversation
…the slow runners Change detection clones history without file contents. Test jobs no longer wait on a build job: each restores the newest turbo cache and builds only what changed, and the lint and typecheck job saves this commit's builds for later runs. The small packages run on two runners and the phone tests in two shards. The metrics image keeps its build cache in the registry, out of the Actions cache the CI's dependencies need. Refs #944
|
Important Draft PR not reviewedDraft PRs are not automatically reviewed by default.
To automatically review draft PRs, update your CodeRabbit configuration: reviews:
auto_review:
drafts: true
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
user-event waits a tick between every key by default, and the suites that type the most spent seconds a test on it: the setup wizard over a second and a half for each. Typing with no delay sends the same events in the same order. Refs #944
… on threads, and free two runners The phone's and the television's tests spend most of their time on Babel compiling React Native, so a second phone shard compiled it all again. Jest's cache is kept per lockfile instead, and the phone goes back to one shard. The screens, client and ui suites run on worker threads rather than a process per file. Each app's native config is generated for both platforms on one runner, which keeps a full run inside the twenty jobs GitHub runs at once. Refs #944
…t's pause Without a pause between events, the release search was clicked before the quality profiles had loaded, and the people step was asked whether it had finished before its handler had. Refs #944
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #944.
What this changes
Pipeline
filter: blob:none). It needs only the trees to see which files changed. The full clone took 39s of its 49s.Tests (in later commits on this branch)
Why
A full run took ~8 minutes (run 47388755876). See #944 for where the time went.
How it was tested
CI on this pull request. Each commit's run is compared against the 8-minute baseline.