Retry transient GCS errors
メンテナーはふだん 3 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 35/100
調査の方向性
まず、示されている gsutil rsync コマンドを呼び出しているコードを特定し、そのゼロ以外の終了ステータスがどのように処理されているかを確認します。可能であれば一時的な 404 エラーを再現してください。オブジェクトが利用可能になったときに、GCS sync が影響を受けた操作または完全な sync を再試行して成功すれば完了です。
索引モデルが issue の本文から書いたものです。
説明
https://github.com/mozilla/bedrock/actions/runs/4598182706/jobs/8121878736
https://github.com/mozilla/glean/actions/runs/4609412250/jobs/8146505104?pr=2441
gsutil is failing to download objects that fail with 404 exceptions:
Error: Command ['gsutil', '-q', '-m', 'rsync', '-r', 'gs://probe-scraper-prod-artifacts/glean/', '/tmp/tmpy4y4leon/output/glean'] returned non-zero exit status 1:
NotFoundException: 404 gs://probe-scraper-prod-artifacts/glean/reference-browser/general does not exist.
NotFoundException: 404 gs://probe-scraper-prod-artifacts/glean/reference-browser/pings does not exist.
NotFoundException: 404 gs://probe-scraper-prod-artifacts/glean/reference-browser/tags does not exist.
CommandException: 3 files/objects could not be copied/removed.
the error is transient, because the objects do exist, but presumably are temporarily disappearing during upload or something like that. edit: but they have been updated since gsutil listed them, and gsutil requests the specific version at time of listing.
we could retry the full gsutil sync on failure, or we could reimplement the gsutil sync in python and retry 404s. the latter option is probably more robust, and should be relatively short.
- 主要言語
- Python
- スター
- 27
- フォーク
- 74
- 平均マージ
- 4日 8時間
- マージ済み PR(30日)
- 13
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
mozilla/probe-scraper のほかの issue
-
enhancement good-first-bug help wanted priority:4
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
mozilla/probe-scraper#13 · コメント 12 件 ·
メンテナーはふだん 3 日以内に返信
-
難易度 3/5 1〜2日 初心者へのやさしさ 58/100
mozilla/probe-scraper#1078 ·
メンテナーはふだん 3 日以内に返信
-
難易度 3/5 1〜2日 初心者へのやさしさ 68/100
mozilla/probe-scraper#1074 · コメント 2 件 ·
メンテナーはふだん 3 日以内に返信
-
難易度 3/5 1〜2日 初心者へのやさしさ 62/100
mozilla/probe-scraper#1068 ·
メンテナーはふだん 3 日以内に返信
-
難易度 3/5 1〜2日 初心者へのやさしさ 55/100
mozilla/probe-scraper#1039 ·
メンテナーはふだん 3 日以内に返信
mozilla/probe-scraper の issue をすべて見る
似ている issue
-
changelog investigate
難易度 2/5 1〜3時間 初心者へのやさしさ 67/100
ramnes/notion-sdk-py#433 ·
-
docs pkg:core
難易度 1/5 1時間未満 初心者へのやさしさ 84/100
pydantic/pydantic-ai#11929 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
intake/intake-esm#789 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
MemMachine/MemMachine#1877 ·
メンテナーはふだん 3 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
openedx/openedx-authz#579 ·
メンテナーはふだん 1 日以内に返信