feat(local): Add daemon-managed telemetry sessions - #1578
Draft
MathurAditya724 wants to merge 8 commits into
Draft
feat(local): Add daemon-managed telemetry sessions#1578MathurAditya724 wants to merge 8 commits into
MathurAditya724 wants to merge 8 commits into
Conversation
Add a loopback control plane with scoped ingest and stream capabilities, retained session queries, and daemon lifecycle management.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
1 Skipped Deployment
|
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.
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
local run --sessionandlocal serve --sessioninject scoped ingest URLs and retain telemetry after the foreground lease ends.Validation
pnpm --filter sentry exec tsc --noEmitSENTRY_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.tspnpm --filter sentry exec biome check --no-errors-on-unmatched --error-on-warnings src/commands/local test/commands/local