release runner: read Communique Markdown as CommonMark, not line by line
Maintainer antworten meist innerhalb von 1 Tag
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Anfängerfreundlichkeit
- 56/100
- Issue-Typ
- Bug
- Klarheit
- Klar beschrieben
- Aktivitätsstatus
- Aktiv
- Tech-Stack
- javascript, node.js
- Bereich
- release
Rechercherichtung
Start with scripts/release-please-runner.js, especially normalizeCommuniqueBody and findLineOutsideFences, then inspect the existing draft check that uses pinned commonmark.js. Reproduce the listed setext, ATX, CR-only, and HTML-comment cases with the real Communique binary, and check the frozen historical entries. Done means the cases pass and those historical outputs remain byte-identical.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
The release runner reads Communique Markdown line by line, not as CommonMark.
Verified on main with require("./scripts/release-please-runner.js").normalizeCommuniqueBody(body):
- A setext heading (
Featuresover--------or========) and an ATX H1 (# Features) are not demoted, because the code demotes only lines that start with##. Body"Features\n--------\n\n- A\n". - The leading version-heading regex
/^#{1,3} \[?v?\d[^\n]*\n*/is LF-only. Body"## 0.4.0\r- A\r- B\r"comes back as"", so the entry becomes the placeholder "Maintenance release with no user-facing changes." and the notes are lost. - A
## noteline inside a multi-line HTML comment is rewritten to### note. Body"<!--\n## note\n-->\n\n- A\n".
Also check the title finder findLineOutsideFences and CR-only heading handling in the same pass.
Planned fix. Parse the body with commonmark.js (already a pinned devDependency used by the draft check). Drop the leading version heading and demote headings by block, setext and H1 included. Replace the line-based title finder the same way. Test each case with the real Communique binary, and keep the output of the frozen historical entries byte-identical.
Owner: the next change to the release runner, with the second-pass issue filed next to this one. Deferred from the README verification run with the maintainer's agreement.
Generated with xum • Model: anthropic:claude-opus-5-5 • Thinking: high
- Vorherrschende Sprache
- Lua
- Sterne
- 3.2k
- Forks
- 223
- Ø Merge
- 6 Std. 7 Min.
- Gemergte PRs (30 T.)
- 210
Entwicklungsumgebung
Startet den Dev-Container des Projekts im Browser, mit Ihrem eigenen GitHub-Konto.
- Kein Dockerfile und keine Docker-Compose-Datei
- Keine Pull-Request-Vorlage
- Kein Beitragsleitfaden
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus coder/claudecode.nvim
-
needs-triage
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
coder/claudecode.nvim#588 ·
Maintainer antworten meist innerhalb von 1 Tag
-
needs-triage
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
coder/claudecode.nvim#587 ·
Maintainer antworten meist innerhalb von 1 Tag
-
bug needs-triage
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
coder/claudecode.nvim#313 ·
Maintainer antworten meist innerhalb von 1 Tag
-
needs-triage
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 56/100
coder/claudecode.nvim#590 ·
Maintainer antworten meist innerhalb von 1 Tag
-
needs-triage
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 58/100
coder/claudecode.nvim#586 ·
Maintainer antworten meist innerhalb von 1 Tag
Alle Issues in coder/claudecode.nvim
Ähnliche Issues
-
documentation night-shift
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 90/100
-
bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 82/100
nvim-telescope/telescope.nvim#3718 ·
Maintainer antworten meist innerhalb von 1 Tag
-
leatherworking is wrongOffenbug discord guide:leatherworking locale:enUS triage v0.3.6
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 67/100
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 88/100
Maintainer antworten meist innerhalb von 1 Tag
-
Data Correction Forever
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 67/100
Maintainer antworten meist innerhalb von 1 Tag