Skip to content

feat(sync-service): Clean up publication filters #1891

feat(sync-service): Clean up publication filters

feat(sync-service): Clean up publication filters #1891

Triggered via pull request December 16, 2024 13:37
Status Failure
Total duration 5m 18s
Artifacts

ts_test.yml

on: pull_request
List packages
6s
List packages
List examples
7s
List examples
Matrix: Build and test
Matrix: check_packages
Matrix: check_and_build_examples
Fit to window
Zoom out
Zoom in

Annotations

19 errors and 8 warnings
test/react-hooks.test.tsx > useShape > should sync a shape: packages/react-hooks/test/react-hooks.test.tsx#L91
AssertionError: expected [] to deeply equal [ { …(2) } ] Ignored nodes: comments, script, style <html> <head /> <body> <div /> </body> </html> - Expected + Received - Array [ - Object { - "id": "d51fc699-abd0-45ad-9ffa-5ffa278e9470", - "title": "test row", - }, - ] + Array [] ❯ test/react-hooks.test.tsx:91:35 ❯ runWithExpensiveErrorDiagnosticsDisabled ../../node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/config.js:47:12 ❯ checkCallback ../../node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/wait-for.js:124:77 ❯ Timeout.checkRealTimersCallback ../../node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/wait-for.js:118:16
test/react-hooks.test.tsx > useShape > should re-sync a shape after an interrupt: packages/react-hooks/test/react-hooks.test.tsx#L128
AssertionError: expected [] to deeply equal [ { …(2) } ] Ignored nodes: comments, script, style <html> <head /> <body> <div /> <div /> </body> </html> - Expected + Received - Array [ - Object { - "id": "c82c4fc9-1b44-4d2e-a7ae-58756d53da4f", - "title": "test row", - }, - ] + Array [] ❯ test/react-hooks.test.tsx:128:35 ❯ runWithExpensiveErrorDiagnosticsDisabled ../../node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/config.js:47:12 ❯ checkCallback ../../node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/wait-for.js:124:77 ❯ Timeout.checkRealTimersCallback ../../node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/wait-for.js:118:16
test/react-hooks.test.tsx > useShape > should expose isLoading status: packages/react-hooks/test/react-hooks.test.tsx#L148
AssertionError: expected true to be false // Object.is equality Ignored nodes: comments, script, style <html> <head /> <body> <div /> </body> </html> - Expected + Received - false + true ❯ test/react-hooks.test.tsx:148:58 ❯ runWithExpensiveErrorDiagnosticsDisabled ../../node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/config.js:47:12 ❯ checkCallback ../../node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/wait-for.js:124:77 ❯ Timeout.checkRealTimersCallback ../../node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/wait-for.js:118:16
test/react-hooks.test.tsx > useShape > should expose time at which we last synced: packages/react-hooks/test/react-hooks.test.tsx#L172
AssertionError: expected undefined to be defined Ignored nodes: comments, script, style <html> <head /> <body> <div /> </body> </html> ❯ test/react-hooks.test.tsx:172:61 ❯ runWithExpensiveErrorDiagnosticsDisabled ../../node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/config.js:47:12 ❯ checkCallback ../../node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/wait-for.js:124:77 ❯ Timeout.checkRealTimersCallback ../../node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/wait-for.js:118:16
test/react-hooks.test.tsx > useShape > should keep the state value in sync: packages/react-hooks/test/react-hooks.test.tsx#L195
AssertionError: expected [] to not deeply equal [] Ignored nodes: comments, script, style <html> <head /> <body> <div /> </body> </html> Compared values have no visual difference. ❯ test/react-hooks.test.tsx:195:57 ❯ runWithExpensiveErrorDiagnosticsDisabled ../../node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/config.js:47:12 ❯ checkCallback ../../node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/wait-for.js:124:77 ❯ Timeout.checkRealTimersCallback ../../node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/wait-for.js:118:16
test/react-hooks.test.tsx > useShape > should let you change the shape definition (and clear the internal cache between): packages/react-hooks/test/react-hooks.test.tsx#L232
AssertionError: expected [] to deeply equal [ { …(2) } ] Ignored nodes: comments, script, style <html> <head /> <body> <div /> </body> </html> - Expected + Received - Array [ - Object { - "id": "18d0613c-4c4a-48ba-923c-c3b606ba77d9", - "title": "test row", - }, - ] + Array [] ❯ test/react-hooks.test.tsx:232:35 ❯ runWithExpensiveErrorDiagnosticsDisabled ../../node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/config.js:47:12 ❯ checkCallback ../../node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/wait-for.js:124:77 ❯ Timeout.checkRealTimersCallback ../../node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/wait-for.js:118:16
test/react-hooks.test.tsx > useShape > should allow use of the "selector" api from useSyncExternalStoreWithSelector: packages/react-hooks/test/react-hooks.test.tsx#L274
AssertionError: expected [] to deeply equal [ { …(2) } ] Ignored nodes: comments, script, style <html> <head /> <body> <div /> </body> </html> - Expected + Received - Array [ - Object { - "id": "55ed0aa1-2107-4992-84c9-3af8083034bc", - "title": "test row", - }, - ] + Array [] ❯ test/react-hooks.test.tsx:274:35 ❯ runWithExpensiveErrorDiagnosticsDisabled ../../node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/config.js:47:12 ❯ checkCallback ../../node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/wait-for.js:124:77 ❯ Timeout.checkRealTimersCallback ../../node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/wait-for.js:118:16
test/react-hooks.test.tsx > useShape > should correctly reapply the selector to the data if it changes: packages/react-hooks/test/react-hooks.test.tsx#L321
AssertionError: expected [] to deeply equal [ { …(2) } ] Ignored nodes: comments, script, style <html> <head /> <body> <div /> </body> </html> - Expected + Received - Array [ - Object { - "id": "4405336d-663e-4988-8d42-6c1d0dd2fb6a", - "title": "test row 2", - }, - ] + Array [] ❯ test/react-hooks.test.tsx:321:35 ❯ runWithExpensiveErrorDiagnosticsDisabled ../../node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/config.js:47:12 ❯ checkCallback ../../node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/wait-for.js:124:77 ❯ Timeout.checkRealTimersCallback ../../node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/wait-for.js:118:16
test/react-hooks.test.tsx > useShape > should unmount cleanly: packages/react-hooks/test/react-hooks.test.tsx#L349
AssertionError: expected [] to not deeply equal [] Ignored nodes: comments, script, style <html> <head /> <body> <div /> </body> </html> Compared values have no visual difference. ❯ test/react-hooks.test.tsx:349:57 ❯ runWithExpensiveErrorDiagnosticsDisabled ../../node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/config.js:47:12 ❯ checkCallback ../../node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/wait-for.js:124:77 ❯ Timeout.checkRealTimersCallback ../../node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/wait-for.js:118:16
Build and test (packages/react-hooks)
Process completed with exit code 1.
test/cache.test.ts > HTTP Proxy Cache > should get a short max-age cache-conrol header in live mode: packages/typescript-client/test/cache.test.ts#L79
AssertionError: expected 503 to be 200 // Object.is equality - Expected + Received - 200 + 503 ❯ test/cache.test.ts:79:31
test/cache.test.ts > HTTP Proxy Cache > should get cached response on second request: packages/typescript-client/test/cache.test.ts#L118
AssertionError: expected 503 to be 200 // Object.is equality - Expected + Received - 200 + 503 ❯ test/cache.test.ts:118:32
test/cache.test.ts > HTTP Proxy Cache > should get stale response when max age is passed but cache is not yet revalidated: packages/typescript-client/test/cache.test.ts#L146
AssertionError: expected 503 to be 200 // Object.is equality - Expected + Received - 200 + 503 ❯ test/cache.test.ts:146:40
test/cache.test.ts > HTTP Proxy Cache > should get fresh response when age is passed the stale age: packages/typescript-client/test/cache.test.ts#L180
AssertionError: expected 503 to be 200 // Object.is equality - Expected + Received - 200 + 503 ❯ test/cache.test.ts:180:40
test/cache.test.ts > HTTP Initial Data Caching > tells client to resync when shape is out of scope: packages/typescript-client/test/cache.test.ts#L216
AssertionError: expected 503 to be 200 // Object.is equality - Expected + Received - 200 + 503 ❯ test/cache.test.ts:216:31
test/client.test.ts > Shape > should expose connection status: packages/typescript-client/test/client.test.ts#L286
AssertionError: expected false to be true - Expected + Received - true + false ❯ test/client.test.ts:286:37
test/client.test.ts > Shape > should support async error handler: packages/typescript-client/test/client.test.ts#L499
AssertionError: expected false to be true // Object.is equality - Expected + Received - true + false ❯ test/client.test.ts:499:39
test/client.test.ts > Shape > should expose isLoading status: packages/typescript-client/test/client.test.ts#L599
AssertionError: expected true to be false - Expected + Received - false + true ❯ test/client.test.ts:599:35
Build and test (packages/typescript-client)
Process completed with exit code 1.
List packages
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
List examples
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Check packages/typescript-client
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Check packages/react-hooks
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Check packages/experimental
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Build and test (packages/experimental)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Build and test (packages/react-hooks)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Build and test (packages/typescript-client)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636