Skip to content

[Web] Subscription & Apollo error handling — silent failures, swallowed errors #389

@Flegma

Description

@Flegma

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    P1-highStability & reliabilityaudit-2026-03From March 2026 codebase auditerror-handlingMissing or incorrect error handlingservice:web5stackgg/web service

    Type

    No type

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions