coderabbitai / ai-pr-reviewer

AI-based Pull Request Summarizer and Reviewer with Chat Capabilities.
https://coderabbit.ai
MIT License
1.42k stars 261 forks source link

retry on secondary limits except when submitting batched review #384

Closed harjotgill closed 11 months ago

harjotgill commented 11 months ago

Summary by OpenAI

### Bug fix:
- Added a condition to prevent retrying a POST request on a specific endpoint related to pull request reviews. This change enhances the efficiency of our system by avoiding unnecessary retries.

> 🎉 No more retries, no more waits, 🕐
> On pull requests, we've closed the gates. 🚪
> With this fix, we take a bow, 🙇‍♂️
> Smoother reviews, we have now! 🥳
github-actions[bot] commented 11 months ago

:robot: OpenAI

High-Level Summary

The changeset introduces a condition to prevent retrying POST requests on a specific endpoint related to pull request reviews in the Octokit module. This is likely aimed at improving efficiency and reducing unnecessary network traffic.

File Summary
src/octokit.ts A condition has been added to avoid retrying POST requests on a specific pull request review endpoint.

Chat with 🤖 OpenAI Bot (@openai)

Code suggestions

Ignoring further reviews


Files ignored due to filter (1) ### Ignored files * dist/index.js

In the recent run, only the files that changed from the base of the PR and between a116595e1a67840ed5fdfe1dc2639b539729d20e and 70568fce4e6c190ff7a8148caae46245b8d39b6b commits were reviewed.

Files not reviewed due to simple changes (1) ### Skipped review in the recent run * src/octokit.ts