Refused WebSocket connections now report the status and whether Cloudflare blocked them.
What's wrong with this entry?
When a WebSocket connection is refused before it opens, Claude Code records the HTTP status and whether Cloudflare mitigated the request, logs the Cloudflare ray id, writes a short bracketed note into the running task's output, and closes the socket instead of failing silently.
- Triggered by the underlying client's unexpected-response event, so it covers rejections that never became a WebSocket.
[callWs] upgrade rejected: status=
Strings lifted out of the shipped bundle, so the claim above can be checked against them.