-
-
Notifications
You must be signed in to change notification settings - Fork 0
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
Fixmie should not fail on temporary 5xx errors returned by the Github API #11
Comments
Thank you for creating the issue! We'll get back to you shortly with additional information. |
I just checked the logs on my end and saw this:
Did you applied the suggestion directly? Was there anything else you did differently? Seems like there is a race condition. I fetched the existing comments, Fixmie saw that one of the comments is invalidated, hence it tried to delete them, but then it tried to delete the PR comment it was gone at that point. Not sure why that was caused. |
Thanks for looking into this @fatih, I asked the contributor to try and answer your question. FWIW it happened again today, here: DataDog/dd-trace-go#440. This was one of my own PRs and I haven't had any suggestions from the bot, it simply showed failure. |
The latest issue is because of this:
This is the first time I see this though. Fixmie is a GH application, hence it doesn't store any credentials. It creates a client based on the incoming installation and app id, which is verified and signed by GitHub. |
This was my first PR in this repo, and the first time I heard about fixmie. A few moments after opening the PR the comment from fixmie appeared, including a code suggestion. As the suggestion was trivial (whitespace change) I almost immediately clicked on apply suggestion. I did not do anything else. |
I see, thanks @CAFxX for the feedback. I think |
Another one happened here: DataDog/dd-trace-go#442 It might go away by the time you check though, as I'm actively committing to this PR. Hope this helps in some way :-/ Maybe these are cases that are worthy of a retry before erroring out? |
I've added couple of improvements and when this happens again, I'm going to have more insight on what's wrong. I know this happened but I don't have any logs unfortunately for these events. Please just let me know if this happens again. Next time, you'll also going to see a code next to the email address, which will help me to see what went wrong. |
Sure. Thanks! I can update this issue if it happens again. |
Here's one more in DataDog/dd-trace-go#462 |
Thanks Gabriel. Just checked the logs and all I see is this:
I think there was a hiccup in the GitHub API. In overall most of these |
Thanks Faith! One suggestion would be to retry 5xx errors up to a specific timeout. I will stop reporting these until I hear updates on the issue. Happy to help test further :) I think Fixmie does saves some review time which is great, so we'll continue using it on this repo. I'll update the issue title too to be more specific, but feel free to edit it to whatever makes more sense to you. |
Got another one here: DataDog/dd-trace-go#472. Would be interesting to add a link to a retry button. I'm uninstalling it for now, it fails too often, but happy to add it back once this issue is fixed, or at least a "retry" button is added. |
@gbbr thanks! Seems like this is a
I'm trying to reduce the memory footprint, but it's still not at a place where I like it. |
If you force push or add any new comment, fixmie will check the pull request again. |
Please check out DataDog/dd-trace-go#438
The text was updated successfully, but these errors were encountered: