A high-traffic UI flow produces inconsistent ordering between initial load and refresh. The affected area is checkout state.
Repair the checkout state reporting metrics implementation so it groups records once and returns accurate counts and totals.
Evidence
- Affected surface: React / checkout state.
- Observed failure family: aggregate grouped totals.
- Scope policy: tenantId must equal tenant-primary.