Repository navigation
build(replay): Spike AGP test suites for Compose versions - #6639
Draft
runningcode wants to merge 1 commit into
Draft
runningcode wants to merge 1 commit into
runningcode wants to merge 1 commit into
Conversation
Not for merging. Runs the replay unit tests against Compose UI 1.12 and 1.13 as AGP 9.5 custom test suites instead of extra build types, to see what it takes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
Spike, do not merge. It checks whether AGP 9.5's incubating
testOptions.customSuitescan replace thecomposeUi112/composeUi113build types that run the Session Replay tests against other Compose UI versions.Result
It works locally. Both
testReleaseComposeUi112JvmTestSuiteandtestReleaseComposeUi113JvmTestSuiterun all 299 replay tests (1 skipped), withandroidx.compose.ui:uiresolved to 1.12.1 and 1.13.0-rc01. The regular unit tests stay on 1.9.5. The suites are hooked intocheckhere so that CI runs them.What it took
android.experimental.testSuiteSupport=true.android.builtInKotlin=trueandkotlin-androidis removed from every Android module.sentry-compose(KMP +com.android.library) is incompatible with built-in Kotlin. Its use insentry-android-coreandsentry-bomis commented out.compileOptions.targetCompatibility. Test code needs Java 11+ (Mockito 5), so the whole replay module, published code included, compiles at Java 21.src/testand extendtestImplementation.androidattributes onto the suite runtime classpath. Otherwise it resolves Compose's desktop/jvmstubs artifacts.android.jar.test_config.properties.Still missing
kotlin-android, the Android modules losecheckKotlinAbi/updateKotlinAbi, so their API dumps are no longer verified.🤖 Generated with Claude Code