CI: make sccache resilient to transient cache-backend failures
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 78/100
- issue の種類
- バグ
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- azure, github-actions
- 領域
- build-system, ci-cd
調査の方向性
リンク先のConfiguration.mdにあるsccacheの環境変数の説明を読み、.github/workflows/build-wheel.ymlと.github/workflows/test-sdist-linux.ymlにあるsccacheの環境ブロックを確認してください。適切な箇所に提案された設定を追加し、一時的なキャッシュ起動失敗が発生してもワークフローがビルドを続行でき、通常のキャッシュ利用も引き続き機能することを確認してください。
索引モデルが issue の本文から書いたものです。
説明
The sccache daemon currently aborts the build when the remote cache backend returns a transient error at startup. Example from the recent GitHub/Azure outage in build-wheel · PR 3239, step 23 L881:
sccache: error: Server startup failed: cache storage failed to read:
Unexpected (temporary) at read =>
<Error><Code>ServerBusy</Code><Message>Egress is over the account limit.
The compile would have succeeded without the cache; the daemon's pre-flight check is what killed the job. We want sccache to degrade gracefully to a cacheless build in this case.
Proposal — try the env vars suggested by @trxcllnt offline
SCCACHE_SKIP_CACHE_CHECK=true— skip the pre-flight.sccache_checkread/write that is the actual thing failing here. Documented in mozilla/sccachedocs/Configuration.md; parsed insrc/config.rs(skip_cache_check_from_env). Per Paul, cache errors after startup already do not fail the build; the pre-flight is the only hard gate.SCCACHE_CACHE_RATE_LIMIT_ON_ERROR_COUNT=5andSCCACHE_CACHE_RATE_LIMIT_ON_ERROR_WINDOW_SIZE_SECS=5— temporarily disables cache I/O for 5s after 5 errors in a 5s window. Parsed in the rapidsai fork atsrc/config/client.rs:730-731(confirmed present at thev0.18.0-rapids.7tag thatinstall-sccachepins). Not currently in upstreammozilla/sccache.
Where to apply
.github/workflows/build-wheel.yml— the failing path uses the GHA backend; this is where the Azure-blob-storage read fired. Add the env vars alongside the existingSCCACHE_GHA_ENABLED=true/SCCACHE_PREPROCESSOR_CACHE_GHA_ENABLED=trueblock..github/workflows/test-sdist-linux.yml— mirror if the behavior is useful for the local-disk sccache path too.
Related: #1061 (original sccache rollout).
-- Leo's bot
- 主要言語
- Cython
- スター
- 3.4k
- フォーク
- 341
- 平均マージ
- 1日 19時間
- マージ済み PR(30日)
- 144
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
NVIDIA/cuda-python のほかの issue
-
[BUG]: multi-GPU cuda.core samples take the CUDA device count from NVML and break under CUDA_VISIBLE_DEVICES対応中かも @Andy-Jost が 1 日前に担当しました。 オープンbug cuda.core P2
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
NVIDIA/cuda-python#3215 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
[BUG]: cuda.bindings GL interop tests open EGL device 0 on headless multi-GPU hosts and fail with cudaErrorInvalidDevice対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープンtriage
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
NVIDIA/cuda-python#3212 ·
メンテナーはふだん 1 日以内に返信
-
lychee should specify which links are failing対応中かも @kkonnerharris が 1 日前に担当しました。 オープンtriage
難易度 2/5 1〜3時間 初心者へのやさしさ 67/100
NVIDIA/cuda-python#3204 · コメント 2 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
[BUG]: cleanup-pr-previews never removes previews of deleted PRs対応中かも @rwgk が 21 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
NVIDIA/cuda-python#2952 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
[DOC]: cuda.core 1.1.1 note misstates program cache permissions対応中かも @leofang が 35 日前に担当しました。 オープンdocumentation P1
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
NVIDIA/cuda-python#2717 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
NVIDIA/cuda-python の issue をすべて見る
似ている issue
-
Workbench Job template produces invalid YAML for long working directories containing spaces対応中かも @bcpierson-lilly が今日担当しました。 オープンteam: workbench
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
メンテナーはふだん 1 日以内に返信
-
Document how to check behaviour against Apache Kafka, and fetch the reference source対応中かも @sgamelin が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
-
Update samples to Citrus 5.1.0対応中かも @asuruceanu が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
-
ci good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
tomgreef/dj-toolkit#95 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
CanadaHonk/porffor#426 ·