Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Rate limit

オープン
#201 コメント 4 件 リアクション 0 件 担当者 0 名 GitHub で見る

@Br1an67 がすでに取り組んでいます。

2026年3月1日 から。

  • #206 @Br1an67 による — オープン

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
github, javascript
領域
api, backend

調査の方向性

@octokit/plugin-throttling の設定と、POST /repos/{owner}/{repo}/pulls/{pull_number}/reviews リクエストパスから始めます。onAbuseLimit() と onSecondaryRateLimit がどのように処理されているかを確認し、その後、多数の変更ファイルを使ってループを再現します。rate limit の後にレビューが無限に再試行されなくなれば完了です。

索引モデルが issue の本文から書いたものです。

説明

On many changed files, PR, the action gets into a loop of rate limit errors.

Warning: [@octokit/plugin-throttling] `onAbuseLimit()` is deprecated and will be removed in a future release of `@octokit/plugin-throttling`, please use the `onSecondaryRateLimit` handler instead
{ name: 'octokit' }
Warning: Abuse limit hit with "POST /repos/{owner}/{repo}/pulls/{pull_number}/reviews", retrying in 5 seconds.

It appears that 5-second retries are not sufficient for GitHub to release the rate limit.

My suggestion is to add a comment as soon as every file scan is finished, this way the delay between POSTs will be long enough not to cause this loop.

主要言語
JavaScript
スター
4.5k
フォーク
464
PR マージ指標
30日以内にマージされた PR はありません

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

anc95/ChatGPT-CodeReview のほかの issue

anc95/ChatGPT-CodeReview の issue をすべて見る

似ている issue

JavaScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。