Skip to content

feat(local): Add daemon-managed telemetry sessions - #1578

Draft
MathurAditya724 wants to merge 8 commits into
mainfrom
codex/local-control-plane
Draft

feat(local): Add daemon-managed telemetry sessions#1578
MathurAditya724 wants to merge 8 commits into
mainfrom
codex/local-control-plane

Conversation

@MathurAditya724

Copy link
Copy Markdown
Member

Summary

  • Add a loopback-only Local daemon with protected discovery state and scoped session capabilities.
  • Add session, event, envelope, and daemon CLI management commands with three-hour in-memory retention.
  • Let local run --session and local serve --session inject scoped ingest URLs and retain telemetry after the foreground lease ends.

Validation

  • pnpm --filter sentry exec tsc --noEmit
  • SENTRY_CLI_NO_TELEMETRY=1 pnpm --filter sentry exec vitest run test/commands/local/session-store.test.ts test/commands/local/control-plane.test.ts test/commands/local/daemon-state.test.ts
  • pnpm --filter sentry exec biome check --no-errors-on-unmatched --error-on-warnings src/commands/local test/commands/local
  • Real CLI check: daemon start, session create/list/close using a temporary config directory.

Add a loopback control plane with scoped ingest and stream capabilities, retained session queries, and daemon lifecycle management.
@vercel

vercel Bot commented Sep 13, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated
cli Ready Ready Preview Sep 13, 2026 1:52pm UTC
1 Skipped Deployment
Project Deployment Actions Updated
sentry-local Skipped Skipped Sep 13, 2026 1:52pm UTC

Request Review

Accept scoped loopback stream URLs in the Local UI while rejecting control-plane binds outside loopback.
Allow agents to safely retry session creation with a client-provided idempotency key.
Expose compact decoded event summaries and resolve event detail by the SDK event identifier.
Expose session creation idempotency to the CLI, release expired keys, and permit loopback browser preflight.
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