SPR Graphite issue

I am attempting to submit a SPR using Graphite. However, when using gt submit --stack --draft I receive the following error message during PR creation (branches are created):

🥞 Validating that this Graphite stack is ready to submit...

✏️ Preparing to submit PRs for the following branches...
▸ users/jmciver/select-freeze-poison-1 (Create)
▸ users/jmciver/select-freeze-poison-2 (Create)

🚀 Pushing branches to remote...

📨 Creating/updating PRs...
ERROR: Failed to submit PR for users/jmciver/select-freeze-poison-1:
Unable to submit PR due to a GitHub server error.
Please wait a few minutes and then try your submit operation again.

I have validated the following:

  • Using NodeJS v18.20.7 as per Graphite documentation
  • Authentication token is valid and associated to llvm/llvm-project
  • Branch prefix is set to users/jmciver/
  • Reviewed output using --debug
    • No obvious culprit identified

Has anyone seen this error signature before? If not what are the next steps for debugging?

John

I made contact with Graphite support via their Slack community. Their support was excellent.

To provide further context I had and existing development branch, not tracked (created) by Graphite, with multiple commits that I wanted to break into multiple branches to submit as an SPR. To do this I used:

gt split --by-commit

This had the desired effect of creating the branches, but the Graphite metadata was wrong.

To resolve this I should have first had Graphite track the non-Graphite created development branch using:

gt track 

Once Graphite was tracking the branch gt split --by-commit would be able to generate the necessary per branch metadata.