Skip to content

refactor: persist telemetry through ServerTelemetryChannel - #980

Merged
albertospelta merged 1 commit into
mainfrom
refactor/telemetry
Oct 19, 2026
Merged

albertospelta merged 1 commit into
mainfrom
refactor/telemetry

Conversation

@albertospelta

Copy link
Copy Markdown
Member

TelemetryService sends through ServerTelemetryChannel with a local store under .cache.telemetry, so unsent telemetry survives the process, and waits for delivery when it is disposed. TelemetryConsent gives a configured policy precedence over the user preference; saving the options applies it, since the TelemetryEnabled setter no longer does.

Program flushes the process-wide instance before rethrowing a fatal exception and disposes it on a normal exit.

TelemetryService sends through ServerTelemetryChannel with a local store
under .cache\.telemetry, so unsent telemetry survives the process, and
waits for delivery when it is disposed. TelemetryConsent gives a
configured policy precedence over the user preference; saving the
options applies it, since the TelemetryEnabled setter no longer does.

Program flushes the process-wide instance before rethrowing a fatal
exception and disposes it on a normal exit.
@albertospelta
albertospelta merged commit 63a7c98 into main Oct 19, 2026
1 check passed
@albertospelta
albertospelta deleted the refactor/telemetry branch October 19, 2026 19:33
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