| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
Exercise the full dehydrate, hydrate, and query-row rendering path for a per-query custom queryKeyHashFn. This locks the queryHash lookup behavior introduced by TanStack#10750 and covers the persistence failure reported in TanStack#6958. Constraint: The runtime lookup fix already shipped in TanStack#10750 Rejected: Reapply queryCache.get changes | current main already contains the implementation Confidence: high Scope-risk: narrow Tested: query-devtools 246 tests; ESLint; TypeScript current; Prettier Related: TanStack#6958
📝 Walkthrough
WalkthroughThe devtools test suite validates that a query using a custom queryKeyHashFn remains visible after dehydration and hydration into a newly created QueryClient. ChangesDevtools hydration coverage
Estimated code review effort: 2 (Simple) | ~10 minutes 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
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. ❤️ ShareComment @coderabbitai help to get the list of available commands. |
Sorry, something went wrong.
|
View your CI Pipeline Execution ↗ for commit 7f10573
☁️ Nx Cloud last updated this comment at 2026-07-26 16:36:06 UTC |
Sorry, something went wrong.
Sorry, something went wrong.
…sistency and remove redundant 'clear'
… end of 'query list'
…'when X' convention
| Back | FazBrowse Home | New Git URL |
Summary
Context
Issue #6958 reported that Devtools stopped displaying persisted queries when one of them used a custom hash function. Devtools previously looked query rows up again by queryKey, which could not reproduce a per-query hash function after hydration.
The runtime lookup was changed to queryCache.get(queryHash) in #10750, but the persistence and custom-hash combination was not covered. This regression test verifies the original failure path end to end and allows #6958 to be closed against the shipped implementation.
Closes #6958.
Validation
Summary by CodeRabbit