fix(ui): restore quant status after cache deletion - #59
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthrough
ChangesLocal Cache Status Reconciliation
Download Status Routing
Estimated code review effort: 3 (Moderate) | ~20 minutes 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
@coderabbitai review |
✅ Action performedReview finished.
|
Summary
Fixes stale download markers in the analysis view, including upstream mmproj rows, when the downloaded files are deleted from disk.
What changed
donemarkers when the files are no longer present.queued/runningjob states intact.localStoragestate when nothing is tracked anymore.Why
After a model file was deleted manually, the UI could keep showing a green checkmark because the status was cached client-side. That was especially confusing for mmproj/upstream downloads, where the visible row and the download source repo differ.
Validation
node --check internal/assets/static/js/app.js go test ./...Risk
Low. The change is limited to client-side analysis status reconciliation and does not affect download mechanics or backend contracts.
Summary by CodeRabbit