Skip to content

Disable session replay on docs surfaces#717

Merged
juandolealt merged 2 commits into
mainfrom
agent/disable-docs-session-replay
Jul 17, 2026
Merged

Disable session replay on docs surfaces#717
juandolealt merged 2 commits into
mainfrom
agent/disable-docs-session-replay

Conversation

@juandolealt

Copy link
Copy Markdown
Member

Summary

  • Disable PostHog session replay for the shared docs and developers initializer.
  • Keep a fail-closed privacy configuration that masks all text and inputs if replay is enabled accidentally.
  • Disable replay network timing, headers, bodies, console logs, canvas, and font capture.
  • Add focused regression tests for the replay privacy contract.

Validation

  • CI=true pnpm exec vitest run src/lib/posthog-privacy.test.ts (2 tests passed)
  • pnpm run check:types
  • Biome check on touched files
  • git diff --check

Note

PR #676 also edits PostHogSetup.tsx. If it lands later, preserve this replay-disabled configuration during conflict resolution.

@vercel

vercel Bot commented Jul 17, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
tempo-docs Ready Ready Preview, Comment Jul 17, 2026 7:28pm

Request Review

@juandolealt
juandolealt marked this pull request as ready for review July 17, 2026 19:24
@juandolealt
juandolealt merged commit f3b2ae2 into main Jul 17, 2026
11 checks passed
@juandolealt
juandolealt deleted the agent/disable-docs-session-replay branch July 17, 2026 19:32
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