Skip to content

[codex] Dogfood browser runtime telemetry in canonical demo#348

Merged
blove merged 1 commit into
mainfrom
codex/browser-telemetry-demo-dogfood
May 16, 2026
Merged

[codex] Dogfood browser runtime telemetry in canonical demo#348
blove merged 1 commit into
mainfrom
codex/browser-telemetry-demo-dogfood

Conversation

@blove
Copy link
Copy Markdown
Contributor

@blove blove commented May 16, 2026

Summary

  • Adds vendor-neutral browser telemetry delivery via sink or endpoint, keeping PostHog-specific browser config as legacy compatibility.
  • Adds browser runtime lifecycle helpers for runtime creation and stream start/end/error events with sampling and message-free error metadata.
  • Dogfoods the browser telemetry in the canonical Angular demo through /api/ingest, with the demo proxy adding the Cacheplane ingest key server-side before forwarding to the website ingest route.
  • Updates telemetry docs, taxonomy, and workspace path aliases for @ngaf/telemetry/*.

Validation

  • PATH="/Users/blove/.nvm/versions/node/v22.14.0/bin:$PATH" NX_DAEMON=false npx nx test telemetry --skip-nx-cache --runInBand
  • PATH="/Users/blove/.nvm/versions/node/v22.14.0/bin:$PATH" NX_DAEMON=false npx nx test examples-chat-angular --skip-nx-cache --runInBand
  • PATH="/Users/blove/.nvm/versions/node/v22.14.0/bin:$PATH" npx vitest run scripts/langgraph-proxy.spec.ts
  • PATH="/Users/blove/.nvm/versions/node/v22.14.0/bin:$PATH" NX_DAEMON=false npx nx build telemetry --skip-nx-cache
  • PATH="/Users/blove/.nvm/versions/node/v22.14.0/bin:$PATH" NX_DAEMON=false npx nx build examples-chat-angular --configuration=production --skip-nx-cache
  • PATH="/Users/blove/.nvm/versions/node/v22.14.0/bin:$PATH" NX_DAEMON=false npx nx lint telemetry --skip-nx-cache (passes with existing warnings in libs/telemetry/src/node/postinstall.spec.ts)
  • PATH="/Users/blove/.nvm/versions/node/v22.14.0/bin:$PATH" NX_DAEMON=false npx nx lint examples-chat-angular --skip-nx-cache
  • git diff --check

@vercel
Copy link
Copy Markdown

vercel Bot commented May 16, 2026

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

Project Deployment Actions Updated (UTC)
cacheplane Ready Ready Preview, Comment May 16, 2026 1:36am

Request Review

@blove blove merged commit 3b84481 into main May 16, 2026
16 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