Skip to content

fix(analytics): record the first successful editor query again - #3886

Merged
datlechin merged 1 commit into
mainfrom
fix/first-query-marker
Oct 29, 2026
Merged

datlechin merged 1 commit into
mainfrom
fix/first-query-marker

Conversation

@datlechin

Copy link
Copy Markdown
Member

Summary

  • The heartbeat's first_query_executed_at has been nil on every Mac since c0a2206 removed its only caller, DatabaseManager.execute(query:).
  • A successful editor run now sets it again, from MainContentCoordinator.recordHistory: the place every editor run already reports to, and the same place m16/accounts reports first_query_executed to PostHog. Table browsing and failed runs leave it unset.
  • Monetization roadmap task R0.2 (tablepro-cloud 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

  • FirstQueryAnalyticsTests fails on main (the timestamp stays nil after a successful editor run) and passes here.

@datlechin
datlechin enabled auto-merge (squash) October 29, 2026 16:34
@datlechin
datlechin merged commit c43fab2 into main Oct 29, 2026
8 checks passed
@datlechin
datlechin deleted the fix/first-query-marker branch October 31, 2026 06:13
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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant