Skip to content

[Dots] GitHub connector create_tree approval prompt loops forever and the session hangs #55412

Open

Description

@jh-Gong

What version of the Codex App are you using?

Codex App 6.1017.11052

What issue are you seeing?

In a Codex session created by Dots, the agent calls the GitHub connector's create_tree tool. The approval prompt "Allow GitHub to create a Git tree in /?" appears. Whatever I click (Always allow, Deny, or Allow once), the same prompt comes back. The tool call never returns and the session stays stuck on "Waiting for approval".

The agent also noted that the first Git tree call "did not return for a long time, then was interrupted, result unknown." After the turn is interrupted, the new turn hits the same prompt again, so the session can't be used.

Other GitHub connector calls in the same session, like reading and editing files, work fine. Only create_tree triggers this.

What steps can reproduce the bug?

  1. Create a Codex session from Dots with the GitHub connector enabled.
  2. Have the agent commit through create_tree.
  3. Click any of the approval buttons.
  4. The prompt comes back again and again, and the session hangs.

What is the expected behavior?

Approving or denying should resolve the tool call once. The call should then return a result or a clear error, and the session should keep going.

Additional information

A screenshot is available on request; it has private repo details.

Activity

  1. added
    bug
    app
    dots
    tool-calls
    on Oct 20, 2026
  2. commoncoding commented on Oct 24, 2026

    @commoncoding

    Also reproduced in a dot-managed task using GitHub create_tree on macOS.

    Codex app: 26.1021.31345, build 21828. Local app-server reports 0.164.0-alpha.11.1.

    For each of two approval requests, local logs recorded six allow responses and three deny responses. All 18 were followed by “Unrecognized MCP message hasError=true id=undefined kind=response”, then a WebSocket closure with code 1006 about two seconds later. The tool call never returned a result, and I stopped the conversation.

    This resembles #51838, but we could not confirm threadAccess injection or the server-side error body. No raw logs, repository details, or session identifiers are included here.

  3. fafakamissoko-ux commented on Oct 27, 2026

    @fafakamissoko-ux

    Adding a related observation from a dot / hosted workflow with the connected GitHub integration, viewed in the web interface on Windows (October 26–27, 2026). The exact client version and hosted backend build have not been verified.

    The approval card for an authorized create_tree action was visible. The user reports selecting the approval options, but the action did not advance and the approval remained pending.

    Two previous calls ended with these messages:

    • aborted by user after 24850.1s
    • aborted by user after 27222.9s

    Neither returned a tree SHA or completion receipt. The actual cancellation source and whether an operation was dispatched or executed are unconfirmed. “By user” is the returned tool wording, not independent evidence that the user cancelled either call.

    Further writes were stopped; no new live reproduction was attempted for this comment. A shared cause with the original report has not been established.

    Expected behavior: an approval decision should resolve the action with a result or an attributable failure and a supported recovery path. Please help identify whether the decision was received, whether the operation was dispatched, whether a result receipt can be recovered, and which component initiated cancellation. This requests a functioning approval flow, not a bypass of approval or safety controls.

    Private repository names, account/session identifiers, request payloads, email, code, screenshots, and raw logs are omitted. Any sensitive diagnostics would need an appropriate private support channel.

  4. fafakamissoko-ux commented on Oct 27, 2026

    @fafakamissoko-ux

    Correction to my earlier “Windows/web” description: available observations place the pending approval in the ChatGPT/Codex Windows application; browser involvement has not been established.

    A read-only local inventory on October 27, 2026, at 18:31–18:32 UTC found the current Windows package OpenAI.Codex, version 26.1023.6123.0. These are current installed details, not a confirmed version at the time of the incident.

    No new write attempt was made as part of that investigation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    appbugdotstool-calls

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions