Skip to content

Add PostHog web server logs#126

Merged
willwearing merged 1 commit into
mainfrom
codex/posthog-logs
May 5, 2026
Merged

Add PostHog web server logs#126
willwearing merged 1 commit into
mainfrom
codex/posthog-logs

Conversation

@willwearing
Copy link
Copy Markdown
Owner

Summary

  • Route Next.js server logs through PostHog's OTel logs endpoint
  • Avoid using the browser-only /ingest proxy for server-side PostHog calls
  • Log auth callback and confirmation failures with after-response flushing

Tests

  • /Users/will/.bun/bin/bun x vitest run src/tests/lib/posthog-server-config.test.ts
  • /Users/will/.bun/bin/bun x tsc --noEmit
  • /Users/will/.bun/bin/bun run lint
  • /Users/will/.bun/bin/bun run build
  • /Users/will/.bun/bin/bun x vitest run

@vercel
Copy link
Copy Markdown

vercel Bot commented May 5, 2026

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

Project Deployment Actions Updated (UTC)
graspful Ready Ready Preview, Comment May 5, 2026 5:26pm

@willwearing willwearing merged commit 4bfc1ac into main May 5, 2026
5 checks passed
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