Open radicand opened 7 months ago
I'm having the same problem, even with the modifications you suggested i wasn't able to go through for testing. Is there a way to create some sort of checkpoint and only fetch commits from, let's say, April 01 onwards? My logs:
Running release-please version: 16.10.0
✔ Looking for latest release on branch: master with prefix:
❯ Fetching merge commits on branch master with cursor: undefined
❯ Fetching merge commits on branch master with cursor: redacted 24
❯ Fetching merge commits on branch master with cursor: redacted 49
❯ Fetching merge commits on branch master with cursor: redacted 74
❯ Fetching merge commits on branch master with cursor: redacted 99
❯ Fetching merge commits on branch master with cursor: redacted 124
❯ Fetching merge commits on branch master with cursor: redacted [14]
❯ Fetching merge commits on branch master with cursor: redacted 174
❯ Fetching merge commits on branch master with cursor: redacted 199
❯ Fetching merge commits on branch master with cursor: redacted 224
Error: release-please failed: We couldn't respond to your request in time. Sorry about that. Please try resubmitting your request and contact us if the problem persists.
@rafilkmp3 to temporarily unblock us, I've installed release-please locally, edited its github.js
file with these params:
const params = {
cursor,
owner: this.repository.owner,
repo: this.repository.repo,
num: 15,
targetBranch,
maxFilesChanged: 50, // max is 100
};
And ran with release-please release-pr --repo-url https://github.com/repo/path --token PAT_HERE --target-branch my-branch
I was able to generate the release this way; it's not ideal, but for anyone who needs to unblock in the interim it may help.
is there anyone from google looking at this?
We're also running into this with one of our repos, @radicand's 'workaround' does work but is quite annoying needing to use it.
same it's happening to us
Environment details
release-please
version: 16.10.0Steps to reproduce
Notes
I can reproduce the error directly by manually querying the API call found here (above): https://github.com/googleapis/release-please/blob/08331fa555ed482f675fb3e9dd5b0a5296e200a3/src/github.ts#L442-L449 with what
release-please
is calling. We have had a few very large commits/merges recently and it is causing the Github API to throw an error which is preventing release-please from completing. We get the following currently:If I tweak the parameters however, I can get the query to succeed. Either setting a lower
num
value (15 works, 20 doesn't for example), or a lowermaxFilesChanged
(50 works, 75 doesn't), will make the query succeed.Can these values become configurable? Alternatively, is there something we can do to short-circuit this? Setting
bootstrap-sha
on the most recent, uncomplicated, commit does nothing to remedy.