Repository navigation
Conversation
size-limit report 📦
|
Session Replay Browser E2E ResultsDetails
|
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Introduce the first independently mergeable amp-semantic increment: opt-in
amp-semantic/contextandamp-semantic/visibilityevents in the existing rrweb stream. Context is emitted after accepted full snapshots; visibility reports deduplicated hidden/visible transitions. Capture is disabled by default and supports local/remote family controls, additional sampling, per-session caps, and tab/document identity.The package has separate context and visibility recorders behind an injectable host/runtime boundary. Session Replay and its analytics plugin supply configuration and transport. This increment adds no DOM observer, click hook, navigation observer, or semantic lifecycle events. Dialog/notice and the remaining families remain in #2082 for subsequent increments.
Include a two-family wire schema, documentation, a local-only replay fixture, and unit/browser tests. No prerelease version history or unrelated changes from #2082 are included.
Validation
pnpm test --concurrency=2: 4,831 tests / 269 suites passed across 32 projects. The initial default-concurrency run hit two timing assertions in unchanged Autocapture long-task tests; the isolated file and reduced-concurrency full run passed.pnpm test:examplescannot start because its configuredjest.setup.examples.jsis absent from main. This PR does not alter the example-test setup.Checklist