openai / openai/codex

[Cloud][Web] Cancelling a task breaks future tasks

Open
#39,164 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug codex-web session
Dominant language
Rust
Stars
125k
Forks
19.4k
PR merge metrics
PR metrics pending

Description

What issue are you seeing?

A bug occurs whenever a task has been cancelled. Future tasks in that conversation become unable to submit their changes to the open PR

What steps can reproduce the bug?
  • Start a conversation for a feature request, press the "Create PR" button
  • (Optional) Make additional changes to validate the "Update branch" button works
  • Send another message in the chat, then cancel before completion
  • Follow up with another message and let the change complete
  • The PR button will remain "Get PR" instead of switching to "Update Branch"
What is the expected behavior?

Resuming from an interrupted task should still allow updates to be made to the active PR.

Additional information

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the Cloud/Web conversation flow: create a PR, cancel a later task, then complete another task and inspect the PR action. Trace how cancellation affects the active PR state; done means a completed follow-up task changes the action to "Update Branch" and can submit changes to the active PR.

Written by the indexing model from the issue text.

Assessment

Domain
frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.