Repository navigation
build(samples): [Sample Tests 47] Move the Android integration tests to their own build - #6393
Draft
runningcode wants to merge 1 commit into
Draft
runningcode wants to merge 1 commit into
runningcode wants to merge 1 commit into
Conversation
This was referenced Oct 27, 2026
Draft
📲 Install BuildsAndroid
|
runningcode
force-pushed
the
no/android-sample-own-build
branch
from
October 27, 2026 14:33
f28da1f to
63b12f6
Compare
runningcode
force-pushed
the
no/android-integration-tests-own-build
branch
from
October 27, 2026 14:33
04f1683 to
7771435
Compare
sentry-uitest-android, sentry-uitest-android-critical and test-app-size are now a standalone Gradle build that includes the SDK build, like the Android sample. They depend on io.sentry:* coordinates, which Gradle substitutes with the SDK's projects, including the unpublished sentry-test-support. The SDK build doesn't include them back, so SAGP, errorprone's uitest checks and their AndroidX test dependencies no longer load in the SDK build. AGP stays shared: a composite build can only use one AGP version, so the AGP matrix job's VERSION_AGP still applies to both builds. Root check and spotlessApply no longer reach these apps, so preMerge runs this build's check, which covers what the root check ran for them: lint, detekt and spotless. The format workflow runs its spotlessApply, and the AGP matrix, UI test and size workflows call it with -p. APK paths don't change. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
runningcode
force-pushed
the
no/android-sample-own-build
branch
from
October 27, 2026 15:08
63b12f6 to
e4a9b5a
Compare
runningcode
force-pushed
the
no/android-integration-tests-own-build
branch
from
October 27, 2026 15:08
7771435 to
76332ce
Compare
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.
PR Stack (Sample Tests)
main)📜 Description
sentry-uitest-android,sentry-uitest-android-criticalandtest-app-sizeare now a standalone Gradle build insentry-android-integration-teststhat includes the SDK build, like the Android sample. They depend onio.sentry:*coordinates, which Gradle substitutes with the SDK's projects, including the unpublishedsentry-test-support. The SDK build doesn't include them back, so SAGP, the uitests' AndroidX test dependencies and their errorprone setup no longer load in it.Run it with
./gradlew -p sentry-android-integration-tests <task>.build.gradle.ktsloads AGP, Kotlin, errorprone, detekt and SAGP once for all three apps.subprojectsblock.VERSION_AGPapplies to both builds.make preMergeruns this build'scheck, which covers what the rootcheckran for these apps: lint for all three, detekt and spotless.-p.💡 Motivation and Context
Part of the Linear project "Separate sample projects and tests from build." (JAVA-626): untie the SDK build from the versions used to test.
💚 How did you test it?
:sentry-uitest-android:assembleRelease,:sentry-uitest-android:assembleAndroidTest,:sentry-uitest-android-critical:assembleReleaseand:test-app-size:bundleReleasesucceed. The outputs land at the paths the workflows and Sauce config use.checkpasses and runslintReleasefor all three apps,detektand spotless. With the lint version pin in this build'sgradle.properties, uitest-android's lint (warningsAsErrors) failed onGradleDependency. The old layout passes because lint readgradle.propertiesfrom the module's parent directory, which had none.VERSION_AGP=9.2.1,:sentry-uitest-android:assembleReleasesucceeds, so both builds use the same AGP.SENTRY_AUTH_TOKEN.📝 Checklist
sendDefaultPIIis enabled.🔮 Next steps
#6394 moves the JVM samples to their own build.
#skip-changelog
🤖 Generated with Claude Code