Skip to content

fix: prevent Codex tab crash#10192

Draft
oz-for-oss[bot] wants to merge 3 commits intomasterfrom
oz-agent/implement-issue-10189
Draft

fix: prevent Codex tab crash#10192
oz-for-oss[bot] wants to merge 3 commits intomasterfrom
oz-agent/implement-issue-10189

Conversation

@oz-for-oss
Copy link
Copy Markdown
Contributor

@oz-for-oss oz-for-oss Bot commented May 5, 2026

Closes #10189

Description

  • Resolve the preferred Codex model before opening the new Codex tab, close the modal before launch, and show a toast if Codex is unavailable.
  • Scope the Codex model override to the newly-created terminal instead of mutating the shared default execution profile.
  • Prevent Codex CLI-agent status updates from auto-opening rich input when the agent does not support rich status, with regression coverage.
  • Mark the default-profile-id helper as test-only now that production code no longer calls it.

Linked Issue

  • The linked issue is labeled ready-to-spec or ready-to-implement.

Screenshots / Videos

Not applicable; this is a launch-path crash fix.

Testing

  • cargo fmt --all -- --check
  • CARGO_BUILD_JOBS=1 cargo clippy --workspace --exclude warp_completer --all-targets --tests -- -D warnings
  • CARGO_BUILD_JOBS=1 cargo clippy -p warp_completer --all-targets --tests -- -D warnings
  • Attempted CARGO_BUILD_JOBS=1 cargo test -p warp ai::execution_profiles::profiles::tests -- --nocapture; the sandbox killed the warp lib test compile with SIGKILL before tests ran.

Agent Mode

  • Warp Agent Mode - This PR was created via Warp's AI Agent Mode

CHANGELOG-BUG-FIX: Fixed a crash when opening a new Codex tab by avoiding mutation of the shared default execution profile and preventing unsupported Codex status updates from toggling rich input.

oz-agent and others added 2 commits May 5, 2026 21:25
Co-Authored-By: Dhruvilkumar Ashokbhai Chodvadiya <50516925+dhruvac29@users.noreply.github.com>
Co-Authored-By: Sathvik Vangavolu <113149539+vikvang@users.noreply.github.com>
Co-Authored-By: Oz <oz-agent@warp.dev>
Co-Authored-By: Sathvik Vangavolu <113149539+vikvang@users.noreply.github.com>
@oz-for-oss oz-for-oss Bot changed the title fix: guard codex tab and status handling fix: prevent Codex tab crash May 5, 2026
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.

warp crashes for me whenever I open a new tab with codex

1 participant