Skip to content

[Windows][Codex Local] Drive/GitHub connectors deprovision to null while Cloud passes #53561

Open

Description

@EvolutionFireman112

What version of the Codex App are you using?

ChatGPT Desktop: 26.1007.21434
Bundled Codex CLI: 0.162.0-alpha.17.2

What platform is your computer?

Windows desktop, Codex Local / This computer.

What issue are you seeing?

Google Drive and GitHub are connected and explicitly selected for a new Codex task, but some fresh Local / This computer runs start without the connector toolset provisioned.

In the clearest failing session, the runtime initially lists the connector namespaces, then a later world_state update sets both connectors to null:

"mcp__codex_apps__github": null,
"mcp__codex_apps__google_drive": null

Codex then attempts to call the Drive tool and the runtime returns:

TypeError: tools.mcp__codex_apps__google_drive_fetch is not a function

This is intermittent across fresh Local tasks. Reconnecting/reinstalling the apps, updating the desktop app, explicitly selecting the plugins via + -> Plugins, and creating new tasks did not make Local provisioning reliable.

A/B control on the same account, same model, and same connector-only preflight:

Codex Cloud

  • Google Drive = PASS
  • GitHub = PASS
  • required Drive files fully readable
  • current GitHub main verified successfully

Codex Desktop Local / This computer

  • Google Drive = FAIL
  • GitHub = FAIL
  • connector tools unavailable / set to null
  • in one run, Drive call failed with TypeError: ... is not a function

This strongly isolates the issue to the Windows desktop Local runtime/tool provisioning path, rather than account authorization or the connected apps themselves.

Steps to reproduce

  1. On ChatGPT Desktop for Windows, install/connect Google Drive and GitHub.
  2. Start a brand-new Codex task in Local / This computer.
  3. Use GPT-6.1 Sol / Medium.
  4. Explicitly select both Google Drive and GitHub via + -> Plugins before execution.
  5. Run a read-only preflight that requires native Google Drive and GitHub tools.
  6. In affected runs, both connectors are unavailable.
  7. Inspect the session JSONL. In the clearest repro, world_state.tools.mcp__codex_apps__google_drive and ...__github become null.
  8. A later Drive tool call fails with:
    TypeError: tools.mcp__codex_apps__google_drive_fetch is not a function
  9. Run the same connector-only preflight in Codex Cloud with the same account/model/plugins. Both connectors pass.

Expected behavior

If Google Drive and GitHub are connected and explicitly selected for a Local Codex task, the runtime should provision callable connector tools consistently for that run.

If Local execution does not support a connector for some reason, the UI/runtime should fail deterministically with a clear capability message rather than:

  • advertising/accepting the selected plugin,
  • setting the connector namespace to null in world_state,
  • and later failing with JavaScript TypeError: ... is not a function.

Diagnostics

Failing session with the clearest world_state -> null transition and subsequent tool-call failure:

01a1318f-aca5-7a22-b7e1-86a7daa3a644

Clean Local preflight session:

01a13196-7975-7650-b0ca-76859b276422

Feedback IDs:

  • 01a11190-7c65-7da1-84aa-bd26494c3ab8
  • 01a1317e-2a48-7961-86bd-fa2017d12e56
  • 01a13186-59ee-77e2-bf1b-6f8a675b7324
  • 01a13196-7975-7650-b0ca-76859b276422

Observed on 2026-10-12, Europe/Prague.

Related/adjacent reports found before filing:

This report adds a reproducible Local FAIL vs Cloud PASS A/B and transcript evidence showing the connector namespaces transition to null before the failed call.

No credentials, private file contents, private repository content, or raw auth data are included.

Activity

  1. added
    bug
    app
    windows-os
    mcp
    tool-calls
    on Oct 13, 2026
  2. github-actions commented on Oct 13, 2026

    @github-actions
    Contributor

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

    Powered by Codex Action

  3. EvolutionFireman112 commented on Oct 13, 2026

    @EvolutionFireman112
    Author

    Reviewed #53233. It appears closely related and may share the same underlying Windows Local connector-provisioning issue.

    I’m leaving #53561 open for maintainer triage because it adds a few concrete diagnostics that may help isolate the failure mode:

    • deterministic Codex Cloud PASS vs Windows Desktop Local FAIL A/B on the same account/model/connectors
    • both Google Drive and GitHub explicitly selected before the Local run
    • session world_state transitions both mcp__codex_apps__google_drive and mcp__codex_apps__github to null
    • a subsequent Drive call fails with TypeError: tools.mcp__codex_apps__google_drive_fetch is not a function
    • matching session IDs and in-app feedback IDs are included in [Windows][Codex Local] Drive/GitHub connectors deprovision to null while Cloud passes #53561
    • the issue still reproduces after app reset and a clean ChatGPT Desktop reinstall

    If maintainers confirm #53233 and #53561 have the same root cause, I’m happy for #53561 to be closed as a duplicate. Until then, the additional runtime-state evidence may be useful for diagnosis.

  4. EvolutionFireman112 commented on Oct 13, 2026

    @EvolutionFireman112
    Author

    Additional reproducible diagnostic:

    I isolated Avast HTTPS inspection with an A/B/A test using the same Windows Codex Local setup, same account, same GPT-6.1 Sol / Medium model, same explicitly selected Google Drive + GitHub connectors, and the same read-only preflight.

    Results:

    1. Avast HTTPS scanning ON → FAIL

      • GOOGLE DRIVE = FAIL
      • GITHUB = FAIL
      • required Drive files unreadable
      • current main = UNVERIFIED
    2. Only Avast “HTTPS scanning” OFF → PASS

      • GOOGLE DRIVE = PASS
      • GITHUB = PASS
      • both required Drive files fully read
      • current main = 132611bcdce116e248a39b6be306a8d43f4ce256
    3. Avast HTTPS scanning ON again → FAIL

      • GOOGLE DRIVE = FAIL
      • GITHUB = FAIL
      • required Drive files unreadable
      • current main = UNVERIFIED

    This was done after:

    • ChatGPT app reset
    • clean ChatGPT Desktop reinstall
    • Orchestrator removal + Windows restart

    Those earlier changes did not resolve the issue.

    The A/B/A result makes Avast HTTPS inspection a strong trigger for the Local connector provisioning failure on this machine. Codex Cloud continues to work with the same account/connectors.

    This may help narrow the failure to how the Windows Local runtime / codex_apps transport reacts to HTTPS inspection or interception. The runtime currently degrades into connector unavailability / world_state ... = null rather than surfacing a transport/TLS-specific error.

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

    appbugmcptool-callswindows-os

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions