You'll noticeTier: how much it should matter to you
3Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
InternalsArea: what it touches
ImprovementsKind: in v2.1.242,
ImprovementsSection of the release
What
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.
Details
Triggered by the underlying client's unexpected-response event, so it covers rejections that never became a WebSocket.
Evidence
[callWs] upgrade rejected: status=
Strings lifted out of the shipped bundle, so the claim above can be checked against them.