restore-jupyter-cache: cache freshness warning and cache-age-days output

オープン
#154 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

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

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

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
55/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
静か
技術スタック
github-actions, shell
領域
ci-cd, devops

調査の方向性

まず restore-jupyter-cache/action.yml:39-45 から始めて現在の Outputs を確認し、次に action の save と restore のエントリーポイントを追跡します。完了条件は、save 時にキャッシュメタデータが書き込まれ、古い restore で警告と step summary が出力され、action が cache-age-days output を公開することです。

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

説明

enhancement

#92 Phase 2: cache freshness warning in restore-jupyter-cache, so a stale cache is loud instead of silent (the #83 failure mode: 40-minute cold builds on every PR for ~2 months).

  • Write .cache-metadata.json at save time
  • Age check on restore: ::warning:: + step-summary when the cache is older than expected
  • New cache-age-days output

Not started — the action declares exactly two outputs, cache-hit and cache-key (restore-jupyter-cache/action.yml:39-45), and no cache-metadata/cache-age string exists in the repo. No consumer repin needed on release: all 11 call sites float on @v0.

主要言語
Shell
スター
0
フォーク
1
平均マージ
20時間 3分
マージ済み PR(30日)
48

環境構築

はじめの一歩

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

QuantEcon/actions のほかの issue

QuantEcon/actions の issue をすべて見る

似ている issue

Shell/Bash の issue をもっと見る

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

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