Repository navigation
Description
Requirement
When a PR changes behaviour without changing a function's signature or raising an error, existing external callers get silently different results. Mellea currently has no process for making that visible before or after release — it's on the author to notice and call it out, and even then, nothing carries that explanation through to where users would actually see it.
Example
#1422 changes LocalHFBackend.list_adapters() to return registered adapters rather than only loaded ones. Same signature (() -> list[str]), no error, different result for any external caller relying on the old meaning. The PR body documents this clearly under "Breaking changes," but that explanation currently has no path into anything a user would read after the fact.
Mechanisms we already have (and where each falls short)
- PR title
!convention (e.g.refactor(telemetry)!: move backend tracing onto plugin/hook pattern, refactor(telemetry)!: move backend tracing onto plugin/hook pattern #1181) — signals intent in the title, but it's prose only; the release-notes generator doesn't parse it. .github/release.ymlcategories — bucket changelog entries by GitHub label (enhancement,bug,documentation, else "Other Changes"). Nobreaking-changelabel or category exists. Even if one did, the generator only emits one line per PR (title + author + link) — it doesn't pull in any of the PR body, so the actual explanation still wouldn't reach the changelog.- PR body "Breaking changes" section — some PRs (like refactor(backends)!: narrow AdapterMixin verbs, centralize option resolution, add AdapterFunctionMetricsPlugin skeleton #1422) write this out in detail, but it's a per-author convention, not a requirement, and nothing currently reads it back out anywhere.
RELEASE.mdchangelog-sync step — there's already a human review checkpoint before the generated notes merge tomain(step 4 in the minor-release flow). This is the only point in the pipeline where a person could reasonably lift detail from a PR body into the published notes — but nothing directs them to do so today.
Open question
We need to agree on a process, not just a label. Some shapes it could take:
- Require a
## Breaking changessection (or similar) on PRs carrying abreaking-changelabel, and make the changelog-sync reviewer responsible for copying that content into the synced notes. - Something more automated — e.g. a script that extracts a specific heading from labelled PR bodies during the sync step.
- Decide breaking-but-silent changes don't belong in the changelog at all, and should instead go in a separate "Migration Notes" doc per release.
Filing this as a discussion rather than a fix — want agreement on the mechanism before opening any PR against .github/release.yml or RELEASE.md. Once settled, a follow-up issue should apply it retroactively to #1422's list_adapters() change.
Activity
psschwei commentedon Jul 24, 2026
xref #1305
skritosss commentedon Nov 25, 2026
I suggest piloting the manual path for one release before adding extraction automation. On a silently breaking PR, keep the existing bang convention and record three things in the PR body: previous behavior, new behavior, and what callers should change. At changelog sync, the reviewer checks that the user-facing notes carry those three facts, not just the PR title.
#1422 would be a good first example: the behavior that changed is the set returned by list_adapters(), even though the signature stayed the same. Would you prefer a short Breaking Changes section in the published changelog, or a link from it to a per-release migration note? I am happy to take the agreed follow-up once the location and review owner are settled.