Skip to content

VS Code extension repeatedly spawns git rev-parse --show-toplevel in multi-repository workspace when Codex panel is active #33165

Open

Description

@btaber2gh

What version of the Codex App are you using (From “About Codex” dialog)?

Codex extension 26.5707.71524

What subscription do you have?

Plus

What platform is your computer?

Windows 11 (10.0.26200)

What issue are you seeing?

When the Codex panel is activated in a workspace containing several nested Git repositories, git.exe is spawned continuously running:

git -c core.hooksPath=NUL -c core.fsmonitor= rev-parse --show-toplevel

CPU usage rises noticeably. Closing VS Code immediately stops the Git processes.

Codex hidden → no repeated Git processes.
Click Codex tab → repeated git rev-parse --show-toplevel.
Git Output channel does not show these commands.
Process Explorer shows the Git processes are children of the VS Code process.
Switching to a folder containing only one Git repository causes the Git loop to stop and CPU returns to normal.

What steps can reproduce the bug?

..

What is the expected behavior?

No response

Additional information

No response

Activity

  1. added
    appIssues related to the Codex desktop app
    on Jul 14, 2026
  2. added
    bugSomething isn't working
    extensionIssues related to the VS Code extension
    windows-osIssues related to Codex on Windows systems
    on Jul 14, 2026
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

    appIssues related to the Codex desktop appbugSomething isn't workingextensionIssues related to the VS Code extensionperformancewindows-osIssues related to Codex on Windows systems

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions