You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PR #8013 adds dashboard-scoped task freshness without hydrating the full Tasks page list. That is the right direction, but there are a few follow-up correctness edges worth handling separately from the startup performance PR.
Follow-ups
1. Exact-ID server truth vs recent local-change protection
DashboardTaskRefreshService fetches exact server truth for locally visible dashboard task IDs, then applies the result through ActionItemStorage.syncTaskActionItems(...).
That storage path intentionally skips incoming API data when the local record is newer and changed within 60 seconds to protect optimistic updates. For dashboard exact-ID reconciliation, though, this can leave a stale dashboard row visible even after the server says the task is completed/deleted/moved out.
Desired behavior: exact-ID dashboard reconciliation should have a targeted authoritative path for visibility-changing fields (completed, deleted, dueAt) without breaking optimistic-update protection for generic partial refreshes.
2. Dashboard freshness fetch only reads the first server page
The dashboard refresh fetches limit=100, offset=0 for the due window and recent-created window. Users with more than 100 matching tasks can have dashboard-visible server tasks that are not discovered by the freshness pass.
Desired behavior: paginate or otherwise fetch enough per dashboard bucket to make the dashboard freshness invariant explicit.
3. Concurrent refresh fallback
If a dashboard refresh is already running, the current guard returns before even loading the local dashboard snapshot. Consider sharing/awaiting the in-flight refresh, or at least loading local dashboard state before returning.
Notes
These are follow-ups; PR #8013 should not balloon into a larger task-sync/storage migration.
Activity
Harden dashboard task freshness reconciliation (#8156)
fix(desktop): refresh home totals and paginate conversations (#10149)
fix(desktop): refresh home totals and paginate conversations (BasedHa…