-
-
Notifications
You must be signed in to change notification settings - Fork 8
[Web] Subscription & Apollo error handling — silent failures, swallowed errors #389
Copy link
Copy link
Open
Labels
P1-highStability & reliabilityStability & reliabilityaudit-2026-03From March 2026 codebase auditFrom March 2026 codebase auditerror-handlingMissing or incorrect error handlingMissing or incorrect error handlingservice:web5stackgg/web service5stackgg/web service
Description
Summary
GraphQL subscription errors are logged but not recovered from, and Apollo error hook swallows certain errors.
Findings
- MatchLobbyStore — subscription errors logged with console.error but no recovery or retry.
- apollo.client.ts — early return on auth errors prevents other error handling from running.
Impact
Broken subscriptions cause stale data without notification. Some errors neither logged nor displayed.
Suggested Fix
Add subscription retry logic with backoff. Restructure Apollo error hook to process all error types.
Related Issues (Error Handling Pattern)
- [API] Swallowed async errors — Discord setup, Redis subs, job queues, unhandled rejections #376 — [API] Swallowed async errors
- [Web] Subscription & Apollo error handling — silent failures, swallowed errors #389 — [Web] Subscription & Apollo error handling
- [Game Server] Config download failure, silent deserialization, swallowed stack traces #400 — [Game Server] Config download & swallowed exceptions
- [Connector] Swallowed promises in Redis/system/demos & demo upload file deletion race #410 — [Connector] Swallowed promises & demo upload race
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
P1-highStability & reliabilityStability & reliabilityaudit-2026-03From March 2026 codebase auditFrom March 2026 codebase auditerror-handlingMissing or incorrect error handlingMissing or incorrect error handlingservice:web5stackgg/web service5stackgg/web service
Type
Projects
Status
Backlog