Skip to content

Refactor control-plane session runs async#135

Merged
roackb2 merged 3 commits into
mainfrom
codex/control-plane-async-session-runs
May 27, 2026
Merged

Refactor control-plane session runs async#135
roackb2 merged 3 commits into
mainfrom
codex/control-plane-async-session-runs

Conversation

@roackb2
Copy link
Copy Markdown
Owner

@roackb2 roackb2 commented May 27, 2026

Summary

  • add sessionSendPromptAsync for interactive clients so submit acknowledgement is separate from long-running agent work
  • persist accepted user prompts through core session ownership before streaming activity starts
  • update web-v2 and cli-v2 to consume async runs, keep typing available during active runs, and rely on shared API state instead of local optimistic user messages

Validation

  • yarn -s vitest run src/tests/integration/control-plane/session-lifecycle.test.ts src/tests/unit/core/chat-turn-runtime.test.ts src/tests/unit/core/chat-turn-persistence.test.ts src/tests/unit/control-plane/session-cancel.test.ts src/tests/unit/cli-v2/control-plane-session-store.test.ts src/tests/unit/control-plane/session-message-service.test.ts
  • yarn -s typecheck
  • yarn -s build

@roackb2 roackb2 force-pushed the codex/control-plane-async-session-runs branch 4 times, most recently from 7bd861d to e03f409 Compare May 27, 2026 13:04
@roackb2 roackb2 force-pushed the codex/control-plane-async-session-runs branch from e03f409 to 31b79f6 Compare May 27, 2026 13:25
@roackb2 roackb2 marked this pull request as ready for review May 27, 2026 15:08
@roackb2 roackb2 merged commit 3e8c742 into main May 27, 2026
5 checks passed
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