Skip to content

[prod] TE-38638: KPI Definitions page - #4101

Merged
Ishavyas9 merged 5 commits into
testmuComfrom
feat/TE-38638-kpi-definitions-prod
Dec 4, 2026
Merged

Ishavyas9 merged 5 commits into
testmuComfrom
feat/TE-38638-kpi-definitions-prod

Conversation

@hardikshah197

@hardikshah197 hardikshah197 commented Dec 4, 2026 •

Copy link
Copy Markdown
Contributor

Adds the KPI Definitions page under Insights (after KPI Threshold Alerts). It covers every KPI on the Insights pages, the weekly and daily emails, KPI threshold alerts, anomaly notifications and App Profiling threshold alerts. It also fixes one line about Unstable on KPI Threshold Alerts.

Stage: #4100

Jira: TE-38638

Preview

The new page as rendered by a local production build of this branch, top to bottom:

Rendered page 01-kpi-definitions 02-kpi-definitions 03-kpi-definitions 04-kpi-definitions 05-kpi-definitions 06-kpi-definitions 07-kpi-definitions 08-kpi-definitions 09-kpi-definitions 10-kpi-definitions 11-kpi-definitions 12-kpi-definitions 13-kpi-definitions 14-kpi-definitions 15-kpi-definitions 16-kpi-definitions 17-kpi-definitions 18-kpi-definitions

🤖 Generated with Claude Code

srivastavaayush1611LT and others added 3 commits December 4, 2026 15:16
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ts [TE-38638]

Fix the weekly email's Platform Coverage (Web + App can be lower than
Test Execution), and add the SmartUI States card, the earlier weekly
layout, the percent-change rule and the product scope. Add the
remaining Insights page KPIs, the KPI threshold alert window and
breach rule, anomaly notifications and App Profiling threshold alerts.
Correct Test Velocity, and use "only result" for Unstable on the KPI
Threshold Alerts page.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

@sandeepyadav-lt sandeepyadav-lt left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

❌ Changes requested — round 1 at 43ad81b

Will it work? no: the email sections hold, but 13 definitions elsewhere on the page don't match what the product shows (see below)
Redundant: none found

To merge, fix (13):

  • 🔴 B1 docs/analytics-kpi-definitions.md:189 — Retry Rate reads 0% in the default view
  • 🔴 B2 docs/analytics-kpi-definitions.md:214 — Build Pass Rate denominator includes retried attempts
  • 🔴 B3 docs/analytics-kpi-definitions.md:215 — Total Duration tile does not appear
  • 🔴 B4 docs/analytics-kpi-definitions.md:223 — vs prior build: wrong zero rule and wrong tile scope
  • 🔴 B5 docs/analytics-kpi-definitions.md:257 — P90 mode does not switch every tile
  • 🔴 B6 docs/analytics-kpi-definitions.md:312 — KaneAI (Edit Existing) counts any edit, not KaneAI edits
  • 🔴 B7 docs/analytics-kpi-definitions.md:328 — Testing Distribution is one top-5 list
  • 🔴 B8 docs/analytics-kpi-definitions.md:329 — Quality Trend plots pass rate and volume, not passed/failed/anomaly runs
  • 🔴 B9 docs/analytics-kpi-definitions.md:333 — Private Real Devices device table shows up to 1,000 rows
  • 🔴 B10 docs/analytics-kpi-definitions.md:352 — Alert window ends at the check slot, not the check time
  • 🔴 B11 docs/analytics-kpi-definitions.md:374 — Anomaly digest counts and examples
  • 🔴 B12 docs/analytics-kpi-definitions.md:393 — Page Load alert value is a total across runs, over 8 days
  • 🔴 B13 docs/analytics-kpi-definitions.md:395 — FPS alerts when a run recorded no frames

Nits (optional, don't block):

  • ⚪ N1 docs/analytics-kpi-definitions.md:104 — Colours: a 0% change shows a green down arrow (only a change above 0 is red); in the earlier layout small drops show red.
  • ⚪ N2 docs/analytics-kpi-definitions.md:124 — Earlier layout: the Flaky, Unstable, Consistent Failures and New Failures tiles are not shown to every organization on this layout.
  • ⚪ N3 docs/analytics-kpi-definitions.md:230 — Failure Categories and Stability show at most the 10 most recent days or builds in the range, not every build.
  • ⚪ N4 docs/analytics-kpi-definitions.md:257 — "Every run weighted equally" stops holding once a Page Label filter is applied (longer runs then count more).
  • ⚪ N5 docs/analytics-kpi-definitions.md:278 — The Performance Trends overlay's Battery line plots the run's average reading, not the battery used shown by the Battery widget, so the two charts differ for one run.
  • ⚪ N6 docs/analytics-kpi-definitions.md:97 — "Final attempt: the last attempt of a run" is circular with Run = one execution.
  • ⚪ N7 docs/analytics-kpi-definitions.md:116 — Platform Coverage: the email labels these counts "Tests" though they are runs.
  • ⚪ N8 docs/analytics-kpi-definitions.md:380 — The existing App Profiling page disagrees with this one: it gives Network in KB (this page and the product use MB) and leaves Network, Disk Read and Disk Write out of the alertable metrics.

Checked: files 3/3 · every definition on the page checked against current product behaviour (emails, Test/Build Insights, App Profiling, reports, alerts) · links and anchors resolve on both branches · the Unstable fix on KPI Threshold Alerts ("only") is correct

Comment thread docs/analytics-kpi-definitions.md Resolved
Comment thread docs/analytics-kpi-definitions.md Resolved
Comment thread docs/analytics-kpi-definitions.md Resolved
Comment thread docs/analytics-kpi-definitions.md Resolved
Comment thread docs/analytics-kpi-definitions.md Resolved
Comment thread docs/analytics-kpi-definitions.md Resolved
Comment thread docs/analytics-kpi-definitions.md Resolved
Comment thread docs/analytics-kpi-definitions.md Resolved
Comment thread docs/analytics-kpi-definitions.md Resolved
Comment thread docs/analytics-kpi-definitions.md Resolved
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

@sandeepyadav-lt sandeepyadav-lt left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

❌ Changes requested — round 2 at 08d56e7

Will it work? yes, apart from B14: every round-1 definition now matches the product
Redundant: none found

To merge, fix (1):

  • 🔴 B14 docs/analytics-kpi-definitions.md:376 — new in this round: "the webhook carries every example" → done when it says the webhook gets the same up-to-5 examples per category as the email

Prior findings:

  • ✅ B1 resolved (Retry Rate states the Show Unique Instances behaviour) · ✅ B2 resolved (denominator includes retries) · ✅ B3 resolved (Duration = most recent build, Total Duration dropped) · ✅ B4 resolved (tiles named, zero rule per tile; Auto Healed/Latest Build split checked) · ✅ B5 resolved (P90 exceptions listed) · ✅ B6 resolved · ✅ B7 resolved · ✅ B8 resolved · ✅ B9 resolved · ✅ B10 resolved (slot times) · ✅ B11 resolved (runs vs test cases, Slack 3) · ✅ B12 resolved (total across runs, 8-day window) · ✅ B13 resolved (FPS 0 can alert)
  • ✅ N1–N8 all addressed (colours both layouts, "when shown", 10 most recent, page-label weighting, Battery overlay, Final attempt, "Tests" label, App Profiling page now MB and lists Network/Disk alerts)

Checked: round-2 diff 2/2 files · new claims checked against current product behaviour (single network threshold, Auto Healed with Latest Build, earlier-layout colours, webhook examples) · same changes on the stage and prod PRs

Comment thread docs/analytics-kpi-definitions.md Resolved
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

@sandeepyadav-lt sandeepyadav-lt left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Approved — round 3 at a0f5eb1

Will it work? yes: every definition on the page now matches the product (emails, Test/Build Insights, App Profiling, reports, alerts)
Redundant: none found

Prior findings:

  • ✅ B14 resolved (email and webhook both list up to 5 examples per category with the total; Slack 3) · ✅ B1–B13 resolved in round 2 · ✅ N1–N8 addressed

Checked: round-3 diff 1/1 file (one line) · same change on the stage and prod PRs

@Ishavyas9
Ishavyas9 merged commit 11c8e19 into testmuCom Dec 4, 2026
1 check 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.

4 participants