Desktop CI monitoring shows all zeros in git worktree

Resolved 💬 4 comments Opened Mar 8, 2026 by masamunet Closed May 15, 2026

Bug Description

The CI monitoring panel in Claude Code Desktop shows all check counts as 0 (In Progress: 0, Passed: 0, Failed: 0, Skipped: 0) when working inside a git worktree, even though GitHub Actions checks are actively running on the PR.

Environment

  • Claude Code Desktop (latest)
  • macOS
  • Git worktree located at: .claude/worktrees/<name>/

Steps to Reproduce

  1. Open a repository in Claude Code Desktop
  2. Create a worktree (the session switches to .claude/worktrees/<name>/)
  3. Create a branch, make changes, push, and open a PR
  4. GitHub Actions CI checks run on the PR
  5. Open the CI monitoring panel in the Desktop status bar

Expected Behavior

The CI monitoring panel should detect and display the check runs associated with the PR for the current worktree branch (e.g., "In Progress: 1" while the check is running, "Failed: 1" if it fails).

Actual Behavior

All counts remain at 0 regardless of check status. The "Auto-fix" toggle is available and enabled, but never triggers because no checks are detected.

Additional Context

  • gh pr status correctly shows the PR and "Checks pending" from the same worktree directory
  • gh pr checks <PR#> correctly shows the check runs
  • gh api repos/<owner>/<repo>/commits/<sha>/check-runs returns the expected check data
  • The worktree branch name and HEAD SHA match the PR's head ref exactly
  • The issue appears to be that the Desktop CI monitoring does not resolve the git worktree path to its associated remote/PR correctly

Workaround

Using a GitHub Actions workflow to auto-fix review issues instead of relying on Desktop auto-fix.

View original on GitHub ↗

This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗