Skip to content

chore(customers): remove the health score system - #644

Merged
JeremyFunk merged 5 commits into
mainfrom
chore/remove-customer-health-score
Nov 24, 2026
Merged

JeremyFunk merged 5 commits into
mainfrom
chore/remove-customer-health-score

fix(ios): build the row icon's avatar without conditional spreads

d87a40e
Select commit
Loading
Failed to load commit list.
Maple Review Bot / Maple / review succeeded Nov 24, 2026 in 3m 0s

Confidence 10/10 · No issues found

🟢 Confidence 10/10 · safe to merge. The delta since the last pass is mechanical removal, comment renumbering and an equivalent iOS rewrite; no leftovers of the removed system remain at the head.
no findings · tests covered · risk high

Removes the customer health score across compute, domain, web, Raycast and MCP, with two irreversible migrations. The 14 files changed since the previous review are removals and comment fixes, and they stay consistent with the rest of the head; safe to merge once the updated Raycast extension ships with the deploy.

  • runCompute drops the health step: rollups, signals, counters, org day, retention
  • customers.health.dryRun, HealthBreakdown and the health columns leave the RPC and sync contracts
  • --health-* chart tokens removed from theme.css
  • iOS lookOf assigns avatar.src/avatar.initial instead of spreading conditionals

Before merge

  • Manual · Publish the updated Raycast extension in the same window as the deploy: the current one fails to decode customers.account.detail without health

Production impact

Production traffic of the changed files (last 7 days)
File Calls/day
apps/raycast/src/lib/models.ts 4.2k
What was checked
  • No reference to scoreAll, HealthBreakdown, customer_health_daily, healthStatuses, healthDistribution survives at the head
  • Migration 0027 drops customer_accounts_health_idx before the column, and sync triggers key on primary keys only (packages/sync-do/src/changes.ts:71)
  • Comment section references match the renumbered docs/customers/tech-design.md headings (§4.3, §4.6, §4.7)

d87a40e · Reply "won't fix" to dismiss a finding, or mention @maple-review-bot to ask about one.