-
Notifications
You must be signed in to change notification settings - Fork 587
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
Don't retry too much in Octokit.fsx #942
Conversation
When multiple calls where chained the library did a lot of retries. For example with the default ProjectScaffold build script it made more than 200 calls.
If the user isn't authorized to do something or failed authentication there is no chance that retrying will solve the problem.
Don't retry too much in Octokit.fsx
thx a lot |
First impression is that it's a normal Http error and the code failed after 4 retries but I'll test it a little more to see if I can reproduce. I'll send a PR before that adding logging to retries without any of the things I changed there so we can see how many times a normal request is retried (like NuGet push is doing). Might help with a diagnostic. |
yes seems even if I revert I get issues. At least your version catches the exception and fails properly. |
@forki Nothing i can think of that would affect this. Have you tried to nail it down? What are you doing? |
It seems it only happens on https://github.com/fsprojects/Paket/releases my other release builds still seem to work. (it's always using the same approach). Maybe I hit some upload limit in Paket (we already have 833 releases)? |
@haacked this is now happening on more and more projects even when I don't update any Octokit related code. Seems to be an issue with the response from github API. Did it change? |
@forki hmm, might want to contact Support: https://github.com/contact |
ok thx. will try to create a plain C# + octokit repro tommorow. |
Did this end up being related to the fix made in octokit/octokit.net#895? |
This PR changes 2 things in
OctoKit.fsx
: