ci: back off failed downloads

オープン 初心者向け
#1,752 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

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

2026年11月18日 から。

  • #1756 @ppenna による — オープン

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
68/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
azure, github-actions, rust

調査の方向性

まず common.download() と、それを呼び出す guest-artifact の CI ビルドを特定してください。issue にはファイルパスやテストは記載されていません。失敗したリクエストがどのように再試行されるか、また HTTP レスポンスで Retry-After がどのように表現されるかを確認してください。一時的な失敗に対して待ち時間を設けた上限付きの再試行が行われ、有効な Retry-After 値が尊重され、guest-artifact のビルドが即座に再試行しなくなれば完了です。

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

説明

area: ci
What is this bug about?

Observed: CI guest-artifact builds can fail when packages.microsoft.com rate-limits an Azure Linux RPM request with HTTP 429. common.download() immediately retries each failed request, so the retries can all hit the same rate limit.
Expected: transient network and rate-limit failures should wait before the next bounded retry, honoring a valid Retry-After header when supplied.
Errors: HTTP Error 429: Too Many Requests downloading audit-libs-3.1.2-1.azl3.x86_64.rpm.

Why is this bug relevant?

Impact: guest-artifact builds fail intermittently due to a shared package-host rate limit; the required CI jobs then skip downstream checks.
Workaround: rerun CI after rate limiting clears.
Regression: not known.

How is this bug reproducible?
  1. Run the guest-artifact build when packages.microsoft.com is rate-limiting requests.
  2. Observe the download fail with HTTP 429 and the retries occurring immediately.

Frequency: Intermittent. Three CI runs on 2026-11-18, including two pushes to dev, hit the same package and HTTP 429.

主要言語
Rust
スター
848
フォーク
63
平均マージ
12時間 24分
マージ済み PR(30日)
612

環境構築

  • Dockerfile・Docker Compose ファイルなし
  • プルリクエストのテンプレートあり
  • コントリビューションガイドなし

はじめの一歩

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

microsoft/nvx のほかの issue

microsoft/nvx の issue をすべて見る

似ている issue

Rust の issue をもっと見る

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

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