release runner: read Communique Markdown as CommonMark, not line by line
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 56/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- javascript, node.js
- Domain
- release
Research direction
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.
Written by the indexing model from the issue text.
Description
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
- Dominant language
- Lua
- Stars
- 3.2k
- Forks
- 223
- Avg merge
- 6h 7m
- Merged PRs (30d)
- 210
Getting set up
Starts the project's dev container in your browser, under your own GitHub account.
- No Dockerfile or Docker Compose file
- No pull request template
- No contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from coder/claudecode.nvim
-
needs-triage
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
coder/claudecode.nvim#588 ·
Maintainers usually reply within 1 day
-
needs-triage
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
coder/claudecode.nvim#587 ·
Maintainers usually reply within 1 day
-
bug needs-triage
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
coder/claudecode.nvim#313 ·
Maintainers usually reply within 1 day
-
needs-triage
Difficulty 4/5 3-5 days Newbie friendliness 56/100
coder/claudecode.nvim#590 ·
Maintainers usually reply within 1 day
-
needs-triage
Difficulty 3/5 1-2 days Newbie friendliness 58/100
coder/claudecode.nvim#586 ·
Maintainers usually reply within 1 day
All issues in coder/claudecode.nvim
Similar issues
-
documentation night-shift
Difficulty 1/5 Under an hour Newbie friendliness 90/100
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
nvim-telescope/telescope.nvim#3718 ·
Maintainers usually reply within 1 day
-
bug discord guide:leatherworking locale:enUS triage v0.3.6
Difficulty 2/5 1-3 hours Newbie friendliness 67/100
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 88/100
Maintainers usually reply within 1 day
-
Data Correction Forever
Difficulty 2/5 1-3 hours Newbie friendliness 67/100
Maintainers usually reply within 1 day