chore(promex): downgrade vitest #533
Annotations
5 errors and 1 warning
src/prometheus.test.ts > init function > should set undefined path label if the express app doesn't match any path:
promex/src/prometheus.test.ts#L106
Error: socket hang up
❯ Function.AxiosError.from node_modules/.pnpm/axios@1.7.8/node_modules/axios/lib/core/AxiosError.js:92:14
❯ RedirectableRequest.handleRequestError node_modules/.pnpm/axios@1.7.8/node_modules/axios/lib/adapters/http.js:620:25
❯ ClientRequest.eventHandlers.<computed> node_modules/.pnpm/follow-redirects@1.15.9/node_modules/follow-redirects/index.js:49:24
❯ Axios.request node_modules/.pnpm/axios@1.7.8/node_modules/axios/lib/core/Axios.js:45:41
❯ src/prometheus.test.ts:106:17
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { description: undefined, number: undefined, fileName: undefined, lineNumber: undefined, columnNumber: undefined, config: { transitional: { silentJSONParsing: true, forcedJSONParsing: true, clarifyTimeoutError: false }, adapter: [ 'xhr', 'http', 'fetch' ], transformRequest: [ 'Function<transformRequest>' ], transformResponse: [ 'Function<transformResponse>' ], timeout: +0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, maxBodyLength: -1, env: { FormData: 'Function<FormData>', Blob: 'Function<Blob>' }, validateStatus: 'Function<validateStatus>', headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/1.7.8', 'Accept-Encoding': 'gzip, compress, deflate, br' }, method: 'get', url: 'http://127.0.0.1:9090/metrics' }, code: 'ECONNRESET', status: undefined }
|
src/prometheus.test.ts > init function > should start & stop idempotent functions without issues:
promex/src/prometheus.test.ts#L125
Error: socket hang up
❯ Function.AxiosError.from node_modules/.pnpm/axios@1.7.8/node_modules/axios/lib/core/AxiosError.js:92:14
❯ RedirectableRequest.handleRequestError node_modules/.pnpm/axios@1.7.8/node_modules/axios/lib/adapters/http.js:620:25
❯ ClientRequest.eventHandlers.<computed> node_modules/.pnpm/follow-redirects@1.15.9/node_modules/follow-redirects/index.js:49:24
❯ Axios.request node_modules/.pnpm/axios@1.7.8/node_modules/axios/lib/core/Axios.js:45:41
❯ src/prometheus.test.ts:125:5
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { description: undefined, number: undefined, fileName: undefined, lineNumber: undefined, columnNumber: undefined, config: { transitional: { silentJSONParsing: true, forcedJSONParsing: true, clarifyTimeoutError: false }, adapter: [ 'xhr', 'http', 'fetch' ], transformRequest: [ 'Function<transformRequest>' ], transformResponse: [ 'Function<transformResponse>' ], timeout: +0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, maxBodyLength: -1, env: { FormData: 'Function<FormData>', Blob: 'Function<Blob>' }, validateStatus: 'Function<validateStatus>', headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/1.7.8', 'Accept-Encoding': 'gzip, compress, deflate, br' }, method: 'get', url: 'http://127.0.0.1:9090/metrics' }, code: 'ECONNRESET', status: undefined }
|
src/prometheus.test.ts > init function > should add a handler on an express app:
promex/src/prometheus.test.ts#L11
Error: listen EADDRINUSE: address already in use :::9091
❯ Function.listen node_modules/.pnpm/express@4.21.1/node_modules/express/lib/application.js:635:24
❯ src/prometheus.test.ts:11:24
❯ listen src/prometheus.test.ts:10:10
❯ src/prometheus.test.ts:140:29
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 'EADDRINUSE', errno: -98, syscall: 'listen', address: '::', port: 9091 }
|
src/prometheus.test.ts > init function > should not use the default normalize path:
promex/src/prometheus.test.ts#L11
Error: listen EADDRINUSE: address already in use :::9091
❯ Function.listen node_modules/.pnpm/express@4.21.1/node_modules/express/lib/application.js:635:24
❯ src/prometheus.test.ts:11:24
❯ listen src/prometheus.test.ts:10:10
❯ src/prometheus.test.ts:160:29
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 'EADDRINUSE', errno: -98, syscall: 'listen', address: '::', port: 9091 }
|
promex
Process completed with exit code 1.
|
promex
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|