Skip to content

Identify stale WebSockets #1156

Identify stale WebSockets

Identify stale WebSockets #1156

Triggered via pull request November 5, 2025 12:58
Status Failure
Total duration 59s
Artifacts

node.js.yml

on: pull_request
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

19 errors and 2 warnings
build (20.x)
Process completed with exit code 1.
build (20.x): src/connection-manager/connections.ts#L156
Unexpected string concatenation
build (20.x): src/connection-manager/connections.ts#L149
Unary operator '++' used
build (20.x): src/connection-manager/connections.ts#L148
Unexpected string concatenation
build (20.x): src/connection-manager/connections.ts#L148
Replace `'WS·ERROR:·stale·connection·for:·'·+·url·+·'·last·receiveda·message·at:·'·+·heartbeat.toISOString()·+·'.·('·+·(Date.now()·-·heartbeat.getTime())/1000·+·'seconds·ago).·Terminating·this·WS·connection.'` with `⏎········'WS·ERROR:·stale·connection·for:·'·+⏎··········url·+⏎··········'·last·receiveda·message·at:·'·+⏎··········heartbeat.toISOString()·+⏎··········'.·('·+⏎··········(Date.now()·-·heartbeat.getTime())·/·1000·+⏎··········'seconds·ago).·Terminating·this·WS·connection.',⏎······`
build (20.x): src/connection-manager/connections.ts#L141
Unexpected string concatenation
build (20.x): src/connection-manager/connections.ts#L141
Replace `'WS·INFO:·heartbeat·for:·'·+·url·+·'·last·received·at:·'·+·(Date.now()·-·heartbeat.getTime())·+·'ms·ago'` with `⏎······'WS·INFO:·heartbeat·for:·'·+⏎········url·+⏎········'·last·received·at:·'·+⏎········(Date.now()·-·heartbeat.getTime())·+⏎········'ms·ago',⏎····`
build (20.x): src/connection-manager/connections.ts#L139
Unexpected string concatenation
build (20.x): src/connection-manager/connections.ts#L139
Replace `'WS·INFO:·Total·number·of·live·WS·connections:·'·+·webSocketHeartbeat.size` with `⏎····'WS·INFO:·Total·number·of·live·WS·connections:·'·+·webSocketHeartbeat.size,⏎··`
build (22.x)
The strategy configuration was canceled because "build._20_x" failed
build (22.x)
Process completed with exit code 1.
build (22.x): src/connection-manager/connections.ts#L156
Unexpected string concatenation
build (22.x): src/connection-manager/connections.ts#L149
Unary operator '++' used
build (22.x): src/connection-manager/connections.ts#L148
Unexpected string concatenation
build (22.x): src/connection-manager/connections.ts#L148
Replace `'WS·ERROR:·stale·connection·for:·'·+·url·+·'·last·receiveda·message·at:·'·+·heartbeat.toISOString()·+·'.·('·+·(Date.now()·-·heartbeat.getTime())/1000·+·'seconds·ago).·Terminating·this·WS·connection.'` with `⏎········'WS·ERROR:·stale·connection·for:·'·+⏎··········url·+⏎··········'·last·receiveda·message·at:·'·+⏎··········heartbeat.toISOString()·+⏎··········'.·('·+⏎··········(Date.now()·-·heartbeat.getTime())·/·1000·+⏎··········'seconds·ago).·Terminating·this·WS·connection.',⏎······`
build (22.x): src/connection-manager/connections.ts#L141
Unexpected string concatenation
build (22.x): src/connection-manager/connections.ts#L141
Replace `'WS·INFO:·heartbeat·for:·'·+·url·+·'·last·received·at:·'·+·(Date.now()·-·heartbeat.getTime())·+·'ms·ago'` with `⏎······'WS·INFO:·heartbeat·for:·'·+⏎········url·+⏎········'·last·received·at:·'·+⏎········(Date.now()·-·heartbeat.getTime())·+⏎········'ms·ago',⏎····`
build (22.x): src/connection-manager/connections.ts#L139
Unexpected string concatenation
build (22.x): src/connection-manager/connections.ts#L139
Replace `'WS·INFO:·Total·number·of·live·WS·connections:·'·+·webSocketHeartbeat.size` with `⏎····'WS·INFO:·Total·number·of·live·WS·connections:·'·+·webSocketHeartbeat.size,⏎··`
build (20.x): src/connection-manager/connections.ts#L151
This line has a comment length of 201. Maximum allowed is 130
build (22.x): src/connection-manager/connections.ts#L151
This line has a comment length of 201. Maximum allowed is 130