Skip to content

Revert "Add app-server transport layer with websocket support (#10693)"#11323

Merged
maxj-oai merged 7 commits intomainfrom
maxj/revert-8473096e
Feb 10, 2026
Merged

Revert "Add app-server transport layer with websocket support (#10693)"#11323
maxj-oai merged 7 commits intomainfrom
maxj/revert-8473096e

Conversation

@maxj-oai
Copy link
Contributor

@maxj-oai maxj-oai commented Feb 10, 2026

Suspected cause of deadlocking bug

@maxj-oai maxj-oai requested a review from pakrym-oai February 10, 2026 15:41
Copy link
Contributor

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 19f3f811a4

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

// Wait for all tasks to finish. The typical exit path is the stdin reader
// hitting EOF which, once it drops `incoming_tx`, propagates shutdown to
// the processor and then to the stdout task.
let _ = tokio::join!(stdin_reader_handle, processor_handle, stdout_writer_handle);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Let app-server shutdown ignore lingering outgoing sender clones

run_main now blocks on stdout_writer_handle, but that task only exits when outgoing_rx is closed; meanwhile several CodexMessageProcessor paths spawn background work (for example command/exec and login/OAuth flows) that clone OutgoingMessageSender. If a client closes stdin (EOF) while those jobs are still running, the processor exits but those clones keep the channel alive, so stdout_writer_handle can wait indefinitely and process shutdown hangs even though input is gone.

Useful? React with 👍 / 👎.

@etraut-openai etraut-openai added the oai PRs contributed by OpenAI employees label Feb 10, 2026
@maxj-oai maxj-oai enabled auto-merge (squash) February 10, 2026 17:06
@maxj-oai maxj-oai merged commit 47356ff into main Feb 10, 2026
37 of 38 checks passed
@maxj-oai maxj-oai deleted the maxj/revert-8473096e branch February 10, 2026 17:37
@github-actions github-actions bot locked and limited conversation to collaborators Feb 10, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

oai PRs contributed by OpenAI employees

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

Comments