Feature: freshness indicator + one-click bump for outdated uses: action versions
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 45/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 静か
- 技術スタック
- github-actions, typescript, vscode
調査の方向性
まず、拡張機能で既に使われている箇所を追跡します。解決処理と認証済みのアクションメタデータ呼び出し、および #592 と #593 の関連作業が対象です。freshness の結果、CodeLens、Quick Fix の動作、24 時間のキャッシュ、github-actions.versionCheck 設定がそのパイプラインにどう組み込まれるかを定義します。完了の条件は、古くなった refs がインラインで表示され、設定された pin スタイルを維持したまま更新できることです。
索引モデルが issue の本文から書いたものです。
説明
Summary
The extension already resolves uses: owner/repo@ref for validation. It does not surface whether the pinned ref is the latest.
Effect: workflows quietly drift onto EOL action majors (e.g. actions/checkout@v3 after v4 is default, actions/upload-artifact@v3 after the v3 sunset). Users only notice on a deprecation warning in a run log, weeks later.
Proposal
For each uses: line:
- On workflow open, resolve the pinned ref against the action's releases (already an authenticated call the extension can make).
- If a newer major/minor exists, render a subtle CodeLens above the line:
v3 -> v4 available (published 3 months ago). - Clicking the CodeLens offers a Quick Fix: rewrite
@v3to@v4(or@<sha> # v4.1.7if the current pin is a SHA, preserving the pin style). - Results cached per-action for 24h to avoid API-limit churn. Setting:
github-actions.versionCheck.enabled(default: on) +github-actions.versionCheck.pinStyle(tag|sha|preserve, defaultpreserve).
Why this belongs in the extension
Dependabot handles it eventually, but only after a PR round-trip. Renovate/Dependabot are async, this is inline. Same latency benefit as npm-outdated inline hints in the JS ecosystem.
Non-goals
- Not a security scanner (that is dependabot /
gh actions-secureterritory). - Not automated PR opening.
Related
- #592 (autocomplete for action inputs) - same "we already have action metadata loaded" muscle
- #593 (commit-pinned unresolved) - same resolution pipeline
- 主要言語
- TypeScript
- スター
- 661
- フォーク
- 214
- PR マージ指標
- 30日以内にマージされた PR はありません
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
github/vscode-github-actions のほかの issue
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
github/vscode-github-actions#627 · リアクション 1 件 ·
-
long work オープン
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
github/vscode-github-actions#628 ·
-
bug
難易度 3/5 1〜2日 初心者へのやさしさ 55/100
github/vscode-github-actions#625 ·
-
bug
難易度 3/5 1〜2日 初心者へのやさしさ 64/100
github/vscode-github-actions#621 · コメント 3 件 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 50/100
github/vscode-github-actions#619 ·
github/vscode-github-actions の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
-
bug v2
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
modelcontextprotocol/inspector#2458 · コメント 1 件 ·
-
難易度 1/5 1時間未満 初心者へのやさしさ 75/100
railmapgen/rmp-gallery#4068 ·
-
Mend: dependency security vulnerability status: needs triage 🕵️♀️
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
carbon-design-system/ibm-products#9907 ·