Closed wilbooorn closed 1 year ago
I'm pretty sure there is some limit, but none is documented here: https://docs.github.com/en/rest/git/trees?apiVersion=2022-11-28#create-a-tree
The use of GITHUB_BASE_URL
suggests you use a GitHub Enterprise Server version? These often times permit you to customize limits like this.
I can't really help until you have a script that reliably replicates the problem
Hey @gr2m thanks for the reply! I ended up doing all the steps to create a PR manually (basically doing everything this plugin does under the hood), and I was able to get it to work. Still not sure what the issue was, but I guess my problem is solved 😅 Thanks again!
Hi there - is there a limit to the size of a file that can be sent? I'm trying to use the plugin to open a PR to change a ~1500 line YAML file, and I'm getting a socket hang-up every time. When I update the request to only send about 25% of the file, it succeeds (which is what leads me to believe the file size may be the issue). It always fails on the
/trees
call. See the error below, unfortunately I don't have any other useful error info. Any tips/ideas would be greatly appreciated!Octokit code: