Skip to content

Failed to create PR: pull request create failed: GraphQL: Head sha can't be blank, Base sha can't be blank #1928

@wovalle

Description

@wovalle

Checklist

  • I searched existing issues and this hasn't been reported

Area

Fullstack

Operating System

macOS

Version

2.7.6

What happened?

I started using this project yesterday and I consistently get the following error when trying to create a PR from the ui:

Failed to create PR: pull request create failed: GraphQL: Head sha can't be blank, Base sha can't be blank, No commits between main and <<branch in worktree I want to push>>, Head ref must be a branch (createPullRequest)

I tried in multiple repos to discard weird git config in my main repo and I get the same error.

My workflow is pretty standard, I create a ticket, auto-claude plans and implement the fixes, but at the moment of making the PR I always get the same error

Am I missing something here?

Steps to reproduce

  1. Create a task
  2. Auto-claude plans and implement the feature
  3. Click Create PR
  4. Kaboom

Expected behavior

The PR is created

Logs / Screenshots

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/fullstackThis is Frontend + BackendbugSomething isn't workingneeds-triageNew issue, maintainer review needed

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions