[Docs][Backports] Update developer documentation to reflect new automated backport workflow (#19284)#20351
Draft
mrodm wants to merge 8 commits into
Draft
[Docs][Backports] Update developer documentation to reflect new automated backport workflow (#19284)#20351mrodm wants to merge 8 commits into
mrodm wants to merge 8 commits into
Conversation
Add a new "Backport checklist comment" section to developer-workflow-support-old-package.md explaining when the post-backport-checklist workflow posts a comment, what it shows, that it is currently informational only (no checkboxes yet), and how to suppress a branch via `archived` or `maintained_until` in .backports.yml. Remove the orphaned backport_input_step.png screenshot, which was no longer referenced by any documentation page. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Add a new "Package owner synchronization" section to developer-workflow-support-old-package.md covering: - Automatic sync during apply: what is synced (manifest.yml owner.github, CODEOWNERS package line and sub-path entries), the separate "Sync <pkg> package owners from main" commit, no-op behavior when already in sync, and warn-and-continue when main is unreachable or the package has been removed. - check-backport-owners CI step: when it runs (PRs targeting backport-* branches on packages/** or CODEOWNERS changes), the three PR comment outcomes (in-sync / mismatch with team list / check-failed), required author action on mismatch, and that soft_fail: true means a mismatch does not block merge. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Expand the maintained_until and archived field descriptions in the .backports.yml schema table to document their full semantics: maintained_until excludes the branch automatically once the date passes (strictly before today UTC), and is preferred when the end-of-life date is known; archived: true excludes the branch immediately and does not delete it. Also add the previously undocumented remove_other_packages field, explaining its default true behavior and why it exists. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
… step Add a note in ci_pipelines.md documenting the check-changelog-pr-links Buildkite step: what it validates (changelog entry links match the PR being merged), that it is soft_fail, and how to skip it via the changelog-link-check:skip label. Explain that the sync-backport-changelog workflow adds this label automatically on sync PRs since their entries intentionally reference the original backport PR. Also clarify that check-backports-inventory runs on PRs targeting main and direct pushes to main only — it is skipped on backport-branch PRs, which carry only a subset of packages. Relates to #19284. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…check (#19214) Rewrite step 3 in developer-workflow-support-old-package.md to document backport_apply.sh as the recommended tool: syntax, required/optional arguments, and a numbered description of what it does end-to-end (cherry-pick, version bump, changelog entry with placeholder link, owner sync commit, PR creation, and link fix). Keep the manual cherry-pick as an alternative and preserve the note about subsequent fixes not needing a new branch. Add a forward-looking note about the auto-backport workflow (PR #20197). Add a note to ci_pipelines.md about the coming check-changelog-versions-in-main step, which catches sync collisions on backport-branch PRs before merge. Relates to #19284. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…le date Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
mrodm
commented
Jul 24, 2026
Collaborator
Author
There was a problem hiding this comment.
Not used this image , this was a leftover from a previous PR.
Contributor
🔍 Preview links for changed docs |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Proposed commit message
WHAT:
docs/extend/developer-workflow-support-old-package.md:
backport_apply.shas the recommended tool: syntax, required/optional argument tables, and a
numbered description of the 6 steps it performs (cherry-pick, version bump,
changelog entry, owner sync, PR creation, sentinel link fix). Keeps manual
cherry-pick as an alternative path.
a description of the automatic
sync-backport-changelog.ymlflow — fires onbackport PR merge, opens a sync PR against
mainlabelledbackport:sync-changelogandchangelog-link-check:skip, posts a commenton the merged backport PR.
performed by
backport_apply.sh(what is synced, commit message, no-op andwarn-and-continue behaviours) and the
check-backport-ownersCI step (threepossible comment outcomes, soft_fail behaviour).
content, that it is currently informational only, and how to suppress a branch
via
archived/maintained_until..backports.ymlfield descriptions: fullmaintained_untilandarchivedsemantics (auto-exclusion, archiving does not delete the branch,excluded from checklist and branch creation — not schema validation), added
the previously undocumented required
remove_other_packagesfield (includingit in both manual entry examples).
docs/extend/images/backport_input_step.png(no longerreferenced in any doc).
docs/ci_pipelines.md:
check-changelog-pr-linksdocumentation: validates changelog entry linksmatch the PR being merged, soft_fail, changelog-link-check:skip label, and why
sync-changelog PRs use it automatically.
check-backports-inventoryruns on PRs targetingmainonly (skippedon backport-branch PRs).
integrations-backport-dispatchpipeline as the seventhpipeline, with description of the two-pipeline architecture and why the trigger
was split from the public pipeline.
check-changelog-versions-in-mainstep(coming with PR [backport] Auto-create backport PRs, fix changelog links, and sync changelogs to main #20197).
WHY:
The backport workflow has been significantly automated across several merged PRs
(#19997, #20062, #20119, #20236, #19930, #20251) and two open PRs (#20197,
#20284). The developer documentation still described the old fully-manual 4-step
procedure. This update brings the docs in line with the current automated
workflow so contributors have accurate guidance on how to release hotfixes for
older package versions.
Author's Checklist
integrations-backport-dispatchsection andcheck-changelog-versions-in-mainnote against final merged state of PRs [CI][Backports] add integrations-backport-dispatch private pipeline for triggering backport creation #20284 and [backport] Auto-create backport PRs, fix changelog links, and sync changelogs to main #20197 respectively.How to test this PR locally
Review the rendered output of the two changed files:
docs/extend/developer-workflow-support-old-package.mddocs/ci_pipelines.mdCross-check key claims against the codebase:
dev/scripts/backport_apply.sh— script CLI matches documented syntaxdev/backports/checklist/checklist.go— checklist comment matches example.buildkite/pipeline.yml— check-backports-inventory guard, check-changelog-pr-links stepdev/backports/changelog/sync.go— sync PR labelsRelated issues