TanStack
OSS
query
Sign in / Sign up
Open main menu
query
GitHub
Overview
Runs
Analytics
Loading workspace stats
Loading workspace insights...
Statistics interval
7 days
30 days
Latest CI Pipeline Executions
Status
Fix filter
Filter
Fuzzy
Filter range
Sort by
Sort by
Start time
Sort ascending
Sort descending
Succeeded
10765
020ae15d fix(query-core): snapshot resetQueries match set before mutating state Fixes #10705. `resetQueries` ran the caller's filter twice: once to pick queries to reset, then a second time inside `refetchQueries` to pick queries to re-fetch. The first call mutates each query's state (e.g. status flips from "error"/"success" to "pending"), so when the filter uses a state-based predicate the second pass no longer matches the same set and the refetch silently skips the queries we just reset. The fix snapshots the matched queries before calling `reset()`, then refetches the same set by identity (`matchedQueries.includes(query)`), still scoped to active queries. Query instances are stable across reset, so the identity predicate is a faithful replacement for the caller's filter without the state-mutation hazard.
by Yarchik
Y
Previous page
Previous
Next
Next page