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
* fix(list): 🐛 prevent API lag from overwriting SSE real-time progress for cloud tasks
* fix(list): 🐛 add module-level progress cache to prevent regression on remount
The previous Math.max merge was ineffective because prevData is empty
when the List component remounts (after navigation). This fix introduces
a module-level cloudProgressCache that persists across mount/unmount
cycles, ensuring SSE-driven progress is never lost when fetchTasks
returns stale API data.
- Cache is updated on every SSE event (page_completed, completed, etc.)
- fetchTasks merges API data with both React state AND the cache
- Cache entries are cleaned up when tasks reach terminal states
0 commit comments