broadcastToSession from server/plugins/websocket.js — an exported but never-imported, never-called dead-code function. Its dependencies (getSessionConnections, addSessionConnection, removeSessionConnection) are retained since they remain actively used for per-session connection tracking within the plugin.
Notes
Full repository search confirms zero remaining references to broadcastToSession.
ESLint passes; full test suite passes (50 files, 406 tests).
## Removed
- `broadcastToSession` from `server/plugins/websocket.js` — an exported but never-imported, never-called dead-code function. Its dependencies (`getSessionConnections`, `addSessionConnection`, `removeSessionConnection`) are retained since they remain actively used for per-session connection tracking within the plugin.
## Notes
- Full repository search confirms zero remaining references to `broadcastToSession`.
- ESLint passes; full test suite passes (50 files, 406 tests).
Closes #40
Keli Grubb
added 1 commit 2026-08-15 02:04:12 +00:00
Remove the dead-code broadcastToSession function from
server/plugins/websocket.js. It was exported but never imported or
called anywhere in the codebase. Its dependencies
(getSessionConnections, addSessionConnection, removeSessionConnection)
remain since they are actively used for per-session connection
tracking.
Closes#40
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Removed
broadcastToSessionfromserver/plugins/websocket.js— an exported but never-imported, never-called dead-code function. Its dependencies (getSessionConnections,addSessionConnection,removeSessionConnection) are retained since they remain actively used for per-session connection tracking within the plugin.Notes
broadcastToSession.Closes #40