Skip to content

fix(app): defer unavailable notification state#38186

Merged
Hona merged 1 commit into
devfrom
notification-avatar-guard
Jul 22, 2026
Merged

fix(app): defer unavailable notification state#38186
Hona merged 1 commit into
devfrom
notification-avatar-guard

Conversation

@opencode-agent

@opencode-agent opencode-agent Bot commented Jul 21, 2026

Copy link
Copy Markdown
Contributor

Summary

  • defer permission reads until the matching server sync is available
  • defer session-avatar notification reads until their server connection is registered
  • preserve the throwing ensureServerState invariants for invalid callers
  • reactively use the real server states once a WSL sidecar becomes available

Follow-up to #37481 and #37890.

Checks

  • bun typecheck (packages/app)
  • bun x prettier --check src/pages/layout/project-avatar-state.ts

Tests not run as requested.

Requested by: @Hona (Luke Parker via Slack)

@opencode-agent
opencode-agent Bot force-pushed the notification-avatar-guard branch from 91b646e to e5d64fc Compare July 21, 2026 20:39
@Hona
Hona merged commit 130038e into dev Jul 22, 2026
11 checks passed
@Hona
Hona deleted the notification-avatar-guard branch July 22, 2026 01:16
tianyu2025515 pushed a commit to tianyu2025515/opencode that referenced this pull request Jul 23, 2026
* dev: (118 commits)
  chore: generate
  feat(app): support current event transport (anomalyco#38464)
  chore: generate
  feat(app): add dual-server compatibility (anomalyco#38462)
  chore: update nix node_modules hashes
  chore(app): vendor v2 promise client (anomalyco#38467)
  chore: update nix node_modules hashes
  fix(provider): serialize Mistral prompt cache keys (anomalyco#38448)
  fix(provider): select prompt cache keys by SDK (anomalyco#38424)
  feat(go): add Hy3 to Go model lineup (anomalyco#38349)
  fix(provider): correct MiniMax M3 thinking variants (anomalyco#38330)
  fix(docs): correct Kimi K2.7 Code request limits (anomalyco#38248)
  fix(app): show running shell command (anomalyco#38080)
  fix(app): defer unavailable notification state (anomalyco#38186)
  zen: add security check
  chore: generate
  zen: add security check
  zen: add laguna-2-2.1
  chore: generate
  fix(app): support nested slash command autocomplete (anomalyco#38097)
  ...
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.

1 participant