fix(ci): compare check-plugins' stale-version step against the merge base
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 72/100
調査の方向性
CI workflow の check-plugins という名前のステップの STALE VERSION を見つけ、origin/main に対する変更をどのように判定するかを調べてください。まずそのステップと既存のテストを読んでください。次の両方の受け入れケースをカバーするテストを追加してください。main より遅れていて共有ファイルに変更がないブランチは成功し、共有ファイルを変更して fragment がないブランチは失敗します。
索引モデルが issue の本文から書いたものです。
説明
Problem
check-plugins' STALE VERSION step fails a PR that is only behind main. It counts main's newer shared-file syncs (lib/prerequisites.mjs, lib/session-bridge/* and their plugin copies) as the PR's own changes. Examples: #8467 changed 4 files, none of them shared, and was 27 commits behind main; it failed with dozens of "changed vs origin/main but , in fragment mode, has no fragment" lines (run 39299393562). #8497 and #8489 failed the same way. Updating each PR from main clears the failure, but every update reruns full CI and both AI review lanes, which spends hosted-job concurrency and delays the merge.
Fix
Compare against the merge base (origin/main...HEAD, three dots), not the tip of main, wherever the step decides what "changed vs origin/main".
Acceptance
- A test where a branch behind main that changes no shared file passes the step, when main has since changed a shared file and its copies.
- A test that a branch which itself changes a shared file with no fragment still fails.
🤖 Generated with Claude Code
- 主要言語
- Shell
- スター
- 22
- フォーク
- 2
- 平均マージ
- 8時間 44分
- マージ済み PR(30日)
- 926
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
melodic-software/claude-code-plugins のほかの issue
-
status: ready
難易度 2/5 1〜3時間 初心者へのやさしさ 73/100
melodic-software/claude-code-plugins#8537 ·
メンテナーはふだん 1 日以内に返信
-
priority: low
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
melodic-software/claude-code-plugins#8476 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
area: security needs-human priority: low
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
melodic-software/claude-code-plugins#8472 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
priority: low
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
melodic-software/claude-code-plugins#8434 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
needs-human
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
melodic-software/claude-code-plugins#8405 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
melodic-software/claude-code-plugins の issue をすべて見る
似ている issue
-
needs-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
mattpocock/skills#1307 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
vladmandic/sdnext#5161 ·
メンテナーはふだん 1 日以内に返信
-
severity: low
難易度 1/5 1〜3時間 初心者へのやさしさ 89/100
luainkernel/lunatik#1980 ·
メンテナーはふだん 1 日以内に返信
-
out-of-date
難易度 1/5 1時間未満 初心者へのやさしさ 72/100
CachyOS/CachyOS-PKGBUILDS#2022 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1〜3時間 初心者へのやさしさ 78/100