Skip to content

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

feat(sync-service): Clean up publication filters

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

Triggered via pull request December 16, 2024 13:33
Status Failure
Total duration 4m 53s
Artifacts

ts_test.yml

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

Annotations

17 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": "32a84cd7-0c4d-4f54-9667-3da51e20cb3d", - "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": "d6394ef4-2385-47b4-8551-f229491fa3c2", - "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 keep the state value in sync: packages/react-hooks/test/react-hooks.test.tsx#L203
AssertionError: expected [ { …(2) } ] to deeply equal [ { …(2) }, { …(2) } ] Ignored nodes: comments, script, style <html> <head /> <body> <div /> </body> </html> - Expected + Received Array [ Object { "id": "250217b2-d3ac-4dbd-b881-6db972854be0", "title": "test row", }, - Object { - "id": "674288f1-1eb1-4710-9da4-6ee29c9fab56", - "title": "other row", - }, ] ❯ waitFor.timeout test/react-hooks.test.tsx:203:37 ❯ 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": "a2008119-7ee2-4c07-8b72-a2698951181e", - "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": "6e00de9e-ae81-468e-be26-227fff7807be", - "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 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/experimental
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
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