Open RKeelan opened 2 months ago
I took a look at generate-pr.ts
on the debugger and it looks like the PR that Buildware was trying to make had changes to three files:
The request I'm running is "Change the name of index.html to stories.html," so it seems like one problem is that the PR should be adding Site/stories.html
as the first change. I tried modifying the path of the first change directly in the debugger, which resulted in a different error: TypeError: Cannot read properties of undefined (reading 'headers')
(But it wouldn't surprise me at all if modifying the changes directly in the debugger like that broke something.
Perhaps updating the same path in two ways is what causes the GitRPC::BadObjectState
? I don't know enough about GitHub's API to say.
(I pressed the wrong button for my previous comment)
I got
Error: Failed to run issue: Error: GitRPC::BadObjectState - https://docs.github.com/rest/git/trees#create-a-tree
when trying to run a simple PR.Here is a screenshot of the error message:
Here is an extract from the log:
Buildware is running locally in Simple mode. This is the first issue I've attempted to run, so I can't rule out a permissions issue, but I did follow the simple setup instructions. I've checked the Postgres DB, and I see records in
issues
andissues_messages
. I was able to reproduce the issue by re-running the PR.