Repository navigation
fix(analytics): record the first successful editor query again - #3886
Merged
Merged
Conversation
datlechin
enabled auto-merge (squash)
October 29, 2026 16:34
datlechin
added a commit
that referenced
this pull request
Oct 30, 2026
datlechin
added a commit
that referenced
this pull request
Oct 31, 2026
Brings main's 46 commits, among them the license ask (#3922), the first-query mark (#3886) and the trademark policy (#3887). - AppDelegate: the ask starts after the Team Library sync; main's periodic license validation stays out, since accounts replace it. - MainContentCoordinator+History: Telemetry.queryExecuted() stays; the heartbeat marker #3886 restored is gone with MacAnalyticsProvider. - SupportLinks: the referrer moved to Core/Services on this branch; the ask's case (app-ask) joins it there. - SupportAskCoordinator.shared reads FeatureAccess for the license. - FirstQueryAnalyticsTests checks Telemetry's first-query mark. - Localizable.xcstrings: merged key by key; no key changed on both sides.
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.
Summary
first_query_executed_athas been nil on every Mac since c0a2206 removed its only caller,DatabaseManager.execute(query:).MainContentCoordinator.recordHistory: the place every editor run already reports to, and the same placem16/accountsreportsfirst_query_executedto PostHog. Table browsing and failed runs leave it unset.docs/monetization-roadmap.md). The AI fields of the closed feat(analytics): report AI provider kinds and the last AI chat in the usage report #3853 are not part of this.Test plan
FirstQueryAnalyticsTestsfails on main (the timestamp stays nil after a successful editor run) and passes here.