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

Add @octokit/plugin-retry to improve API call reliability #944

Merged
merged 1 commit into from
Mar 8, 2025

Conversation

smorimoto
Copy link
Member

Closes #943

Verified

This commit was signed with the committer’s verified signature.
pradyunsg Pradyun Gedam
Signed-off-by: Sora Morimoto <sora@morimoto.io>
@smorimoto smorimoto requested a review from Copilot March 8, 2025 02:40
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PR Overview

This PR adds the @octokit/plugin-retry to improve the reliability of API calls in the setup-ocaml project.

  • Adds import statements for the retry plugin.
  • Modifies multiple calls of github.getOctokit to include the retry plugin.

Reviewed Changes

File Description
packages/setup-ocaml/src/version.ts Updated octokit initialization with retry plugin integration.
packages/setup-ocaml/src/dune.ts Updated octokit initialization with retry plugin integration.
packages/setup-ocaml/src/opam.ts Updated octokit initialization with retry plugin integration.

Copilot reviewed 9 out of 9 changed files in this pull request and generated no comments.

@smorimoto smorimoto merged commit 4f0c8be into master Mar 8, 2025
18 checks passed
@smorimoto smorimoto deleted the octokit-retry branch March 8, 2025 03:04
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.

Action fails early on with failure about inability to find an opam version
1 participant