Seanaye/fix/loading while local evaluation - #6283
Conversation
|
Important Review skippedAuto incremental reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Advanced Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (3)
Included review availability: Your plan provides up to 8 included reviews per hour; 6 remain after this review. 📝 SummarySummary by CodeRabbit
WalkthroughThe change tracks local projections by query input and cache generation. It retains the last valid local display during recomputation for the same query and generation. Fresh network data replaces the local display. Query or generation changes discard the previous display and restore loading behavior. Local data is no longer marked as placeholder data. Tests and documentation cover these reconciliation states. Priority: ⬇️ Low Merge Risk: ⚪ Minimal · up to Soup retains valid same-query results during local recomputation without showing a loading indicator, while query or cache-generation changes still clear stale results and fresh server data replaces local display. The change is ready to merge. 🚥 Pre-merge checks | ✅ 3 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (3 passed)
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 |
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Want higher recall? High effort reviews run extra passes and find more bugs. A team admin can switch effort levels in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit d3c46fb. Configure here.

PR removes the loading indicator state from soup when a local filter is being evaluated
Note
Medium Risk
Changes client-side list merging and loading semantics for GraphQL-cached Soup queries; behavior is heavily tested but affects visible list state during pagination and cache updates.
Overview
Fixes flat Soup list UX when the browser GraphQL cache reconciles filters locally: current-query cache rows are treated as real data, not placeholder state, so
isPlaceholderDatais always false andisLoadingstays false while a prior local result is retained during recomputation (avoiding the mobile tab-loading bar and empty-list flashes).Display logic now keeps the last local overlay for the same filter input and cache generation, invalidates it when the server baseline shrinks (e.g.
resetToInitialPage) or filters/generation change, and merges newly paginated server rows immediately viaunreconciledServerRecords—without duplicating reconciled candidates or resurrecting removed baseline rows—until a successful reconciliation reorders the union.Tests and
surfaces.mddocument pagination during pending/failed reconciliation, stable display across recomputation, and query/generation boundaries.Reviewed by Cursor Bugbot for commit a2cc764. Bugbot is set up for automated code reviews on this repo. Configure here.