chore(tracker): remove PostHog telemetry entirely#161
Open
justrach wants to merge 1 commit into
Open
Conversation
PostHog was forge_tracker's only event collector and a tracing log sink, but the first-party trajectory uploader to data.codegraff.com is now the sole telemetry channel. Remove it end to end: - drop the posthog-rs dependency (and its async-compression / compression-codecs / compression-core transitives) from the workspace and forge_tracker - delete the PostHog collector (collect/posthog.rs) - remove the PostHogWriter log sink; logging now always uses the rolling daily file - drop the POSTHOG_API_SECRET const plus the CI and Cross secret env - remove the PostHog error variant forge_tracker::Tracker keeps its event API as a no-op (empty collector set) so existing call sites compile unchanged. Verified clean: 0 warnings under CI's -D warnings. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
|
Action required: PR inactive for 5 days. |
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.
What
Removes PostHog telemetry from graff entirely. The first-party trajectory uploader to
data.codegraff.com(forge_app::TrajectoryUploader) is now the sole telemetry channel; PostHog was vestigial.Changes
posthog-rsfrom the workspace andforge_tracker(also drops theasync-compression/compression-codecs/compression-coretransitives)collect/posthog.rs;Trackernow dispatches to an empty collector set — its event API is kept as a no-op so existing call sites compile unchangedPostHogWriter; logging always uses the rolling daily filePOSTHOG_API_SECRETconst, theCross.tomlpassthrough, and the CI release-build envPostHogerror variantforge_main/src/ui.rsupdated (drops the now-unusedtrackerarg frominit_tracing)Verification
cargo check -p forge_tracker -p forge_main -p forge_ci→ 0 warnings / 0 errors (clean under CI's-D warnings).The OTLP path (
forge_tracker/otel.rs) and thedata.codegraff.comtrajectory channel are untouched.🤖 Generated with Claude Code