-
Notifications
You must be signed in to change notification settings - Fork 474
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BUG: Failures in Branch-Protection during release testing #1320
Comments
"reason": "could not find branch name release/v2.18: branch not found",
"reason": "internal error: invalid score 2 != 0", |
Assigning to @asraa the part on version not being found. not urgent |
It seems like this is because there's a large number of branches (>30) and the GitHub API making the call to |
Ah, this was fixed by increasing the Is this a hard-limit? I could also increase this so that it makes another API call to fetch branches if it wasn't found in the first 30. |
I see. @azeemshaikh38 can you chime in? Will this trigger issues with API rate limiting in the weekly cron? @asraa how do we calculate the "right" number of |
Nice catch! I'm a bit hesitant about increasing My suggestion would be to update One FYI, GitHub allows you to list all |
I think I can work with that! Given that we only want the release and default branches for branch protection, I can plumb that in through setup to create the query for those branch names. |
I am going to work on this issue. |
Release tests found some issues with Branch-Protection check. Looks like related to recent scoring PR. @laurentsimon assigning to you for further debugging.
The text was updated successfully, but these errors were encountered: