Skip to content

Prototype browser lifecycle telemetry with optional console diagnostics - #393

Draft
btthomas wants to merge 6 commits into
mainfrom
blake.thomas/ffl-3068-extend-flagevaluation
Draft

btthomas wants to merge 6 commits into
mainfrom
blake.thomas/ffl-3068-extend-flagevaluation

Conversation

@btthomas

@btthomas btthomas commented Sep 21, 2026 •

Copy link
Copy Markdown
Contributor

Motivation

Prototype browser onboarding telemetry without requiring RUM.

Changes

Emit six bounded lifecycle events using type: "sdk_diagnostic" as the schema discriminator. Success and failure share this schema; diagnostic.event_type and error_code distinguish them. Telemetry remains independent of debugMode, which controls console logging only. Preserve once-per-transition emission and identity/environment validation. Updated harness and documentation. AI-assisted implementation.

Test instructions

309 browser unit tests, typecheck, and 8 Chromium smoke tests pass after the rename, including failed uploads with debugMode off/on. Live staging delivery remains unverified.

Checklist

  • Updated Documentation
  • Tested locally
  • Tested on staging
  • Added unit tests for this change.
  • Added e2e/integration tests for this change.

@btthomas btthomas changed the title Prototype opt-in browser lifecycle diagnostics Prototype browser lifecycle telemetry with optional console diagnostics Sep 23, 2026

This branch has not been deployed

No deployments
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.

1 participant