diff --git a/__LOCAL_LLMs/docs/DASHBOARD_REVIEW.md b/__LOCAL_LLMs/docs/DASHBOARD_REVIEW.md index 7a3bdf0d..85fb2dd4 100644 --- a/__LOCAL_LLMs/docs/DASHBOARD_REVIEW.md +++ b/__LOCAL_LLMs/docs/DASHBOARD_REVIEW.md @@ -138,13 +138,13 @@ ## 4. Performance & Reliability -- [ ] **P1. No request deduplication on Refresh** — `page.tsx:164-176` +- [x] **P1. No request deduplication on Refresh** — `page.tsx:164-176` Rapid clicks on Refresh fire duplicate `fetchAll()` calls. Add a `fetchingRef` guard or disable the button during fetch (partially done for `actionLoading` but not for `fetchAll`). -- [ ] **P2. Static cache never expires** — `api/system/route.ts:81-90` +- [x] **P2. Static cache never expires** — `api/system/route.ts:81-90` `staticCache` (chip, GPU, brew) lives forever in the server process. Brew package upgrades won't reflect. Add 5-minute TTL. -- [ ] **P3. `du -sk ~/.ollama/models` on every refresh** — `api/system/route.ts:41` +- [x] **P3. `du -sk ~/.ollama/models` on every refresh** — `api/system/route.ts:41` Traverses entire models directory every 15 seconds. Cache with 60-second TTL. - [x] **P4. No fetch timeout on Ollama calls** — `api/ollama/route.ts:5-12` @@ -216,14 +216,14 @@ ### Sprint 5 — Integration & Polish _(est. 2–3 hrs)_ -| # | ID | Task | Effort | Commit | -| --- | ----------- | -------------------------- | ------ | ------ | -| 25 | - [ ] F15 | Extraction service panel | 60 min | | -| 26 | - [ ] F12 | Whisper transcription test | 45 min | | -| 27 | - [ ] F7 | System resource sparklines | 45 min | | -| 28 | - [ ] CQ5 | Loading skeleton UI | 20 min | | -| 29 | - [ ] P1-P3 | Request dedup + cache TTLs | 30 min | | -| 30 | - [ ] F16 | Auto-load preferred model | 20 min | | +| # | ID | Task | Effort | Commit | +| --- | ----------- | -------------------------- | ------ | --------- | +| 25 | - [ ] F15 | Extraction service panel | 60 min | | +| 26 | - [ ] F12 | Whisper transcription test | 45 min | | +| 27 | - [ ] F7 | System resource sparklines | 45 min | | +| 28 | - [ ] CQ5 | Loading skeleton UI | 20 min | | +| 29 | - [x] P1-P3 | Request dedup + cache TTLs | 30 min | `b1fda3a` | +| 30 | - [ ] F16 | Auto-load preferred model | 20 min | | ### Deferred (nice-to-have) @@ -249,6 +249,7 @@ _Commits will be added here as work progresses._ | 2 | Feb 19 | `2d9475b` | Sprint 2 | B2, B7, B8, F1, F6 | | 3 | Feb 19 | `75a3cd0` | Sprint 3 | CQ1, CQ3, CQ4, S1, S2 | | 4 | Feb 19 | `9c2f5f3` | Sprint 4 | F2, F3, F9, F11 | +| 5 | Feb 19 | `b1fda3a` | Sprint 5 | P1, P2, P3 | ---