Skip to content

try to run replay tests on gh emulators#5503

Draft
romtsn wants to merge 3 commits into
mainfrom
rz/fix/compose-masking-obfuscated-builds
Draft

try to run replay tests on gh emulators#5503
romtsn wants to merge 3 commits into
mainfrom
rz/fix/compose-masking-obfuscated-builds

Conversation

@romtsn
Copy link
Copy Markdown
Member

@romtsn romtsn commented Jun 5, 2026

📜 Description

💡 Motivation and Context

💚 How did you test it?

📝 Checklist

  • I added GH Issue ID & Linear ID
  • I added tests to verify the changes.
  • No new PII added or SDK only sends newly added PII if sendDefaultPII is enabled.
  • I updated the docs if needed.
  • I updated the wizard if needed.
  • Review from the native team if needed.
  • No breaking change or entry added to the changelog.
  • No breaking change for hybrid SDKs or communicated to hybrid SDKs.

🔮 Next steps

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Jun 5, 2026

Fails
🚫 Please consider adding a changelog entry for the next release.

Instructions and example for changelog

Please add an entry to CHANGELOG.md to the "Unreleased" section. Make sure the entry includes this PR's number.

Example:

## Unreleased

### Features

- try to run replay tests on gh emulators ([#5503](https://github.com/getsentry/sentry-java/pull/5503))

If none of the above apply, you can opt out of this check by adding #skip-changelog to the PR description or adding a skip-changelog label.

Generated by 🚫 dangerJS against b8d52cb

@sentry
Copy link
Copy Markdown

sentry Bot commented Jun 5, 2026

📲 Install Builds

Android

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

⚙️ sentry-android Build Distribution Settings

@romtsn romtsn closed this Jun 5, 2026
@romtsn romtsn reopened this Jun 5, 2026
@romtsn romtsn force-pushed the rz/fix/compose-masking-obfuscated-builds branch from f6cc430 to f48172d Compare June 5, 2026 14:23
Add an internal SentryReplayDebug.failFast switch (gated on the
io.sentry.replay.compose.fail-fast system property) that re-throws the
exceptions ComposeViewHierarchyNode normally swallows in fromComposeNode
and fromView. Enabled in the sentry-samples-android app so our
release/obfuscated builds running on real devices in CI crash instead of
silently degrading masking. Defaults off, so customers are unaffected.

Also guard the on-device ReplayTest against GitHub-hosted emulators,
which can't capture screenshots reliably.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@romtsn romtsn force-pushed the rz/fix/compose-masking-obfuscated-builds branch from f48172d to b8d52cb Compare June 5, 2026 14:24
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Jun 5, 2026

Performance metrics 🚀

  Plain With Sentry Diff
Startup time 313.04 ms 363.51 ms 50.47 ms
Size 0 B 0 B 0 B

Baseline results on branch: main

Startup times

Revision Plain With Sentry Diff
62b579c 349.26 ms 426.26 ms 77.00 ms
d501a7e 348.06 ms 431.42 ms 83.36 ms
cf708bd 434.73 ms 502.96 ms 68.22 ms
2195398 351.77 ms 433.22 ms 81.45 ms
cf708bd 408.35 ms 458.98 ms 50.63 ms
e2dce0b 308.96 ms 360.10 ms 51.14 ms
5dee26b 336.02 ms 402.62 ms 66.60 ms
4c04bb8 333.16 ms 408.16 ms 75.00 ms
a1eadfa 345.67 ms 411.26 ms 65.59 ms
5b1a06b 352.27 ms 413.70 ms 61.43 ms

App size

Revision Plain With Sentry Diff
62b579c 0 B 0 B 0 B
d501a7e 0 B 0 B 0 B
cf708bd 1.58 MiB 2.11 MiB 539.71 KiB
2195398 0 B 0 B 0 B
cf708bd 1.58 MiB 2.11 MiB 539.71 KiB
e2dce0b 0 B 0 B 0 B
5dee26b 0 B 0 B 0 B
4c04bb8 0 B 0 B 0 B
a1eadfa 0 B 0 B 0 B
5b1a06b 0 B 0 B 0 B

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants