Repository navigation
fix(analytics): send $lib_version on events - #114
Open
rahul-mixpanel wants to merge 1 commit into
Open
rahul-mixpanel wants to merge 1 commit into
rahul-mixpanel wants to merge 1 commit into
Conversation
Events and imports sent mp_lib but not the SDK version, so Java traffic couldn't be broken down by release. Add $lib_version from VersionUtil.getVersion() next to mp_lib, without overwriting a value the caller set. Maven already fills the version from the pom, so the release flow needs no change. Also send mp_lib=jdk on local flag definition requests, matching remote flags and events, which already send jdk. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Confidence Score: 5/5
[Medium impact] This PR appears safe to merge. Reviews (1) · Last reviewed commit: "fix(analytics): send $lib_version on eve..." · Reviewed by Greptile |
rahul-mixpanel
marked this pull request as ready for review
December 3, 2026 06:50
This branch has not been deployed
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.
Java events and imports sent
mp_libbut not$lib_version, only flag requests had the version. Linear: SDK-501.MessageBuilderadds$lib_versionfromVersionUtil.getVersion()next tomp_lib, and keeps the caller's value if they set one. Same as python/ruby.mixpanel-version.properties, so no release workflow change needed.mp_lib=javawhile remote flags and events sendjdk. Changed local tojdktoo. I checked the flags service, it only looks atmp_libfor python, so nothing keys onjava.mvn testpasses.🤖 Generated with Claude Code