PR status panel shows GitHub CLI unavailable in non-GitHub workspace

Open 💬 0 comments Opened Jun 24, 2026 by LiuJiaKang-I

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

26.616.81150

What subscription do you have?

N/A

What platform is your computer?

Darwin 24.6.0 arm64 arm

What issue are you seeing?

The Codex App right-side panel shows PR-related status messages even when the current workspace is not a GitHub pull request context.

<img width="1089" height="382" alt="Image" src="https://github.com/user-attachments/assets/a46282f6-adde-4032-a575-e9f949cca56d" />

Observed behavior:

  • In a workspace that is not intended to use GitHub PR integration, the right side panel shows "Pull request status unavailable".
  • After uninstalling GitHub CLI, the message changes to "GitHub CLI unavailable".
  • This makes the app look GitHub-dependent, even though Codex can be used for local projects and non-GitHub workflows.

This appears to be a PR/GitHub integration status being surfaced too aggressively in contexts where it is not applicable.

What steps can reproduce the bug?

  1. Open Codex App.
  2. Start or open a thread whose working directory is not a GitHub PR branch. In my case, the workspace is a local directory used for a Codex conversation, not a GitHub PR workflow.
  3. Look at the right-side panel.
  4. Observe that it shows "Pull request status unavailable".
  5. Uninstall or make GitHub CLI (gh) unavailable.
  6. Reopen or refresh the Codex App/thread.
  7. Observe that the right-side panel now shows "GitHub CLI unavailable".

No GitHub PR integration is expected for this workspace.

What is the expected behavior?

If the current workspace is not a GitHub repository, not on a GitHub remote, or not associated with a GitHub pull request, the PR status module should be hidden or collapsed.

Missing GitHub CLI should not be shown as a persistent warning/status in non-GitHub or non-PR workflows. The app should only surface "GitHub CLI unavailable" when the user is actively trying to use a GitHub PR feature or when the current workspace is clearly a GitHub PR context.

Additional information

Related issues that seem adjacent but not identical:

  • #23473: "Pull request status unavailable" despite gh pr view working.
  • #17991: Summary tab shows "GitHub CLI unavailable" / "Pull request status unavailable" as a generic fallback.
  • #27740: Codex Desktop falsely reports "GitHub CLI unavailable" when shell environment discovery times out.
  • #13689: Windows app reports GitHub CLI missing even when gh is available.

This issue is specifically about hiding or suppressing the PR status panel when the workspace is not a GitHub PR context.

View original on GitHub ↗