Skip to content

fix(release): the release pull request's description is regenerated whenever its release branch changes #1346

Closed as not planned

Description

@dan-petty

Problem

The cut writes the release pull request's Included Deliverables and Release Notes once. During v0.2.28, every fix merged into the release branch after the cut (#1290, #1295, #1296, #1297, #1341) needed the description of #1283 edited by hand, so that its notes matched CHANGELOG.md and its list matched the release's issues. #1020 makes the cut read the issue list through the roadmap store, and #1103 moves the changelog into the release merge. Neither keeps the description in step after the cut.

Acceptance criteria

  • When release/vX.Y.Z changes while its release pull request is open, the description is regenerated from the release's issues and its changelog. This can happen through a release.yml job on push, or through devops release pr --refresh, which the roadmap job runs.
  • The regenerated description matches the format the cut writes, and keeps anything a person wrote outside its generated sections.
  • Tests cover regeneration after an item merges, offline.
  • changelog.d/<n>.md records the change; CHANGELOG.md and docs/ROADMAP.md are not edited.
  • uv run devops ci passes.

Strategic alignment

Activity

  1. added
    type/bug
    priority/p2-medium
    scope/release
    on Oct 7, 2026
  2. dan-petty-bot commented on Oct 8, 2026

    @dan-petty-bot
    Collaborator

    Intake placed this item to the backlog: at intake only a critical fix goes into a release; a release start pulls Ready items in, P0 features first.

    • Priority: P2-Medium. It causes recurring manual work on every release where post-cut fixes land, but the release itself still ships correctly.
    • Value: Medium. Saves repeated hand-editing of the PR description on each release cycle and keeps the description consistent with CHANGELOG.md and the issue list.
    • Effort: Medium. Requires a regeneration path (CI job or CLI subcommand), logic to preserve human-written sections, and offline tests covering post-merge regeneration.
  3. dan-petty commented on Oct 8, 2026

    @dan-petty
    OwnerAuthor

    Linked: #1020, which replaces the fail-open milestone read with a store read that this item's regenerated body uses. Found by the 2026-10-08 backlog review.

  4. dan-petty commented on Oct 22, 2026

    @dan-petty
    OwnerAuthor

    Superseded by ADR 0012 (docs/adr/0012-releases-are-derived-by-release-please-from-trunk-and-milestones-are-planning-buckets.md). The cut, the fragments or the hand-built release pull request that this issue concerns are deleted by the new release model.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority/p2-mediumscope/releasetype/bug

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions