Skip to content

Instrument Android checkout failures - #676

Open
tiagocandido wants to merge 1 commit into
telemetry/swift-integrationfrom
telemetry/android-integration
Open

Instrument Android checkout failures#676
tiagocandido wants to merge 1 commit into
telemetry/swift-integrationfrom
telemetry/android-integration

Conversation

@tiagocandido

@tiagocandido tiagocandido commented Aug 18, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Record Android checkout errors, protocol decoding failures, paired navigation retry outcomes, and navigation duration
  • Add a default-on telemetry setting with an explicit runtime opt-out that discards buffered measurements
  • Lazily and failure-safely initialize telemetry, avoiding threads and wake-ups on the disabled path, and guard recorder creation against a concurrent runtime opt-out
  • Report react-native-android as the platform when embedded in React Native, android otherwise
  • Keep retry reasons paired across attempts and preserve preload attribution captured at navigation start
  • Match the cross-platform decode taxonomy: envelope decode failures record envelope and params decode failures record params
  • Document the bounded diagnostic data and explicit opt-out

Validation

  • Android unit tests
  • Detekt
  • Android API dump and API compatibility checks

@github-actions github-actions Bot added the #gsd:50662 Rebase Checkout Kit on UCP label Aug 18, 2026
@tiagocandido
tiagocandido force-pushed the telemetry/android-integration branch from c4a1ff0 to f8749f0 Compare August 19, 2026 13:02
@tiagocandido
tiagocandido force-pushed the telemetry/swift-integration branch from 0bdb099 to da2ae5b Compare August 19, 2026 13:02

Copy link
Copy Markdown
Contributor Author

Warning

This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

This stack of pull requests is managed by Graphite. Learn more about stacking.

@github-actions

Copy link
Copy Markdown

Package Size

Platform Artifact Base Head Delta
Android release AAR 349.8 KiB 362.2 KiB +12.4 KiB
Android file breakdown
File Base Head Delta
classes.jar 372.3 KiB 385.4 KiB +13.2 KiB
res/layout/checkout_view_content.xml 2.6 KiB 2.6 KiB 0 B
res/layout/checkout_sheet_content.xml 2.0 KiB 2.0 KiB 0 B
res/values/values.xml 1.3 KiB 1.3 KiB 0 B
R.txt 1.2 KiB 1.2 KiB 0 B
AndroidManifest.xml 922 B 922 B 0 B
proguard.txt 798 B 798 B 0 B
res/drawable/close.xml 431 B 431 B 0 B
res/menu/checkout_menu.xml 354 B 354 B 0 B
META-INF/com/android/build/gradle/aar-metadata.properties 157 B 157 B 0 B

Measured from the PR base SHA and PR head SHA. The file breakdown shows uncompressed sizes within each package artifact, so individual files do not sum to the compressed artifact total. This comment reports package artifact sizes only; it is not a final app binary-size report.

@bitrise

bitrise Bot commented Aug 25, 2026

Copy link
Copy Markdown

Install this build

Open Tophat, select your target device, then click Install. Links open on the Mac running Tophat.

SDK Install
Kotlin Install with Tophat

Checkout Kit E2E results

Status Suite Target Platform OS version tag Device
kotlin-android kotlin android latest Google Pixel 11
Android 17.0

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

Labels

#gsd:50662 Rebase Checkout Kit on UCP

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant