[GH-ISSUE #7482] [Feature]: Compile CHANGELOG.md at release time instead of in every PR #4168

Closed
opened 2026-10-21 06:12:02 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @SpicyMarinara on GitHub (Oct 12, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/7482

Originally assigned to: @SpicyMarinara on GitHub.

What problem does this solve?

Every PR adds a line under ## [Unreleased] in CHANGELOG.md, so every merge to staging makes the other open PRs conflict on that file. Resolving the conflict means pushing a merge commit, and that reruns all of the PR's checks (about 15 minutes of CI and another CodeRabbit review each time). With several PRs open, they land one per CI cycle.

Proposed solution

Stop adding changelog entries in feature and fix PRs:

  • Remove the per-PR changelog duty from AGENTS.md, .github/agents/chai-workflow.md, CONTRIBUTING.md, the PR template and the game-rulesets design doc.
  • Remove the CodeRabbit changelog recipe, and turn its "Changelog entry" pre-merge check into a warning when a non-release PR edits CHANGELOG.md.
  • Before every main release, list the PRs merged to staging since the last tag and turn them into the release's CHANGELOG.md entries, from each PR's "What changed". Document the commands in CONTRIBUTING.md § Standard release flow.

Alternatives considered

  • Spreading each PR's entry to a different spot in [Unreleased] so that git merges them without conflict. This reduces conflicts but doesn't remove them, and needs a helper script on every PR.
  • One changelog fragment file per PR. That removes conflicts, but adds a tool and a folder for something the release step can do from PR descriptions.

Additional context

Requested by the maintainer on 2026-10-12.

Template check

Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked:

  • I DID NOT read this template and provide the requested details.
Originally created by @SpicyMarinara on GitHub (Oct 12, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/7482 Originally assigned to: @SpicyMarinara on GitHub. ## What problem does this solve? Every PR adds a line under `## [Unreleased]` in `CHANGELOG.md`, so every merge to `staging` makes the other open PRs conflict on that file. Resolving the conflict means pushing a merge commit, and that reruns all of the PR's checks (about 15 minutes of CI and another CodeRabbit review each time). With several PRs open, they land one per CI cycle. ## Proposed solution Stop adding changelog entries in feature and fix PRs: - Remove the per-PR changelog duty from `AGENTS.md`, `.github/agents/chai-workflow.md`, `CONTRIBUTING.md`, the PR template and the game-rulesets design doc. - Remove the CodeRabbit `changelog` recipe, and turn its "Changelog entry" pre-merge check into a warning when a non-release PR edits `CHANGELOG.md`. - Before every main release, list the PRs merged to `staging` since the last tag and turn them into the release's `CHANGELOG.md` entries, from each PR's "What changed". Document the commands in `CONTRIBUTING.md § Standard release flow`. ## Alternatives considered - Spreading each PR's entry to a different spot in `[Unreleased]` so that git merges them without conflict. This reduces conflicts but doesn't remove them, and needs a helper script on every PR. - One changelog fragment file per PR. That removes conflicts, but adds a tool and a folder for something the release step can do from PR descriptions. ## Additional context Requested by the maintainer on 2026-10-12. ## Template check Please **uncheck (untick)** the box below before submitting so we know you read the template. It is intentionally pre-checked: - [ ] I DID NOT read this template and provide the requested details.
Author
Owner

@SpicyMarinara commented on GitHub (Oct 12, 2026):

Done on staging by #7483.

<!-- gh-comment-id:6130408342 --> @SpicyMarinara commented on GitHub (Oct 12, 2026): Done on staging by #7483.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Engine#4168
No description provided.