Sticky PR comment: show what changed against the base branch, not just the full table
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 48/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Attiva
- Stack tecnologico
- github-actions, javascript
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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.
- Lingua principale
- JavaScript
- Stelle
- 0
- Fork
- 0
- Merge medio
- 7h 28m
- PR unite (30g)
- 10
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di codepacct/codepact-action
-
documentation good first issue wave
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
codepacct/codepact-action#68 ·
I maintainer di solito rispondono entro 1 giorno
-
documentation good first issue wave
Difficoltà 2/5 1-3 ore Idoneità per principianti 86/100
codepacct/codepact-action#67 ·
I maintainer di solito rispondono entro 1 giorno
-
good first issue tests wave
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
codepacct/codepact-action#66 ·
I maintainer di solito rispondono entro 1 giorno
-
good first issue tests wave
Difficoltà 1/5 1-3 ore Idoneità per principianti 79/100
codepacct/codepact-action#65 ·
I maintainer di solito rispondono entro 1 giorno
-
good first issue tests wave
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
codepacct/codepact-action#64 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di codepacct/codepact-action
Issue simili
-
bug security
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
IbrahimHafez1/loadwise#251 ·
I maintainer di solito rispondono entro 1 giorno
-
documentation good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 87/100
erkamyaman/unslop-anything#421 ·
I maintainer di solito rispondono entro 1 giorno