Skip to content

docs(release): name the expected DCO failure on a release cut - #640

Open
mocha06 wants to merge 1 commit into
devfrom
rc-dev/docs/release-pr-dco-expectation
Open

docs(release): name the expected DCO failure on a release cut#640
mocha06 wants to merge 1 commit into
devfrom
rc-dev/docs/release-pr-dco-expectation

Conversation

@mocha06

@mocha06 mocha06 commented Aug 21, 2026

Copy link
Copy Markdown
Collaborator

Motivation

RELEASE.md described the squash-rewritten author only as something that happens to back-merge pull requests. A dev → main release cut carries the same commits and fails DCO the same way, and nothing said so.

The failure is easy to misread as a fault in the release commit, and the obvious "fix" makes things worse: re-cutting from somewhere with less history turns the check green by carrying almost nothing, which is also a cut that stamps none of dev's notes.

The bullet was also inaccurate on where such a commit lands. It said main and "the default branch", but most feature pull requests squash onto dev, which is where the mismatched commits actually accumulate.

Outcome

The dev → main release PR section states the expectation where a reader first meets it, points at the mechanism instead of repeating it, and records the trap about a suspiciously green check.

The back-merge bullet now covers any later pull request that carries the history — a back-merge and a release cut alike — and says the commit is unrepairable once it is on main or dev rather than on the default branch alone.

Notes

No CHANGELOG.md entry. ## [Unreleased] on dev is where the v0.5.0-beta.1 notes still sit unstamped, and the pending back-merge (#639) inserts the ## [0.5.0-beta.1] heading directly above them. An entry added here would land inside the released section and conflict with that merge. It is a documentation clarification with no behavior change.

The back-merge section already described a squash-rewritten author, but
only as something that happens to back-merges. A `dev -> main` release
pull request carries the same commits and fails the same way, and
nothing said so.

The release-PR section now names it where a reader first meets it, and
the back-merge bullet covers any later pull request that carries the
history rather than back-merges alone. The bullet also stops saying the
commit lands on `main`: most such commits are squashed onto `dev`.

Also records the trap: a cut whose DCO is green because it carries
almost nothing was made from the wrong branch, and the notes it stamps
will be missing what `dev` holds.

Signed-off-by: mocha06 <52426811+mocha06@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant