Skip to content

ci(replay): Run Compose UI test matrix in a dedicated workflow - #6692

Closed
sentry-junior[bot] wants to merge 1 commit into
mainfrom
ci/replay-compose-ui-matrix-job
Closed

sentry-junior[bot] wants to merge 1 commit into
mainfrom
ci/replay-compose-ui-matrix-job

Conversation

@sentry-junior

@sentry-junior sentry-junior Bot commented Nov 20, 2026

Copy link
Copy Markdown
Contributor

📜 Description

Moves the sentry-android-replay Compose UI test matrix out of the Build job and into its own Replay Compose UI Matrix workflow.

  • The composeUi112 / composeUi113 build types are now created only when the composeUiTestMatrix Gradle property is set. Without it, check (and so make preMerge) no longer runs testComposeUi112UnitTest / testComposeUi113UnitTest.
  • New testComposeUiMatrix lifecycle task runs every version in composeUiTestVersions. The new workflow runs ./gradlew :sentry-android-replay:testComposeUiMatrix -PcomposeUiTestMatrix.

💡 Motivation and Context

#6626 added the build types, so AGP wires their Robolectric unit tests into test and therefore check. That added about 8 minutes of heavy tests to the Build job, and the job started getting killed from resource starvation on branches that include it (e.g. #6624). Test matrices shouldn't live on check.

🔮 Next steps

Double check Gradle heap sizes for the Build job.

#skip-changelog

via no.

--

View Session [Sentry]

Co-Authored-By: Nelson Osacky <nelson.osacky@sentry.io>
@github-actions github-actions Bot added the risk: medium PR risk score: medium label Nov 20, 2026
@github-actions

Copy link
Copy Markdown
Contributor

PR risk: medium

For commit 9402ab1.

The model rated this change low. It was raised to medium because:

  • R6: build or release configuration changed: .github/workflows/replay-compose-ui-matrix.yml, sentry-android-replay/build.gradle.kts
  • R7: the model was not confident enough that the change is low

This label is a hint for reviewers, not an approval.

@sentry

sentry Bot commented Nov 20, 2026

Copy link
Copy Markdown

📲 Install Builds

Android

🔗 App Name App ID Version Configuration
SDK Size io.sentry.tests.size 8.65.0 (1) release

⚙️ sentry-android Build Distribution Settings

@romtsn

romtsn commented Nov 20, 2026

Copy link
Copy Markdown
Contributor

closing in favour of #6638

@romtsn romtsn closed this Nov 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

risk: medium PR risk score: medium

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant