Skip to content

Codex Desktop GitHub connector ignores “Always allow” and repeatedly prompts for the same write action #37184

Open

Description

@omarpinarecords

What version of the Codex App are you using?

Codex Desktop 26.730.61639

What subscription do you have?

ChatGPT Pro

What platform is your computer?

macOS, Apple Silicon (arm64)

What issue are you seeing?

The GitHub connector permission dialog does not honor the Always allow selection.

When ChatGPT attempts a GitHub write action, Codex Desktop displays an approval card such as:

Allow ChatGPT to use GitHub?
Creates a GitHub issue in openai/codex ...

Always allow | Deny | Allow once

I selected Always allow, but the same GitHub approval prompt continued to appear for subsequent GitHub write actions in the same workflow.

This was not a shell-command approval. It was the app-level approval dialog for the installed GitHub connector (github@openai-curated-remote).

The failure had a concrete side effect: delayed connector retries created multiple duplicate GitHub issues for the same requested action. The canonical issue was #37179, while delayed retries created #37181, #37182, and #37183, which then had to be closed as duplicates.

What steps can reproduce the bug?

  1. In Codex Desktop, use the installed GitHub connector.
  2. Ask ChatGPT to perform a GitHub write action, such as creating an issue in openai/codex.
  3. When the approval card appears, select Always allow.
  4. Continue the same workflow or perform another GitHub write action.
  5. Observe that the same app-level GitHub approval card appears again.
  6. In some cases, delayed retries may execute the original write more than once, producing duplicate issues or other duplicate mutations.

What is the expected behavior?

After selecting Always allow for the GitHub connector, Codex Desktop should persist that choice according to the scope shown by the UI and should not repeatedly request approval for equivalent GitHub actions.

At minimum:

  • the approval scope should be explicit;
  • the persistent decision should survive subsequent actions in the same session;
  • connector retries must be idempotent or deduplicated;
  • a repeated approval prompt must not cause the same GitHub mutation to execute multiple times; and
  • the UI should distinguish between a genuinely new permission scope and a failed persistence state.

Actual behavior

  • Always allow was selected.
  • The same GitHub connector approval prompt kept appearing.
  • The original issue-creation request was retried multiple times.
  • Duplicate issues #37181, #37182, and #37183 were created after canonical issue #37179.

Additional information

Feedback was uploaded from the affected Codex Desktop state.

Feedback ID:

no-active-thread-019fd465-3579-7d53-b7d5-2f5b0a20f2e7

A screenshot was captured showing the GitHub approval card with the Always allow option selected as the intended persistent choice.

Related but not identical reports:

  • #11298 — persistent approval does not work for shell commands
  • #24017 — Browser Use ignores persisted origin/upload approvals

This report is specifically about the GitHub connector app-level approval surface and the resulting duplicate write actions.

Activity

  1. added
    bug
    app
    tool-calls
    on Aug 6, 2026
  2. github-actions commented on Aug 6, 2026

    @github-actions
    Contributor

    Potential duplicates detected. Please review them and close your issue if it is a duplicate.

    Powered by Codex Action

  3. squizzeak commented on Sep 15, 2026

    @squizzeak

    I reproduced the same underlying failure on a newer macOS ChatGPT Desktop build, but with the conversation-scoped approval rather than Always allow.

    Environment

    • ChatGPT Desktop for macOS: 26.908.40834
    • Apple Silicon
    • GitHub connector write: create_issue in openai/codex

    Reproduction

    1. Asked ChatGPT to create a single GitHub issue.
    2. The GitHub connector approval card appeared.
    3. Selected Allow GitHub for this conversation.
    4. The write completed successfully and created canonical issue Desktop: add a project-scoped Skills view for ChatGPT Projects #45551.
    5. Despite that, the same GitHub approval card reappeared in the same conversation for the same pending write.
    6. At that point the conversation already visibly contained ChatGPT's success message saying the issue had been filed as Desktop: add a project-scoped Skills view for ChatGPT Projects #45551, while the stale approval card was still shown above it.
    7. Approving the repeated prompt caused the same create_issue mutation to execute again, creating duplicate issue Desktop: add a project-scoped Skills view for ChatGPT Projects #45552.
    8. Desktop: add a project-scoped Skills view for ChatGPT Projects #45552 then had to be closed and marked as a duplicate of Desktop: add a project-scoped Skills view for ChatGPT Projects #45551.

    This adds two details to the original report:

    • the persistence bug also affects Allow ... for this conversation, not only Always allow;
    • the repeated approval is not merely cosmetic: approving it can replay an already-successful mutation and create a duplicate external side effect.

    The UI state is especially clear in this reproduction because the stale approval card and the already-rendered success message for #45551 were visible at the same time.

    Expected behavior: once a conversation-scoped GitHub approval has been granted and the corresponding write succeeds, that approval request should be resolved/removed and must not be eligible to dispatch the same mutation again. Connector write retries should also be idempotent or otherwise deduplicated.

  4. omarpinarecords commented on Sep 21, 2026

    @omarpinarecords
    Author

    @squizzeak Thanks for the detailed reproduction. The original report also involved duplicate issue creation; your report adds evidence that the problem affects conversation-scoped approval on build 26.908.40834, with a stale approval card still present after a successful write.

    Given the replay you observed, my practical recommendation is to check GitHub directly for the completed action before approving or retrying a repeated card. If the intended issue already exists, avoid approving that same pending creation again. This is a precaution against another duplicate, not a verified fix for the approval bug.

    The expected behavior remains that a completed write resolves its approval request and cannot be dispatched again by approving a stale card. Your reproduction is useful evidence for that part of the report.

  5. Daniel-Dietz commented on Oct 17, 2026

    @Daniel-Dietz

    Additional occurrence in the native ChatGPT iOS app — 17 October 2026

    I am also seeing recurring GitHub approval prompts in the native ChatGPT iOS app, although the GitHub-specific permission is set to Allow all actions.

    For Create Issue, the card reads:

    Allow ChatGPT to use GitHub?

    ChatGPT will call GitHub’s Create Issue tool.

    It shows Deny, Allow once, and Always allow. Both allow buttons appear enabled.

    Observed behavior: tapping Always allow has no visible effect and does not resume the pending operation. Tapping Allow once lets it continue.

    Checked during the same diagnostic session:

    • GitHub is installed, enabled, and connected.
    • GitHub-specific permission: Allow all actions.
    • Global default: Allow low-risk actions.
    • An authenticated read of a private repository succeeds.

    A screenshot records the dialog and visible buttons; the tap behavior above describes my observations. Exact app and iOS build versions have not yet been verified for this occurrence.

    Please investigate both the repeated approval requests under the stored GitHub override and the ineffective Always allow response on iOS. Whether these share the desktop report’s underlying cause remains unconfirmed.

    Follow-up — repeated approvals while posting and updating this report

    On 17 October 2026, I reported two further occurrences:

    These tasks involved reading, posting, and updating comments on existing public issues. The original published comments and their first updates were successfully read back.

    After the first additional occurrence was reported, the stored GitHub-specific permission was checked again and still read Allow all actions (global default: Allow low-risk actions).

    The precise tool named in each of these two additional prompts and their button behavior have not been recorded. They establish further approval requests during the authorized reporting workflow, without identifying the underlying cause or independently repeating the earlier Always allow button test.

  6. wootusanachitt commented on Oct 19, 2026

    @wootusanachitt

    i'm also having the same issue on both windows's desktop app and on the chatgpt.com website

    happening to all of my 3 pro-20x accounts

  7. dehartjr commented on Oct 22, 2026

    @dehartjr

    Additional controlled reproduction: Windows desktop and normal Chat on the web — October 21, 2026

    I can corroborate repeated GitHub file-write approvals despite a saved Allow all actions / Allow all tools override. The override was confirmed in both ChatGPT's signed-in settings and its supported permission inspection; the global default remained Allow low-risk actions. GitHub plugin version: 0.1.12-5f7cd798dc99.

    The test repository is private and belongs to a personal GitHub account. Authenticated repository reads succeed, and approved file writes succeed. This is the GitHub app approval card, not a shell-command or browser-site approval.

    Latest reproduction

    1. Used the existing GitHub account's Reconnect command in ChatGPT settings. ChatGPT reported GitHub is now connected; the same account, GitHub override, and access to the test repository remained available.
    2. Opened a fresh normal Chat on chatgpt.com and explicitly requested exactly one small startup JSON save with Create File.
    3. The native Allow ChatGPT to use GitHub? / Create File card appeared.
    4. Selected Always allow. The file was subsequently created successfully; its exact content was independently read back at the returned immutable commit.
    5. Requested a subsequent update in the same chat. A new approval card appeared for Update File, despite the earlier choice and saved GitHub override.

    Other controlled results

    • The identical explicit one-save request reached a Create File card with the custom reporting-instructions block present and with only that block temporarily removed. The original instructions were restored exactly and verified after reloading.
    • In a separate normal-chat test, Allow GitHub for this conversation on Create File did not prevent a subsequent Update File card. After a second conversation grant on Update File, the next request saved all five checkpoints automatically through 100%. No investigator approval was clicked for that request, and the user independently confirmed clicking nothing.

    Limits of these observations

    • Create File and Update File are different tools. These results show that the Create File choice did not cover the observed Update File call; they do not prove that an identical Create File grant was forgotten. Same-tool Create File persistence across fresh chats remains unverified.
    • The reconnect completed through ChatGPT's supported UI; actual server token rotation or grant-cache invalidation is not exposed. No app revocation or cookie clearing was performed.
    • We have no evidence establishing an expired token or a parallel token-refresh race as the cause, and did not reproduce duplicate writes.

    Please investigate why these file-write calls request approval under the explicit GitHub override, and clarify the intended scope of Always allow versus Allow GitHub for this conversation, particularly across Create File and Update File.

  8. eaatabay commented on Oct 23, 2026

    @eaatabay

    Additional reproducible ChatGPT GitHub permission issue (24 Oct 2026): ChatGPT Plus, Android Chrome, GitHub plugin for private repository eaatabay/TJK-BOT. Plugin permission is explicitly set to Allow all actions / full_access and globally low-risk actions are allowed. Despite selecting Always allow approximately 50 times over two days and re-saving the plugin override, every GitHub write action re-prompts. An attempted comment on this very issue returned user rejected MCP tool call even though the user had requested that the bug be reported. GitHub reads work. Expected: persistent permission choice is respected; actual: repeated approval prompts or rejected tool call. Please investigate permission persistence and web/mobile approval propagation. No secrets attached.

  9. iamtheivan commented on Oct 31, 2026

    @iamtheivan

    Any solutions here? Happens both to Github and Linear

  10. marcelineloy75012-75016 commented on Oct 31, 2026

    @marcelineloy75012-75016

    Additional user report (October 31, 2026) — repeated GitHub approvals in ChatGPT/Codex workflows.

    The affected user is developing the same application across several ChatGPT/Codex conversations and reports being asked to approve GitHub operations repeatedly, sometimes many times per day, despite having already granted the requested permissions for the project and subsequent development work. The repetition has affected multiple parallel development threads (referred to by the user as lots 2, 3, and 4), interrupting implementation, testing, and merge workflows. The user also reports recurrent approval prompts for Replit-related operations, but whether those share a cause is unknown.

    Observed/user-reported:

    • Repeated prompts for seemingly equivalent GitHub operations across continuing project work.
    • Prior approvals do not appear to reduce subsequent prompts as expected.
    • Frequent interruptions and delayed progress; the user has explicitly asked not to be asked again for routine equivalent actions.

    Not yet independently established: the exact approval-card wording, whether each request is an app-connector approval versus an execution/sandbox approval, whether the requests share an identical scope, and the specific client/build responsible. No reproduction trace or private logs are available in this report. Consequently, this should be treated as a potentially related symptom rather than a confirmed identical root cause.

    Expected: persist authorization within its stated scope, explain when a genuinely distinct permission is needed, and avoid duplicate retries or changes.

    Related recent report: #58267 (October 30) describes recurring GitHub approval prompts during a stalled task.

    Could maintainers clarify which privacy-safe app diagnostics or approval-request identifiers would help differentiate connector approval persistence from sandbox execution approvals, especially across ChatGPT conversations?

    Submitted with AI assistance at the affected user's request.

  11. mww101 commented on Nov 25, 2026

    @mww101

    Repeated tool approvals have become a serious productivity problem over the past few days.

    Environment: ChatGPT Pro, macOS Apple Silicon, desktop version 26.1120.41243.

    • Previously authorised tools are repeatedly requesting permission.
    • Home Assistant required four approvals during a single prompt on 24 November 2026.
    • Similar interruptions occurred when accessing applications and tools on the Mac.
    • Global plugin permissions are already configured to Allow low-risk actions.
    • These integrations previously worked for months without this level of interruption.

    Please investigate whether a recent desktop or backend update has caused persistent tool approvals to be ignored or reset.

    This is materially affecting the usability of delegated agent workflows. Previously granted permissions should be respected within their authorised scope, without requiring repeated manual intervention.

    Please escalate this to the team responsible for tool approval persistence.

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

    appbugtool-calls

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions