Skip to content

Surface connection issues in Hub#2337

Draft
stackingsaunter wants to merge 1 commit into
masterfrom
codex/nwc-connection-issues
Draft

Surface connection issues in Hub#2337
stackingsaunter wants to merge 1 commit into
masterfrom
codex/nwc-connection-issues

Conversation

@stackingsaunter
Copy link
Copy Markdown
Member

@stackingsaunter stackingsaunter commented May 12, 2026

Summary

  • persist recent NWC app request failures as connection issues and expose them via a read-only app issues API
  • show user-facing connection issue alerts on app details for stable, code-backed NWC categories only: permission, expiry, budget, balance, unknown method, and payment-method failures
  • keep protocol values untouched and show the raw NWC code/message as secondary detail in the Hub alert
  • improve existing Hub copy in actual surfaces for Alby Account load failures, backup/restore, channel order/opening/payment, capacity, payment failure, and peer connect/disconnect

Feedback addressed

  • does not change NWC protocol codes or raw app responses
  • avoids substring-based mappings and broad backend error normalization
  • skips low-level parse/decrypt/transport/internal errors unless there is a stable category
  • keeps friendly UI copy separate from raw protocol/backend details
  • removes the dummy preview page from the PR

Testing

  • go test ./...
  • cd frontend && yarn prepare:http && yarn lint && yarn build:http

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented May 12, 2026

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 1c965fe4-fc9a-41e0-bc7e-fdd412741cac

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch codex/nwc-connection-issues

Tip

💬 Introducing Slack Agent: The best way for teams to turn conversations into code.

Slack Agent is built on CodeRabbit's deep understanding of your code, so your team can collaborate across the entire SDLC without losing context.

  • Generate code and open pull requests
  • Plan features and break down work
  • Investigate incidents and troubleshoot customer tickets together
  • Automate recurring tasks and respond to alerts with triggers
  • Summarize progress and report instantly

Built for teams:

  • Shared memory across your entire org—no repeating context
  • Per-thread sandboxes to safely plan and execute work
  • Governance built-in—scoped access, auditability, and budget controls

One agent for your entire SDLC. Right inside Slack.

👉 Get started


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

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