Skip to content

Web lib: RPC health and connection status #348

Description

@0xMegie

Area: apps/web/src/lib/soroban/health.ts

Goal: Verify RPC health detection drives a stable connection indicator.

Tasks:

  • Add MSW handlers for healthy, degraded, and unreachable RPC responses.
  • Assert mapped status and user-facing label.
  • Test timeout handling with fake timers.

Acceptance:

  • No real network and no clock flakiness.
  • bun run --cwd apps/web test passes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions