feat(observe): version breakdown filters by platform and channel

Merged
RI
2mo ago
+559-148

Summary (AI generated)

  • Native observe version breakdown supports version, version_platform, and version_platform_channel grouping on /private/native_observe_stats and the native observe UI.
  • CI workflow fixes: push-only required test runs for feature branches (avoids cancelled pull_request shards polluting the check rollup), per-branch CLI integration concurrency, and should_run permission cleanup per CodeRabbit.

Demo (AI generated)

Native observe version breakdown with Version + platform + channel grouping

Captured from the real native observe page (/app/com.demo.app/observe/native) via local Vite + Playwright with a stubbed /private/native_observe_stats response. Version + platform + channel is selected; the table shows platform and channel columns with per-combo rows (e.g. 2.4.0 android production vs beta).

Motivation (AI generated)

PR #2950 needed merge-ready CI and CodeRabbit approval on HEAD. pull_request Run tests workflows were repeatedly cancelled mid-flight, leaving cancelled required checks that successful push shards did not supersede.

Business Impact (AI generated)

Unblocks merging native observe platform/channel version filters for customers analyzing native update adoption by platform and channel.

Test Plan (AI generated)

  • bunx vitest run tests/native-observe-stats.unit.test.ts tests/translation-queue.unit.test.ts
  • Required GitHub Actions checks green on HEAD 9f6563b26
  • CodeRabbit APPROVED on HEAD
  • gh mergeStateStatus CLEAN

Generated with AI

Open in Web Open in Cursor 

View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need. Autofix is disabled.

Summary by CodeRabbit

  • New Features

    • Added grouping options for native app version statistics by version, platform, or platform and channel.
    • Added an accessible selector for switching between grouping modes.
    • Updated version tables with platform and channel details, dynamic descriptions, and improved layouts.
  • Bug Fixes

    • Improved platform and channel metadata handling, including unknown channel values.
  • Documentation

    • Added clearer explanations for version, platform, and channel breakdowns.
  • Tests

    • Added coverage for all supported version-grouping options and resulting breakdowns.