Skip to content

feat: support server-sent events #1878

feat: support server-sent events

feat: support server-sent events #1878

Triggered via pull request October 1, 2024 16:30
@kettanaitokettanaito
synchronize #2299
feat/sse
Status Failure
Total duration 2m 36s
Artifacts

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 2 warnings
test/node/third-party/axios-upload.node.test.ts > responds with a mocked response to an upload request: test/node/third-party/axios-upload.node.test.ts#L48
AxiosError: Request failed with status code 500 ❯ settle node_modules/.pnpm/[email protected]/node_modules/axios/lib/core/settle.js:19:12 ❯ IncomingMessage.handleStreamEnd node_modules/.pnpm/[email protected]/node_modules/axios/lib/adapters/http.js:589:11 ❯ IncomingMessage.emit node:events:531:35 ❯ Axios.request node_modules/.pnpm/[email protected]/node_modules/axios/lib/core/Axios.js:45:41 ❯ test/node/third-party/axios-upload.node.test.ts:48:20 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 'ERR_BAD_RESPONSE', config: { transitional: { silentJSONParsing: true, forcedJSONParsing: true, clarifyTimeoutError: false }, adapter: [ 'xhr', 'http' ], 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, */*', 'Content-Type': 'multipart/form-data; boundary=axios-1.6.8-boundary-yQAgHGFB_DHdUikYzvgkTwwJG', 'User-Agent': 'axios/1.6.8', 'Content-Length': '209', 'Accept-Encoding': 'gzip, compress, deflate, br', constructor: 'Function<AxiosHeaders>', set: 'Function<set>', get: 'Function<get>', has: 'Function<has>', delete: 'Function<delete>', clear: 'Function<clear>', normalize: 'Function<normalize>', concat: 'Function<concat>', toJSON: 'Function<toJSON>', toString: 'Function<toString>', getContentType: 'Function<value>', setContentType: 'Function<value>', hasContentType: 'Function<value>', getContentLength: 'Function<value>', setContentLength: 'Function<value>', hasContentLength: 'Function<value>', getAccept: 'Function<value>', setAccept: 'Function<value>', hasAccept: 'Function<value>', getAcceptEncoding: 'Function<value>', setAcceptEncoding: 'Function<value>', hasAcceptEncoding: 'Function<value>', getUserAgent: 'Function<value>', setUserAgent: 'Function<value>', hasUserAgent: 'Function<value>', getAuthorization: 'Function<value>', setAuthorization: 'Function<value>', hasAuthorization: 'Function<value>' }, baseURL: 'https://example.com', onUploadProgress: 'Function<spy>', method: 'post', url: '/upload', data: { constructor: 'Function<FormData>', append: 'Function<append>', delete: 'Function<delete>', get: 'Function<get>', getAll: 'Function<getAll>', has: 'Function<has>', set: 'Function<set>', keys: 'Function<keys>', values: 'Function<values>', entries: 'Function<entries>', forEach: 'Function<forEach>' } }, request: { _events: { abort: 'Function<anonymous>', aborted: 'Function<anonymous>', connect: 'Function<anonymous>', error: 'Function<anonymous>', socket: 'Function<anonymous>', timeout: 'Function<anonymous>', finish: 'Function<requestOnFinish>' }, _eventsCount: 7, _maxListeners: undefined, outputData: [], outputSize: +0, writable: true, destroyed: true, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: true, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, strictContentLength: false, _contentLength: '209', _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: true, socket: { connecting: false, _hadError: false, _parent: null, _host: null, _closeAfterHandlingError: false, _events: { close: [ 'Function<onClose>', 'Function<socketCloseListener>' ], error: [ 'Function<socketErrorListener>', 'Function<bound onceWrapper>' ], prefinish: undefined, finish: undefined, drain: 'Function<ondrain>', data: 'Function<socketOnData>', end: [ 'Function<onReadableStreamEnd>', 'Function<socketOnEnd>' ], readable: undefined, free: 'Function<onFree>', timeout: 'Function<onTimeout>', agentRemove: 'Function<onRemove>', connect: 'Function<bound onceWrapper>' }, _readableState: { highWaterMark: 16384, buffer: [], bufferIndex: +0, length: +0, pipes: [], awaitDrainWriters: null, constructor: 'Function<ReadableState>', objectMode: false, ended: true, endEmitted: true, reading: false,
build
Process completed with exit code 1.
build
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3, actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
build
No files were found with the provided path: test/browser/test-results. No artifacts will be uploaded.