Skip to content

Instrument web checkout failures - #678

Draft
tiagocandido wants to merge 1 commit into
telemetry/react-native-integrationfrom
telemetry/web-integration
Draft

Instrument web checkout failures#678
tiagocandido wants to merge 1 commit into
telemetry/react-native-integrationfrom
telemetry/web-integration

Conversation

@tiagocandido

Copy link
Copy Markdown
Contributor

Summary

  • Record Web checkout errors, protocol decoding failures, and navigation duration (Web has no navigation retry path)
  • Add a default-on telemetry setting with immediate runtime opt-out that discards buffered and active work
  • Scope the telemetry client to each connected element, shut it down on disconnect, and flush with keepalive on pagehide
  • Measure navigation from window.open, record only genuine success or terminal failure, and exclude dismissal/unmount paths
  • Treat every ec.error as terminal for the embedded session, matching the native SDKs: the checkout window now closes on any ec.error, not only unrecoverable severities
  • Keep unit tests on a stubbed telemetry transport so test runs can never post metrics
  • Document the bounded diagnostic data and explicit opt-out

Validation

  • Formatting, lint, and TypeScript checks
  • Web unit tests
  • Production package and declaration build

@github-actions github-actions Bot added the #gsd:50662 Rebase Checkout Kit on UCP label Aug 18, 2026
@tiagocandido
tiagocandido force-pushed the telemetry/react-native-integration branch from 31406fe to 4911668 Compare August 19, 2026 13:02
@tiagocandido
tiagocandido force-pushed the telemetry/web-integration branch from cd41848 to 3cf01f2 Compare August 19, 2026 13:02
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