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
|**Infinite Retry Loop**|`scheduleRetry` called `clearRetryState` which deleted the retry count that was just set, so retry count never accumulated | Created `clearRetryTimeout()` that only clears the timeout (not count). `scheduleRetry` now uses this. |
604
+
|**Memory Leak in deleteCacheEntry**|`deleteCacheEntry` didn't clear in-flight promises or retry state when GC runs | Created `fullDeleteCacheEntry()` in query-invalidation.ts that clears all state. GC effect now uses this. |
605
+
|**Incomplete useEffect deps**| Initial fetch effect missing deps (refetchOnMount, staleTime, doFetch) - hidden by eslint-disable | Added `refetchOnMountRef` and `staleTimeRef` refs. Deps are now `[enabled, serializedKey, doFetch]`. |
606
+
607
+
**Review Findings (from 4 CLI agents):**
608
+
- ✅ All 3 critical issues correctly fixed
609
+
- ✅ Extraction boundaries well-chosen with clear responsibilities
610
+
- ✅ Backwards compatibility maintained via re-exports
611
+
- ⚠️ Suggestion: Double bumpGeneration call in fullDeleteCacheEntry (harmless but redundant)
0 commit comments