Skip to content

fix(app): gate notification server selection#37890

Merged
Hona merged 1 commit into
devfrom
connection-fallback
Jul 20, 2026
Merged

fix(app): gate notification server selection#37890
Hona merged 1 commit into
devfrom
connection-fallback

Conversation

@opencode-agent

Copy link
Copy Markdown
Contributor

Summary

  • gate notification state selection on the shared connected-server registry
  • fall back to the active or first registered server without blocking startup
  • automatically select the preferred route server once its connection registers
  • keep the behavior connection-type agnostic with no WSL-specific handling

Fixes #37481

Checks

  • bun typecheck (packages/app)
  • bun test --preload ./happydom.ts ./src/context/server.test.ts (12 passed)
  • bun run test:unit (622 passed; existing i18n parity failure for five missing Arabic keys)
  • bun x prettier --check packages/app/src/context/notification.tsx

Requested by: @Hona (Luke Parker via Slack)

@Hona
Hona enabled auto-merge (squash) July 20, 2026 09:18
@Hona
Hona merged commit 4a81e83 into dev Jul 20, 2026
10 checks passed
@Hona
Hona deleted the connection-fallback branch July 20, 2026 09:22
Bkm016 pushed a commit to Bkm016/opencode that referenced this pull request Jul 20, 2026
Co-authored-by: Luke Parker <10430890+Hona@users.noreply.github.com>
avion23 pushed a commit to avion23/opencode that referenced this pull request Jul 20, 2026
Co-authored-by: Luke Parker <10430890+Hona@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Desktop: fatal "Notification server not found: wsl:<distro>" on launch — restored tab's server not gated on WSL sidecar readiness

1 participant