Repository navigation
[1.2] Telemetry: every PostHog event says its environment (debug, testflight or appstore) - #1264
Merged
Merged
Conversation
…t or appstore) (#1263) * Telemetry: every PostHog event says its environment (debug, testflight or appstore) PostHogSink now takes the same environment name SentrySink gets and puts it on every usage event as `environment`, so App Store events can be told from TestFlight and Debug ones. ADR 0007 and the privacy page list it. Assisted-by: Claude Code * Website: page dates for the privacy page change Assisted-by: Claude Code * Telemetry: test the app's PostHogSink init, for codecov/patch Assisted-by: Claude Code (cherry picked from commit c6e6058)
Codecov Report❌ Patch coverage is
📢 Thoughts on this report? Let us know! |
Skeyelab
added a commit
that referenced
this pull request
Nov 24, 2026
Skeyelab
added a commit
that referenced
this pull request
Nov 24, 2026
Skeyelab
added a commit
that referenced
this pull request
Nov 24, 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.
Cherry-pick of #1263 (squash commit c6e6058) onto
release/1.2, so the next 1.2 patch build's usage events say which build sent them. App Store 1.2.14's events mix with TestFlight 1.2.14's in PostHog today.PostHogSinktakes the environment nameSentrySinkalready gets (debug,testflightorappstore) and puts it on every usage event asenvironment. ADR 0007 and the privacy page list it. No new data type, soPrivacyInfo.xcprivacyand the App Store label don't change.The cherry-pick applied cleanly. On this branch
VERIFY_QUICK=1 ./scripts/verify.shpassed (spelling, vocabulary, package tests, site); CI runs the app builds. Red and green runs are in #1263: red was a compile error (extra argument 'environment' in call), green was all TelemetrySinksTests passing.Checked by tests only, not on a device. No tag.
Assisted-by: Claude Code