Skip to content

Fix loop completion deadlock and queued prompt controls - #330

Merged
Obed0101 merged 1 commit into
devfrom
codex/loop-owner-deadlock
Sep 10, 2026
Merged

Obed0101 merged 1 commit into
devfrom
codex/loop-owner-deadlock

Conversation

@Obed0101

@Obed0101 Obed0101 commented Sep 10, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • return terminal run_once results without waiting on an owner-session notification that would re-enter the same turn
  • persist background loop notifications asynchronously and avoid duplicate direct-owner notifications
  • keep Send now bound to the first visible queued user prompt when synthetic runtime messages are present
  • extend native PTY coverage for queued prompts, transcript paging, and double-Esc cancellation

Validation

  • bun run --cwd packages/opencode typecheck
  • bun test --cwd packages/opencode test/session/loop.test.ts test/tool/loop.test.ts test/cli/tui/session-layout.test.ts (166 passed)
  • git diff --check

Target branch: dev. Release packaging remains gated on the verified candidate SHA and the beta prerelease workflow.

@Obed0101
Obed0101 merged commit ff31077 into dev Sep 10, 2026
6 checks passed
@Obed0101 Obed0101 mentioned this pull request Sep 10, 2026
6 of 11 tasks
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