Skip to content
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

Fix: Remove Retry Logic #449

Conversation

harrisoncramer
Copy link
Owner

This MR changes the configuration to the HTTP client so that it doesn't retry failed attempts. This behavior was causing problems when Gitlab fails with a 500 status code, but actually publishes something.

@harrisoncramer harrisoncramer changed the base branch from main to develop December 26, 2024 19:39
@harrisoncramer harrisoncramer marked this pull request as ready for review December 26, 2024 19:39
@harrisoncramer
Copy link
Owner Author

@jakubbortlik I think this will prevent posting multiple notes/comments, this HTTP client has retry logic that I believe is being triggered by general HTTP errors from Gitlab: https://github.com/hashicorp/go-retryablehttp

@jakubbortlik
Copy link
Collaborator

Nice! I haven't really tried to find a way to reproduce the issue, but I just hope it will not reappear after this fix. Thanks!

@harrisoncramer harrisoncramer merged commit 3b83880 into develop Dec 26, 2024
6 checks passed
harrisoncramer added a commit that referenced this pull request Jan 18, 2025
Miscellaneous bug fixes and improvements.

docs: various improvements (#445)
fix: don't jump to file from reviewer if it doesn't exist (#452)
fix: force linewise motion in suggestion keybinding (#454)
fix: prevent error after plenary job update (#456)
fix: fix JSON on Windows (#458)
fix: remove retry logic (#449)
fix: check whether comment can be created (#434)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants