Repository navigation
Conversation
This was referenced Nov 11, 2026
size-limit report 📦
|
Session Replay Browser E2E ResultsDetails
|
jxiwang
marked this pull request as ready for review
November 13, 2026 20:08
…on-events # Conflicts: # packages/amp-semantic/README.md
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 2 potential issues.
There are 3 total unresolved issues (including 1 from previous review).
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit c5507e6. Configure here.
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
amp-semantic/click,amp-semantic/field, andamp-semantic/submitwith accessible target descriptions, privacy-aware field values, validity, and stable rrweb node IDs.Stack
Base: #2152. Merge after #2128, #2150, #2151, and #2152.
Validation
pnpm --filter @amplitude/amp-semantic... buildpnpm --filter @amplitude/session-replay-browser... buildpnpm --filter @amplitude/amp-semantic test: 134 passed, 100% coveragepnpm --filter @amplitude/session-replay-browser test: 1,183 passed, 100% coveragepnpm --filter @amplitude/amp-semantic test:playwright: 11 passedpnpm lint,pnpm lint:deps,pnpm test:examplesThe full workspace build stalls in the unchanged Segment Session Replay Rollup step, and the full workspace test run has two existing
analytics-react-nativefailures. These are tracked on the earlier stack drafts.Linear: SRAI-57, SRAI-59, SRAI-60.
Note
Medium Risk
Adds user-interaction capture with privacy gates, but touches shared click hooks and form listeners in the replay path where masking or timing bugs could leak data or miss events.
Overview
Adds click, field, and submit semantic capture families to
@amplitude/amp-semantic, registers them as default recorders, and documents independent family toggles and higher per-session budgets (2k / 1k / 300).A new
interactionsRecorderand sharedhelperslayer build privacy-aware payloads: accessible targets, rrweb node IDs, masked or templated URLs, field state/validity without reading sensitive inputs, and submit summaries without callingcheckValidity(). JSON Schema, Playwright e2e, and the local semantic test harness are extended accordingly.Session Replay wires the host with
getNodeId, URL filtering, and selector lookup; native rrweb clicks are forwarded through acreateSharedHookonClickHandlerso heatmaps and semantics share one click path and cached finder results. Heatmap hooks can be initialized lazily when a session ID appears after init.Minor fix: optional
autocompleteaccess in dom-privacy policy.Reviewed by Cursor Bugbot for commit bbd1de8. Bugbot is set up for automated code reviews on this repo. Configure here.