Repository navigation
Conversation
This was referenced Nov 10, 2026
📲 Install BuildsAndroid
|
Contributor
Author
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.
PR Stack (Robolectric CI)
📜 Description
Collection branch for the Robolectric CI speed-up stack. The stack PRs are merge-committed into this branch, and this branch is squash-merged into
mainat the end.💡 Motivation and Context
A follow-up to #6470. That PR split the Robolectric tests from the plain JVM tests, but the gain came mostly from
maxParallelForks. The plain JVM tests take only ~6% of thesentry-android-coreunit-test time.Local measurements showed two real costs:
~/.m2.setup-gradledoes not cache that directory, so CI downloads 100-200 MB per SDK level on each run.Custom
@Config(shadows = ...)sets do not make a new sandbox in Robolectric 4.15. Shadows ofandroid.*classes are removed from the instrumentation config, because those packages are already instrumented. Sharing the shadows gave no gain, so it is not part of this stack.💚 How did you test it?
See #6544 and #6545.
📝 Checklist
sendDefaultPIIis enabled.🔮 Next steps
Compare the CI test times of #6544 and #6545 with
main.🤖 Generated with Claude Code
#skip-changelog