feat(tracking): namespace PostHog events with cli: prefix#465
Merged
Conversation
Apply a "cli:" prefix to event names sent to PostHog only, so CLI events are distinct from other surfaces (app:/hub:/registry:) in the shared project. Mixpanel keeps the bare legacy names for stream continuity. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Pro Run ID: 📒 Files selected for processing (2)
📝 WalkthroughWalkthroughPostHog event names are now prefixed with ChangesPostHog Event Prefixing
Possibly related PRs
🚥 Pre-merge checks | ✅ 2✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
✨ Simplify code
Comment |
Codecov Report✅ All modified and coverable lines are covered by tests. @@ Coverage Diff @@
## main #465 +/- ##
=======================================
Coverage 83.25% 83.25%
=======================================
Files 45 45
Lines 6801 6802 +1
=======================================
+ Hits 5662 5663 +1
Misses 1139 1139
🚀 New features to boost your workflow:
|
bigcat88
approved these changes
May 29, 2026
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.
Applies a
cli:prefix to event names sent to PostHog only, so CLI events stay distinct from other surfaces (app:/hub:/registry:) in the shared project. Mixpanel continues to receive the bare legacy event names, preserving continuity for its existing streams.