From 9f00c120da85eca7bc38a6c5260bda153ee13b09 Mon Sep 17 00:00:00 2001 From: saravanakumardb1 Date: Sat, 21 Mar 2026 23:51:23 -0700 Subject: [PATCH] =?UTF-8?q?docs:=20update=20TODO=20audit=20=E2=80=94=20P0?= =?UTF-8?q?=20items=20resolved,=20clean=20table=20formatting?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/WORKSPACE_TODO_AUDIT.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) 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. ---