You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Codex App: non-git saved workspace roots can trigger renderer high CPU and Git warning loops #19115
Non-git workspace roots should be treated as a cheap negative result.
The app should not retry aggressively enough to burn renderer CPU.
Literal ~ should never be passed into Git worktree resolution as a real directory.
Removing or fixing a saved workspace root should stop the bad refresh loop immediately.
Evidence
In the bad state I saw over 100000 repeated stable-metadata / Not a git repository warnings in one log set.
Representative warnings:
warning [electron-message-handler] worker_rpc_response_error ... method=stable-metadata ... errorMessage="Not a git repository"
warning [git-origins] failed to list worktrees for dir=~
warning [git-origin-and-roots] Failed to resolve origin for workspace
After I either removed the bad root or ran git init in every saved root, the warnings stopped and renderer CPU dropped back to normal.
Workaround
Locally I mitigated it by making every saved workspace root a valid Git repo or removing it from Codex App.
Implementation clue
From inspecting the packaged desktop app JS, one workspace-refresh path appears to special-case ~, but a Git origin / worktree resolution path still tries to resolve ~ directly and logs repeated failures. The retry / refresh behavior also seems too aggressive when stable-metadata returns Not a git repository.
Activity
github-actions commentedon Apr 23, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action