Skip to content

fix(gateway-web): suppress stale sidebar errors on gateway disconnect#76

Merged
su-fen merged 1 commit into
mainfrom
features
Jul 6, 2026
Merged

fix(gateway-web): suppress stale sidebar errors on gateway disconnect#76
su-fen merged 1 commit into
mainfrom
features

Conversation

@su-fen

@su-fen su-fen commented Jul 6, 2026

Copy link
Copy Markdown
Member

Summary

  • Track gateway connection loss (socket auth + agent online) at the app level in GatewayApp and thread it into the sidebar container.
  • Suppress transport-shaped/stale list errors while disconnected, disabling the sidebar sections as one block instead of showing misleading error cards.
  • Surface read failures as a badge in the section header instead of a separate error card.

Test plan

  • Manually disconnect/reconnect the gateway socket and verify the sidebar disables cleanly without stale error messages, then recovers on reconnect.

🤖 Generated with Claude Code

Track connection loss (socket auth + agent online) at the app level and
thread it into the sidebar so transport-shaped list errors and stale
messages don't linger after a drop; sections disable as one block and
read failures surface as a header badge instead of a card.
@su-fen su-fen merged commit f9aa6e1 into main Jul 6, 2026
7 checks passed
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