Skip to content

Numbers: leave out Debug, local and Simulator usage; split App Store from TestFlight - #1269

Merged
Skeyelab merged 1 commit into
mainfrom
numbers-real-usage
Nov 24, 2026
Merged

Skeyelab merged 1 commit into
mainfrom
numbers-real-usage

Conversation

@Skeyelab

Copy link
Copy Markdown
Member

Agreed with cos: drop debug events entirely, keep App Store and TestFlight as separate rows, and show events from before 1.2.15 (no environment) as "unknown (before 1.2.15)".

  • APP_EVENTS in scripts/weekly_numbers.py is the one PostHog condition both the daily/weekly email and the numbers report use. It leaves out environment = debug (sent since Telemetry: every PostHog event says its environment (debug, testflight or appstore) #1263), version 0.1.0 (local builds) and the iOS Simulator ($os iOS/iPadOS with device model arm64 or x86_64). Real Macs also report arm64, so macOS isn't filtered on it.
  • Daily/weekly email: new "from App Store" / "from TestFlight" / "from unknown (before 1.2.15)" rows under Devices recording, shown only when a window has them.
  • Numbers report: the usage table gets a From column.

Why: on 2026-11-23, 11 iPad Simulator installs on 0.1.0 (16:15-16:29 ET) would have counted as about 9 devices recording in the next daily. Since launch, devices recording drops from 25 to 11 with the filter.

Checked: python3 -m unittest scripts/test_weekly_numbers.py scripts/test_numbers_report.py pass (new tests for the source split and the filter), and a live DAYS=1 run of weekly_numbers.py. VERIFY_QUICK=1 ./scripts/verify.sh can't run on this Linux machine (needs macOS lockf); CI covers it.

🤖 Generated with Claude Code

…from TestFlight

Usage events from 0.1.0 builds, iOS Simulators and (from 1.2.15) environment=debug
are dropped in one shared PostHog condition, and devices recording are counted per
source: App Store, TestFlight, or unknown (before 1.2.15).

Assisted-by: Claude Code:claude-opus-5-5
@Skeyelab
Skeyelab enabled auto-merge (squash) November 24, 2026 04:11
@codecov

codecov Bot commented Nov 24, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@Skeyelab
Skeyelab merged commit 73039e5 into main Nov 24, 2026
12 checks passed
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