Skip to content

Clarify & extend eventEmitter race condition fix #1004

Clarify & extend eventEmitter race condition fix

Clarify & extend eventEmitter race condition fix #1004

Triggered via push March 26, 2026 16:59
Status Failure
Total duration 52s
Artifacts

ci.yml

on: push
Matrix: Build & test
Deploy docs
Deploy docs
Publish to npm
Publish to npm
Fit to window
Zoom out
Zoom in

Annotations

13 errors
Build & test (22.x)
Process completed with exit code 2.
Build & test (22.x): src/server/mockttp-server.ts#L179
Type '(emitter: EventEmitter<any>, socket: Socket, request: TlsHandshakeFailure) => Promise<void>' is not assignable to type '(socket: TLSSocket, req: TlsHandshakeFailure) => void'.
Build & test (v22.20.0, true)
The strategy configuration was canceled because "build._22_x" failed
Build & test (v22.20.0, true)
Process completed with exit code 2.
Build & test (v22.20.0, true): src/server/mockttp-server.ts#L179
Type '(emitter: EventEmitter<any>, socket: Socket, request: TlsHandshakeFailure) => Promise<void>' is not assignable to type '(socket: TLSSocket, req: TlsHandshakeFailure) => void'.
Build & test (20.x)
The strategy configuration was canceled because "build._22_x" failed
Build & test (20.x)
Process completed with exit code 2.
Build & test (20.x): src/server/mockttp-server.ts#L179
Type '(emitter: EventEmitter<any>, socket: Socket, request: TlsHandshakeFailure) => Promise<void>' is not assignable to type '(socket: TLSSocket, req: TlsHandshakeFailure) => void'.
Build & test (24.x)
The strategy configuration was canceled because "build._22_x" failed
Build & test (24.x)
The operation was canceled.
Build & test (*)
The strategy configuration was canceled because "build._22_x" failed
Build & test (*)
Process completed with exit code 2.
Build & test (*): src/server/mockttp-server.ts#L179
Type '(emitter: EventEmitter<any>, socket: Socket, request: TlsHandshakeFailure) => Promise<void>' is not assignable to type '(socket: TLSSocket, req: TlsHandshakeFailure) => void'.