Skip to content

Render TUI prompts before submitting user turns - #33373

Merged
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/57f30c6e0067127e6b082a206f7d154fcfef8d7d
Jul 15, 2026
Merged

Render TUI prompts before submitting user turns#33373
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/57f30c6e0067127e6b082a206f7d154fcfef8d7d

Conversation

@copyberry

@copyberry copyberry Bot commented Jul 15, 2026

Copy link
Copy Markdown

Render TUI prompts before submitting user turns

Why

Starting a user turn can wait on remote work. Show the submitted prompt immediately instead of leaving the input invisible during that wait.

What changed

  • Queue optimistic prompt history before app-event submissions and render a frame before starting the turn.
  • Preserve the existing submit-failure behavior for direct submissions.

Testing

  • Verify that an initial prompt is added to history before its user-turn event is submitted during session replay.

## Why

Starting a user turn can wait on remote work. Show the submitted prompt immediately instead of leaving the input invisible during that wait.

## What changed

- Queue optimistic prompt history before app-event submissions and render a frame before starting the turn.
- Preserve the existing submit-failure behavior for direct submissions.

## Testing

- Verify that an initial prompt is added to history before its user-turn event is submitted during session replay.

GitOrigin-RevId: 57f30c6e0067127e6b082a206f7d154fcfef8d7d
@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/57f30c6e0067127e6b082a206f7d154fcfef8d7d branch from 55b1fb7 to 38b064c Compare July 15, 2026 16:25
@copyberry
copyberry Bot merged commit 38b064c into main Jul 15, 2026
14 of 32 checks passed
@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/57f30c6e0067127e6b082a206f7d154fcfef8d7d branch July 15, 2026 16:26
@github-actions github-actions Bot locked and limited conversation to collaborators Jul 15, 2026
@pohh
pohh temporarily deployed to issue-triage July 15, 2026 17:07 — with GitHub Actions Inactive
@pohh
pohh temporarily deployed to issue-triage July 15, 2026 17:07 — with GitHub Actions Inactive
@pohh
pohh temporarily deployed to issue-triage July 15, 2026 17:07 — with GitHub Actions Inactive
@cevau
cevau temporarily deployed to issue-triage July 15, 2026 17:30 — with GitHub Actions Inactive
@cevau
cevau temporarily deployed to issue-triage July 15, 2026 17:30 — with GitHub Actions Inactive
@cevau
cevau temporarily deployed to issue-triage July 15, 2026 17:30 — with GitHub Actions Inactive
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.