Skip to content

feat(cache): add support for swr detection #1146

feat(cache): add support for swr detection

feat(cache): add support for swr detection #1146

Triggered via pull request November 12, 2024 23:04
@atinuxatinux
synchronize #376
fix/swr-cache
Status Failure
Total duration 1m 56s
Artifacts

ci.yml

on: pull_request
Matrix: test
release
0s
release
Fit to window
Zoom out
Zoom in

Annotations

5 errors
test/blob.test.ts > Blob: node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_@cloudfl_7qnmpyteaerhvvn6aip4aad7si/node_modules/@nuxt/test-utils/dist/shared/test-utils.BHdilg2X.mjs#L112
FetchError: [GET] "http://127.0.0.1:40291/": <no response> fetch failed ❯ $fetchRaw2 node_modules/.pnpm/[email protected]/node_modules/ofetch/dist/shared/ofetch.03887fc3.mjs:270:14 ❯ Module.$fetch2 node_modules/.pnpm/[email protected]/node_modules/ofetch/dist/shared/ofetch.03887fc3.mjs:316:15 ❯ Module.startServer node_modules/.pnpm/@nuxt[email protected][email protected][email protected][email protected][email protected]_@cloudfl_7qnmpyteaerhvvn6aip4aad7si/node_modules/@nuxt/test-utils/dist/shared/test-utils.BHdilg2X.mjs:112:21 ❯ setup2 node_modules/.pnpm/@nuxt[email protected][email protected][email protected][email protected][email protected]_@cloudfl_7qnmpyteaerhvvn6aip4aad7si/node_modules/@nuxt/test-utils/dist/shared/test-utils.B9x0-cXO.mjs:186:7 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { request: 'http://127.0.0.1:40291/', options: { responseType: 'text', headers: { constructor: 'Function<Headers>', append: 'Function<append>', delete: 'Function<delete>', get: 'Function<get>', has: 'Function<has>', set: 'Function<set>', getSetCookie: 'Function<getSetCookie>', keys: 'Function<keys>', values: 'Function<values>', entries: 'Function<entries>', forEach: 'Function<forEach>' }, retry: +0 }, response: undefined, data: undefined, status: undefined, statusCode: undefined, statusText: undefined, statusMessage: undefined } Caused by: Caused by: TypeError: fetch failed ❯ $fetchRaw2 node_modules/.pnpm/[email protected]/node_modules/ofetch/dist/shared/ofetch.03887fc3.mjs:258:26 ❯ $fetchRaw2 node_modules/.pnpm/[email protected]/node_modules/ofetch/dist/shared/ofetch.03887fc3.mjs:270:14 ❯ Module.$fetch2 node_modules/.pnpm/[email protected]/node_modules/ofetch/dist/shared/ofetch.03887fc3.mjs:316:15 ❯ Module.startServer node_modules/.pnpm/@nuxt[email protected][email protected][email protected][email protected][email protected]_@cloudfl_7qnmpyteaerhvvn6aip4aad7si/node_modules/@nuxt/test-utils/dist/shared/test-utils.BHdilg2X.mjs:112:21 ❯ setup2 node_modules/.pnpm/@nuxt[email protected][email protected][email protected][email protected][email protected]_@cloudfl_7qnmpyteaerhvvn6aip4aad7si/node_modules/@nuxt/test-utils/dist/shared/test-utils.B9x0-cXO.mjs:186:7 Caused by: Caused by: Error: connect ECONNREFUSED 127.0.0.1:40291 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { errno: -111, code: 'ECONNREFUSED', syscall: 'connect', address: '127.0.0.1', port: 40291 }
test/cache.test.ts > KV > Trigger Cached functions & handlers > Cached function: test/cache.test.ts#L53
AssertionError: expected { …(5) } to have property "expires" ❯ test/cache.test.ts:53:65 ❯ test/cache.test.ts:53:23
test (ubuntu-latest)
Process completed with exit code 1.
test (windows-latest)
The job was canceled because "ubuntu-latest" failed.
test (windows-latest)
The operation was canceled.