Skip to content

Fix infinite query fetching when refetchOnMountOrArgChange is true #7716

Fix infinite query fetching when refetchOnMountOrArgChange is true

Fix infinite query fetching when refetchOnMountOrArgChange is true #7716

Triggered via pull request December 30, 2024 19:37
Status Failure
Total duration 13m 51s
Artifacts 1

tests.yml

on: pull_request
Check for changes
4s
Check for changes
Matrix: build
Matrix: Check package config with are-the-types-wrong
Matrix: test-dist
Matrix: test-published-artifact
Matrix: test-type-portability
Matrix: test-types
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 37 warnings
Run local tests against build artifact (React ^19)
Process completed with exit code 1.
src/query/tests/optimisticUpserts.test.tsx > upsertQueryEntries > Triggers cache lifecycles and side effects: packages/toolkit/src/query/tests/optimisticUpserts.test.tsx#L457
AssertionError: expected undefined to be { id: '1', contents: 'A', title: 'A' } // Object.is equality Ignored nodes: comments, script, style <html> <head /> <body /> </html> - Expected: Object { "contents": "A", "id": "1", "title": "A", } + Received: undefined ❯ waitFor.timeout src/query/tests/optimisticUpserts.test.tsx:457:30 ❯ runWithExpensiveErrorDiagnosticsDisabled ../../node_modules/@testing-library/dom/dist/config.js:47:12 ❯ checkCallback ../../node_modules/@testing-library/dom/dist/wait-for.js:124:77 ❯ Timeout.checkRealTimersCallback ../../node_modules/@testing-library/dom/dist/wait-for.js:118:16
Run local tests against build artifact (React ^18)
Process completed with exit code 1.
Check for changes
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Lint, Test, Build & Pack on Node 20.x
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Test Published Artifact node-standard
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Test Published Artifact node-esm
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Test Published Artifact vite
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Test Published Artifact next
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Check package config with are-the-types-wrong (20.x)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Test Published Artifact expo
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Test Published Artifact react-native
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Test Published Artifact cra5
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Test Published Artifact cra4
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Test Type Portability: TS 5.3 + Node 20.x
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Test Type Portability: TS 5.4 + Node 20.x
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Test Type Portability: TS 5.3 + Node 20.x
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Test Type Portability: TS 5.3 + Node 20.x
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Test Type Portability: TS 5.4 + Node 20.x
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Run local tests against build artifact (React ^19)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Run local tests against build artifact (React ^18)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Test Type Portability: TS 5.5 + Node 20.x
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Test Type Portability: TS 5.4 + Node 20.x
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Test Type Portability: TS 5.5 + Node 20.x
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Test Type Portability: TS 5.5 + Node 20.x
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Test Type Portability: TS next + Node 20.x
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Test Type Portability: TS next + Node 20.x
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Test Type Portability: TS next + Node 20.x
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Test Types: TS 5.0 and React ^18
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Test Types: TS 5.1 and React ^18
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Test Types: TS 5.0 and React ^19
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Test Types: TS 5.2 and React ^19
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Test Types: TS 5.1 and React ^19
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Test Types: TS 5.5 and React ^18
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Test Types: TS 5.4 and React ^18
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Test Types: TS 5.2 and React ^18
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Test Types: TS 5.3 and React ^19
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Test Types: TS 5.3 and React ^18
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Test Types: TS 5.4 and React ^19
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Test Types: TS 5.5 and React ^19
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636

Artifacts

Produced during runtime
Name Size
package
1.21 MB