Skip to content
This repository was archived by the owner on Feb 20, 2026. It is now read-only.
This repository was archived by the owner on Feb 20, 2026. It is now read-only.

failed to run git: fatal: not a git repository (or any of the parent directories): .git #30

@firepol

Description

@firepol

Not sure how I got this, in the container I see a workspace folder and it has the .git folder.

I think it runs the gh pr list command outside of /workspace.

I could see the logs by running claude-sanbox attach. It shows a lot of there errors and the UI in the browser also showed out of sync

Could not fetch PR info: Error: Command failed: gh pr list --head "loading..." --json number,title,state,url,isDraft,mergeable
failed to run git: fatal: not a git repository (or any of the parent directories): .git


    at genericNodeError (node:internal/errors:983:15)
    at wrappedFn (node:internal/errors:537:14)
    at ChildProcess.exithandler (node:child_process:417:12)
    at ChildProcess.emit (node:events:519:28)
    at maybeClose (node:internal/child_process:1101:16)
    at Socket.<anonymous> (node:internal/child_process:456:11)
    at Socket.emit (node:events:519:28)
    at Pipe.<anonymous> (node:net:346:12) {
  code: 1,
  killed: false,
  signal: null,
  cmd: 'gh pr list --head "loading..." --json number,title,state,url,isDraft,mergeable',
  stdout: '',
  stderr: 'failed to run git: fatal: not a git repository (or any of the parent directories): .git\n' +
    '\n'
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions