diff --git a/docs/WORKSPACE_TODO_AUDIT.md b/docs/WORKSPACE_TODO_AUDIT.md index e6b8f13c..72cded84 100644 --- a/docs/WORKSPACE_TODO_AUDIT.md +++ b/docs/WORKSPACE_TODO_AUDIT.md @@ -25,15 +25,15 @@ ## Findings by Priority -### P0 — High Impact, Low Effort (address now) +### P0 — High Impact, Low Effort (resolved) -| # | Location | TODO | Impact if NOT Addressed | Benefit of Addressing | Effort | -| --- | ----------------------------------------- | --------------------------------------- | ----------------------------------------------------------------------------------------------- | ------------------------------------------------ | --------------- | -| 1 | `admin-web/src/app/error.tsx:13` | `// TODO: send to telemetry once wired` | Uncaught errors in admin console are silently swallowed — no visibility into production crashes | Ops gets crash telemetry for the admin dashboard | **S** (5 lines) | -| 2 | `tracker-web/src/app/error.tsx:13` | `// TODO: send to telemetry once wired` | Same as above for tracker dashboard | Same — crash visibility for tracker | **S** (5 lines) | -| 3 | `user-dashboard-web/src/app/error.tsx:13` | `// TODO: send to telemetry once wired` | Same for user portal | Same — crash visibility for user portal | **S** (5 lines) | +| # | Location | TODO | Effort | Status | +| --- | ----------------------------------------- | ------------------------ | ------ | ------------------ | +| 1 | `admin-web/src/app/error.tsx:13` | Send errors to telemetry | **S** | ✅ FIXED `34c3436` | +| 2 | `tracker-web/src/app/error.tsx:13` | Send errors to telemetry | **S** | ✅ FIXED `34c3436` | +| 3 | `user-dashboard-web/src/app/error.tsx:13` | Send errors to telemetry | **S** | ✅ FIXED `4641daa` | -**Recommendation:** Address all 3 — they're identical patterns. Wire `@bytelyst/telemetry-client` `reportError()` in the `useEffect`. ~15 minutes total. +**Status:** All 3 resolved — wired `trackEvent('error', 'global', 'unhandled_error', ...)` with error name, message, and digest. ---