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

CI: make sccache resilient to transient cache-backend failures

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

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

まだ誰も着手していません。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
78/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
azure, github-actions

調査の方向性

リンク先のConfiguration.mdにあるsccacheの環境変数の説明を読み、.github/workflows/build-wheel.ymlと.github/workflows/test-sdist-linux.ymlにあるsccacheの環境ブロックを確認してください。適切な箇所に提案された設定を追加し、一時的なキャッシュ起動失敗が発生してもワークフローがビルドを続行でき、通常のキャッシュ利用も引き続き機能することを確認してください。

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

説明

CI/CD P1

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_check read/write that is the actual thing failing here. Documented in mozilla/sccache docs/Configuration.md; parsed in src/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=5 and SCCACHE_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 at src/config/client.rs:730-731 (confirmed present at the v0.18.0-rapids.7 tag that install-sccache pins). Not currently in upstream mozilla/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 existing SCCACHE_GHA_ENABLED=true / SCCACHE_PREPROCESSOR_CACHE_GHA_ENABLED=true block.
  • .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

環境構築

はじめの一歩

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

NVIDIA/cuda-python のほかの issue

NVIDIA/cuda-python の issue をすべて見る

似ている issue

Build System の issue をもっと見る

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

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