parallelize CI: split android runner into lint, jvm-tests, and android-tests#527
Open
wow-miley wants to merge 2 commits into
Open
parallelize CI: split android runner into lint, jvm-tests, and android-tests#527wow-miley wants to merge 2 commits into
wow-miley wants to merge 2 commits into
Conversation
…ts jobs Previously ktlint ran sequentially before all JVM + Android tests in a single job, causing 15+ minute CI times. This splits the work into four parallel jobs (lint, jvm-tests, android-tests, ios-tests) so total CI time is bounded by the slowest individual job. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
Concept staleness check — clean. No tracked-source changes need a concept update. |
…ests 84 delay() calls across 17 test files were executing as real wall-clock time inside runBlocking, contributing to 10+ minute JVM test runs. This converts them to runTest with virtual time so delays complete instantly. Files with a class-level TestScope use runTest(scope.testScheduler) to share the scheduler with the event bus scope; files with independent coroutine scopes use runTest(UnconfinedTestDispatcher()). Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
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.
The single
jvm-testsjob was running ktlint sequentially before all JVM + Android tests, causing 15+ minute CI times vs ~6 minutes for iOS. This splits that job into three parallel runners (lint,jvm-tests,android-tests) alongside the existingios-testsrunner.Total CI time is now bounded by the slowest individual job rather than the sum of sequential steps, expected to drop from 15+ min to ~6-8 min.
🤖 Generated with Claude Code