Skip to content

fix(P4K): don't report scene websocket connect failures to Sentry#9407

Closed
eordano wants to merge 1 commit into
decentraland:devfrom
eordano:chore/clean-ws-connect-noreport
Closed

fix(P4K): don't report scene websocket connect failures to Sentry#9407
eordano wants to merge 1 commit into
decentraland:devfrom
eordano:chore/clean-ws-connect-noreport

Conversation

@eordano

@eordano eordano commented Jul 17, 2026

Copy link
Copy Markdown
Member

UNITY-EXPLORER-P4K (3010 evts/7 users): Utility.Networking.WebSocketException from scene JS connect(). WebSocketApiWrapper.ConnectAsync wrapped the call in .ReportAndRethrowException(exceptionsHandler), so every failed connection to a scene-supplied (dead/invalid) endpoint became a Sentry error — a scene retry loop produced thousands. The sibling SimpleFetchApiWrapper.Fetch deliberately does not report. Drop the report from connect only; ToDisconnectedPromise still rejects the scene's JS promise so its catch handler runs. Send/Receive/Close keep reporting. Report-noise reduction, not a functional bug. Unverified (no build).

UNITY-EXPLORER-P4K (3010 evts/7 users): Utility.Networking.WebSocketException
from scene JS connect(). WebSocketApiWrapper.ConnectAsync wrapped the call in
.ReportAndRethrowException(exceptionsHandler), so every failed connection to a
scene-supplied (dead/invalid) endpoint became a Sentry error — a scene retry
loop produced thousands. The sibling SimpleFetchApiWrapper.Fetch deliberately
does not report. Drop the report from connect only; ToDisconnectedPromise still
rejects the scene's JS promise so its catch handler runs. Send/Receive/Close
keep reporting. Report-noise reduction, not a functional bug. Unverified (no build).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>



Production evidence (decentraland Sentry, archive snapshot 2026-07-17):
- UNITY-EXPLORER-P4K: 94 events / 21 users, last seen 2026-07-15
- UNITY-EXPLORER-KG0: 11 events / 5 users, last seen 2026-03-15
@eordano

eordano commented Jul 17, 2026

Copy link
Copy Markdown
Member Author

Superseded by #9421 — branch moved into the org repo so CI workflows get repository secrets.

@eordano eordano closed this Jul 17, 2026
@eordano
eordano deleted the chore/clean-ws-connect-noreport branch July 17, 2026 13:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant