Skip to content

fix(client): isolate shared event consumers - #46393

Merged
nexxeln merged 4 commits into
v2from
permission-ci-flake
Aug 31, 2026
Merged

nexxeln merged 4 commits into
v2from
permission-ci-flake

Conversation

@opencode-agent

@opencode-agent opencode-agent Bot commented Aug 31, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • fan out shared events without allowing one idle consumer to block the others
  • bound each consumer queue and preserve buffered events through source completion
  • preserve live session renames across concurrent session and family hydration
  • settle both clients initial tab writes before exercising cross-TUI close/reopen propagation
  • give the live server message fixture enough time for its real startup cost on Windows

This fixes the deterministic ACP head-of-line blocking regression and consolidates three additional CI failures observed on recent v2 runs.

Tests

  • bun test --timeout 30000 --only-failures (packages/client): 167 passed
  • bun test --timeout 30000 --only-failures (packages/tui): 990 passed, 4 skipped
  • bun typecheck (packages/client, packages/tui, and packages/server)
  • bun test test/session-message-update.test.ts --only-failures (packages/server)
  • ACP concurrency regression: 20/20 repeated passes
  • session rename race regression: 30/30 repeated passes
  • cross-TUI tab close regression: 30/30 repeated passes
  • title lifecycle regression: 20/20 repeated passes

Requested by: @nexxeln (nexxel via Slack)

@nexxeln
nexxeln merged commit ac77cc4 into v2 Aug 31, 2026
10 checks passed
@nexxeln
nexxeln deleted the permission-ci-flake branch August 31, 2026 14:02
jinhuang712 pushed a commit to jinhuang712/opencode that referenced this pull request Sep 26, 2026
Co-authored-by: nexxeln <95541290+nexxeln@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.

1 participant