Skip to content

docs: ask breaking-change PRs for an Upgrade note section - #6278

Merged
mday-io merged 1 commit into
SQLMesh:mainfrom
mday-io:mday/upgrade-note-heading
Nov 28, 2026
Merged

mday-io merged 1 commit into
SQLMesh:mainfrom
mday-io:mday/upgrade-note-heading

Conversation

@mday-io

@mday-io mday-io commented Nov 28, 2026 •

Copy link
Copy Markdown
Collaborator

Description

Why

GitHub's generated release notes only list PR titles. For each breaking change, the release manager adds an upgrade note by hand (step 6 of .github/RELEASING.md), but nothing says where to find what the PR author knows about the upgrade.

How

  • CONTRIBUTING.md: a PR with ! in its title should include an ### Upgrade note section in its description, saying what users will see after upgrading and what to do.
  • .github/RELEASING.md: step 6 copies each breaking change's note from that section, and says what to write when a PR has none.

#6120 now has an ### Upgrade note section as an example.

Test Plan

Docs only. Checked that both edits render as list items in their existing lists.

Checklist

  • I have run make style and fixed any issues (not applicable: Markdown only)
  • I have added tests for my changes (if applicable)
  • All existing tests pass (make fast-test) (not applicable: docs only)
  • My commits are signed off (git commit -s) per the DCO

Summary by CodeRabbit

  • Documentation
    • Updated release and pull request guidance for documenting breaking changes. Upgrade notes should explain what users will see after updating and any action they need to take.
    • Clarified that release notes should include the pull request’s upgrade note, and that maintainers should write one when it is missing. Added migration and metadata-only plan examples.

Release notes only list PR titles, so the release manager adds an upgrade note for each breaking change by hand. Ask breaking-change PRs for an `### Upgrade note` section in the description, and point the release steps at it.

Signed-off-by: mday-io <mdaytn@gmail.com>
@coderabbitai

coderabbitai Bot commented Nov 28, 2026 •

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The PR updates the guidance for writing and publishing breaking-change upgrade notes. Contributors are asked to include an ### Upgrade note section, and release instructions explain how to use that note.

Changes: Breaking-change upgrade notes

Layer / File(s) Summary
Author and publish upgrade notes
CONTRIBUTING.md, .github/RELEASING.md
Contributor guidance requires an ### Upgrade note section describing upgrade effects and user actions. Release guidance tells maintainers to copy the note or write one if it is missing.

Estimated code review effort: 1 (Trivial) | ~3 minutes

Change: Other

Possibly related PRs

  • SQLMesh/sqlmesh#6178: This PR also updates breaking-change guidance in CONTRIBUTING.md and .github/RELEASING.md, and introduces a breaking-change title convention.

Suggested reviewers: nicksspirit, cmgoffena13

Merge Risk: Minimal · up to 0e4aa

This documentation-only change tells contributors how to write upgrade notes and tells release managers how to publish them. It has no runtime impact and no remaining merge risk.

Pre-merge checks: Passed 4

Check name Status Explanation
Title check Passed The title says the PR asks breaking-change PRs to include an Upgrade note section. The changeset does this: CONTRIBUTING.md now requires an ### Upgrade note section for PRs with ! in the title, an…
Description check Passed The description follows the template. It has a Description section with Why and How parts that name both changed files. It has a Test Plan that explains the docs-only check. The checklist is present, …
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title says the PR asks breaking-change PRs to include an Upgrade note section. The changeset does this: CONTRIBUTING.md now requires an ### Upgrade note section for PRs with ! in the title, and RELEASING.md step 6 copies those notes. The title names the main change and uses the docs: prefix. It is 57 characters and 9 words, so it is concise.

Full details: Description check

Explanation

The description follows the template. It has a Description section with Why and How parts that name both changed files. It has a Test Plan that explains the docs-only check. The checklist is present, and the DCO item is checked. Items that do not apply are marked as not applicable with a reason. The description also cites PR #6120 as an example of the new section.

Finishing Touches

Generate unit tests (beta)

  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 423002bd-9bfe-4162-8be9-3fff96fe4d11
Commits

Reviewing files that changed from the base of the PR and between be795ff and 0e4aa7b.

Files selected for processing: 2

  • .github/RELEASING.md
  • CONTRIBUTING.md

Included review availability: This review used your included allowance. Your plan provides up to 8 included reviews per hour; 7 remain after this review.

@github-actions github-actions Bot added the Documentation Improvements or additions to documentation label Nov 28, 2026
@mday-io
mday-io marked this pull request as ready for review November 28, 2026 17:30
@mday-io
mday-io merged commit 8b7e765 into SQLMesh:main Nov 28, 2026
41 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants