Skip to content
This repository has been archived by the owner on Mar 6, 2024. It is now read-only.

add retry plugin #195

Merged
merged 1 commit into from
Apr 18, 2023
Merged

add retry plugin #195

merged 1 commit into from
Apr 18, 2023

Conversation

harjotgill
Copy link
Contributor

@harjotgill harjotgill commented Apr 18, 2023

Summary by OpenAI

Release Notes

  • New Feature: Added automatic retries of failed requests with a maximum of 10 retries and excluding HTTP status code 429 from being retried, improving the reliability of the application.

"Retry, retry, we won't cry. With @octokit/plugin-retry, our app will never die."

@github-actions
Copy link
Contributor

🤖 OpenAI

High-level summary

The changes add the @octokit/plugin-retry package as a dependency to the project and configure it to automatically retry failed requests with a maximum of 10 retries, excluding HTTP status code 429. This improves the reliability of the application by handling transient errors that may occur during network communication.

Files Summary

File Changes
package-lock.json
package.json
The @octokit/plugin-retry package is added as a dependency to the project in both files.
src/octokit.ts The @octokit/plugin-retry plugin is added to the Octokit instance in src/octokit.ts, allowing for automatic retries of failed requests with a maximum of 10 retries and excluding HTTP status code 429 from being retried.

Chat with 🤖 OpenAI Bot (@openai)

  • Reply on review comments left by this bot to ask follow-up questions. A review comment is a comment on a diff or a file.
  • Invite the bot into a review comment chain by tagging @openai in a reply.

Code suggestions

  • The bot may make code suggestions, but please review them carefully before committing since the line number ranges may be misaligned.
  • You can edit the comment made by the bot and manually tweak the suggestion if it is slightly off.

Files ignored due to filter (1)

Ignored files

  • dist/index.js

@harjotgill harjotgill merged commit 94fc36e into main Apr 18, 2023
@harjotgill harjotgill deleted the retry branch April 18, 2023 23:07
shoyuf pushed a commit to maybeLab/openai-mr-reviewer-gltlab that referenced this pull request Jun 25, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant