Repository navigation
build(samples): [Sample Tests 46] Move the Android integration tests to their own build - #6393
Merged
runningcode merged 8 commits intoNov 6, 2026
Conversation
This was referenced Oct 27, 2026
Merged
📲 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
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
runningcode
force-pushed
the
no/android-sample-own-build
branch
from
October 28, 2026 10:09
e4a9b5a to
c44fa03
Compare
runningcode
force-pushed
the
no/android-integration-tests-own-build
branch
from
October 28, 2026 10:09
76332ce to
77bdde5
Compare
runningcode
force-pushed
the
no/android-sample-own-build
branch
from
October 28, 2026 10:38
c44fa03 to
b454372
Compare
runningcode
force-pushed
the
no/android-integration-tests-own-build
branch
from
October 28, 2026 10:38
77bdde5 to
12d5c7c
Compare
runningcode
force-pushed
the
no/android-integration-tests-own-build
branch
from
October 28, 2026 16:32
12d5c7c to
0ec48f1
Compare
runningcode
force-pushed
the
no/android-sample-own-build
branch
from
October 28, 2026 16:32
b454372 to
0da6737
Compare
This was referenced Nov 2, 2026
runningcode
force-pushed
the
no/android-sample-own-build
branch
from
November 5, 2026 16:06
1992d3b to
d5f25ea
Compare
runningcode
force-pushed
the
no/android-integration-tests-own-build
branch
3 times, most recently
from
November 5, 2026 17:16
ebe1d63 to
356db6c
Compare
runningcode
marked this pull request as ready for review
November 5, 2026 17:21
runningcode
force-pushed
the
no/android-integration-tests-own-build
branch
from
November 5, 2026 17:32
356db6c to
9d8ac7b
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>
…workflow Adds the integration tests build to the Samples workflow's matrix instead of a `make preMerge` target. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
With the Android sample and integration tests in their own builds, no project in the SDK build applies the Sentry Android Gradle Plugin. The root no longer declares it or looks it up in mavenLocal when useSagp is set; those builds declare it and handle useSagp themselves. The root keeps the AGP declaration: the SDK's Android modules apply com.android.library without a version and get AGP from it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…uild's gradle.properties, gradlew, gradle/wrapper and gradle/gradle-daemon-jvm.properties are now symlinks to the SDK build's files, as in the Android sample. The copied gradle.properties had drifted from the root one (-Xmx6g and CrashOnOutOfMemoryError), and the build had no wrapper or daemon JDK pin. The SDK version now comes from the shared versionName property instead of parsing the root file. The root drops android.experimental.lint.version. It equals the lint bundled with AGP 9.4.0, so it changes nothing for the SDK build, and sentry-uitest-android's warningsAsErrors fails on it once the integration tests share the root gradle.properties. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Adding or removing a project then changes only its own line. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… versions current The integration tests' settings use the root build's Develocity plugin version, and Dependabot also scans their build, as it does the Android sample's. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ettings Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
runningcode
force-pushed
the
no/android-integration-tests-own-build
branch
from
November 5, 2026 17:35
9d8ac7b to
27ec18e
Compare
romtsn
approved these changes
Nov 6, 2026
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
Here's a diagram of what this build pulls out made by my clanker:
So basically
sentry-uitest-android,sentry-uitest-android-criticalandtest-app-sizeare now standalone Gradle builds insentry-android-integration-tests. They depend onio.sentry:*, which Gradle substitutes with the SDK's projects, including the unpublishedsentry-test-support.💡 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?
Tests pass
📝 Checklist
sendDefaultPIIis enabled.🔮 Next steps
#6394 moves the JVM samples to their own build.
#skip-changelog
🤖 Generated with Claude Code