Repeated comment update causing rate limit
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 45/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- github-actions, typescript
- 領域
- ci-cd
調査の方向性
まず、action が GitHub のコメントを更新している箇所を追跡し、繰り返し出力される "Updated the comment" ログエントリを再現します。action の最後にのみコメントが更新され、GitHub のセカンダリレート制限を引き起こす繰り返しのリクエストが回避されれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Problem
The action is updating the github comment multiple times causing Github to rate limit.
This is from my logs:
Updated the comment https://github.com/example/repo/pull/154#issuecomment-2740430984
Updated the comment https://github.com/example/repo/pull/154#issuecomment-2740430984
Updated the comment https://github.com/example/repo/pull/154#issuecomment-2740430984
Updated the comment https://github.com/example/repo/pull/154#issuecomment-2740430984
...
and so on about +100 or maybe 200 times
After a few repeated runs, I get this error:
data: {
documentation_url: 'https://docs.github.com/free-pro-team@latest/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits',
message: 'You have exceeded a secondary rate limit. Please wait a few minutes before you try again. If you reach out to GitHub Support for help, please include the request ID ...'
}
Can we update the comment only at the end of the action so that we don't hit GH rate limit?
- 主要言語
- TypeScript
- スター
- 20
- フォーク
- 10
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドなし
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
braintrustdata/eval-action のほかの issue
-
Ruby Runtime?対応中かも @dpguthrie が 51 日前に担当しました。 オープン
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
braintrustdata/eval-action の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 83/100
appandflow/stim#5258 ·
メンテナーはふだん 1 日以内に返信
-
area/docs framework/hugo help wanted language/markdown
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
メンテナーはふだん 1 日以内に返信
-
community first-timers-only good first issue hacktoberfest help wanted low hanging fruit up-for-grabs
難易度 1/5 1時間未満 初心者へのやさしさ 68/100
lingdojo/kana-dojo#33660 · コメント 1 件 · リアクション 5 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
drizzle-team/drizzle-orm#6639 ·
メンテナーはふだん 4 日以内に返信
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100