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
main
d576092e fix(query-core): prevent reducer from being called twice in streamedQuery (#9970) * fix(query-core): prevent reducer from being called twice in streamedQuery #9787 - Fix bug where reducer was called twice for each chunk (once in setQueryData, once in loop) - Store reducer result in variable to avoid duplicate calls - Add test case to verify reducer is only called once per chunk * fix(streamed-query): prevent reducer from being called twice Fixed an issue where the reducer was being invoked twice when refetchMode is set to 'replace'. Added a regression test to verify the fix. Fixes #9787 * docs: add changeset and lockfile update * fix(changeset): change version bump to patch * Update streamedQuery.test.tsx fix: lint * fix: support refetchMode append and prevent double reducer calls - Fix refetchMode append to preserve existing data on refetch - Fix reducer being called twice by calling it once and storing result - Update pnpm-lock.yaml to match main branch * chore: update pnpm-lock.yaml to include size-limit dependencies * ci: apply automated fixes * refactor: simplify streamedQuery logic with clearer isReplaceRefetch condition - Extract isReplaceRefetch variable for better readability - Use explicit if-else instead of negated conditions - Make it clearer when reducer is called in each branch --------- Co-authored-by: TkDodo <office@dorfmeister.cc> Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2 hours ago
by HuijungYoon
H
Succeeded
9970
298770fe Merge branch 'main' into fix/streamed-query-reducer-double-call#9787
4 hours ago
by HuijungYoon
H
Previous page
Previous
Next
Next page