Sticky PR comment: show what changed against the base branch, not just the full table
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 48/100
- issue の種類
- 機能追加
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- github-actions, javascript
調査の方向性
First read the MVP sticky-comment issue this depends on, then trace how the action reads the registry and builds the PR comment. Work out how to read the base branch registry and compare codes by enum and variant; add coverage for added, removed, changed, unchanged, and unavailable-base cases. Done when the comment shows the diff with the full table collapsed, handles no changes plainly, falls back safely, and the tests pass.
索引モデルが issue の本文から書いたものです。
説明
Split out of #4's own stated "ideally" scope: "the comment shows a diff against the base branch's registry — codes added, codes whose meaning changed — rather than the full table every time. The full table can go in a collapsed <details> block."
Scope
Builds on the MVP sticky-comment issue (also split from #4). Requires scanning the base branch's registry (e.g. via a second checkout or the base ref's tree) and diffing codes by enum+variant.
Acceptance criteria
- Comment leads with added/removed/changed codes relative to the base branch; the full table moves into a collapsed
<details>block. - A PR with no registry changes says so plainly instead of showing an empty diff section.
- Tests cover added, removed, and changed-meaning (same code, different enum/variant) cases.
- Falls back to the full-table-only behaviour if the base ref's registry can't be computed (e.g. a fork PR without base checkout access), rather than failing the job.
Complexity: medium.
Depends on: the MVP sticky-comment issue split from #4.
- 主要言語
- JavaScript
- スター
- 0
- フォーク
- 0
- 平均マージ
- 7時間 28分
- マージ済み PR(30日)
- 10
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
codepacct/codepact-action のほかの issue
-
documentation good first issue wave
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
codepacct/codepact-action#68 ·
メンテナーはふだん 1 日以内に返信
-
documentation good first issue wave
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
codepacct/codepact-action#67 ·
メンテナーはふだん 1 日以内に返信
-
good first issue tests wave
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
codepacct/codepact-action#66 ·
メンテナーはふだん 1 日以内に返信
-
good first issue tests wave
難易度 1/5 1〜3時間 初心者へのやさしさ 79/100
codepacct/codepact-action#65 ·
メンテナーはふだん 1 日以内に返信
-
good first issue tests wave
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
codepacct/codepact-action#64 ·
メンテナーはふだん 1 日以内に返信
codepacct/codepact-action の issue をすべて見る
似ている issue
-
bug security
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
IbrahimHafez1/loadwise#251 ·
メンテナーはふだん 1 日以内に返信
-
documentation good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 87/100
erkamyaman/unslop-anything#421 ·
メンテナーはふだん 1 日以内に返信