-
-
Notifications
You must be signed in to change notification settings - Fork 69
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
Inconsistent fetching of commits #158
Comments
We didn't have this issue prior to merging the status change for the DCO and the change @Waterdrips made to use the new endpoint for installation tokens. I would expect one of the above to be related to the regression, as Derek has never shown this error before - neither in local testing or deployed for users. Can one of you raise a support issue with GitHub please? |
You have 5000 (up from 50) per hour for properly authenticated requests, this appears to be a misconfiguration? Are there new limits on how the access tokens can be used? |
I marked this ^ as not a problem, at least from my testing. We generate new token for every request which has those limits refreshed. I opened a ticket here: https://support.github.com/ticket/personal/0/796320 |
Red is Can't seem to replicate the issue now with |
Inconsistent error:
This error is here:
derek/handler/pullrequest_handler.go
Line 242 in 16d7143
And the function is:
derek/handler/pullrequest_handler.go
Line 235 in 16d7143
Things I went through while trying to make the error consistent and it didn't:
Expected Behaviour
Every request for the commits has the same behavior on error or success.
Current Behaviour
Requesting the commits in a PR is inconsistent and might fail.
Possible Solution
In this case we can re-try the request. Possibly if the problem is in the access token we can revisit how we request the token, or fix the error flow of the token.
Steps to Reproduce (for bugs)
Context
This can potentially lead to inconsistency when checking for DCO as if the error is present and derek will fail to list the commits and recognize if there is unsigned one.
Your Environment
or
docker version
(e.g. Docker 17.0.05 ):N/A
N/A
N/A
The text was updated successfully, but these errors were encountered: