Skip to content

Instrument Swift checkout failures - #675

Open
tiagocandido wants to merge 1 commit into
telemetry/metrics-foundationfrom
telemetry/swift-integration
Open

Instrument Swift checkout failures#675
tiagocandido wants to merge 1 commit into
telemetry/metrics-foundationfrom
telemetry/swift-integration

Conversation

@tiagocandido

@tiagocandido tiagocandido commented Aug 18, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Record Swift checkout errors, protocol decoding failures, navigation retry outcomes, and monotonic navigation duration
  • Add a default-on telemetry setting with an explicit runtime opt-out that discards buffered measurements
  • Prevent duplicate HTTP/navigation error metrics and align retry funnel semantics (started, failed, not_attempted)
  • Route the product attribute per entry point (accelerated_checkouts vs checkout_kit) and report react-native-swift as the platform when embedded in React Native
  • Lazily initialize the recorder and keep production transport out of unit tests
  • Guard recorder creation against a concurrent runtime opt-out
  • Document the bounded diagnostic data and explicit opt-out

Validation

  • Swift formatting
  • Full Swift unit test suite
  • Swift 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/metrics-foundation branch from 8c0ff67 to e36641b 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
@tiagocandido
tiagocandido force-pushed the telemetry/metrics-foundation branch from e36641b to ffd7c4d Compare August 24, 2026 11:17
@tiagocandido
tiagocandido force-pushed the telemetry/swift-integration branch from da2ae5b to 0611c9e Compare August 24, 2026 11:17

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.

@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
Swift Install with Tophat

Checkout Kit E2E results

Status Suite Target Platform OS version tag Device
swift-ios swift ios latest iPhone 15
iOS 27 Beta

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