Repository navigation
Managing backports in the release process #9862
Replies: 11 comments 12 replies
|
@xuang7 @mengw15, could you share what led us to skip backports for this group of fixes? In particular, do we plan to fix #9364, #9344, #9716, and #9763 on v1.2 or v1.3? It would help to know which backport PRs we should open and which fixes should stay on |
|
Thanks for the audit. Our goal for a release branch is stability, so the bar is release-blocking fixes, test/doc/license fixes, and regressions. Most Since the v1.3 cut (Sep 1 – Dec 1), 142 of the 557 PRs merged into
On the four: #9763 and #9716 are regressions (from #4086 and #2646), so I'll backport both to v1.3. #9364 and #9344 fix failures that were never handled, so they stay on |
|
Two more points on how backport decisions should work:
This way, each decision and its reason stay on the PR, where they can be discussed. |
|
For v1.2, we limited backports for 1.2.1 to regressions and security fixes, similar to the approach used for the v1.3 release line. Other fixes, including those that introduce new behavior as part of a fix, were generally skipped, since the branch was undergoing RC voting for most of this period and I wanted to keep it stable. Regarding the four PRs you mentioned, if we need a 1.2.2 release:
Since the current process relies largely on manual review, I support leaving a short comment whenever a release label is removed to explain the decision. I try to check the labels regularly and leave a comment when I remove one, but it's easy to miss some PRs. To avoid unnecessarily blocking merges, reviewers also help assess backport eligibility and remove labels when appropriate. I think the same practice of leaving a short comment should apply there to avoid confusion. It's great to see our community growing and more contributors actively opening PRs. As the volume of PRs increases, it also becomes more challenging to keep track of all the backport labels manually. We could document the current guidelines more clearly and explore ways to improve the backport process. The labeling improvement @mengw15 suggested sounds like a good approach. |
|
A few things, with my committer hat on:
|
|
I agree that this should be a discussion, not an issue. |
|
OK, I see that the issue has been converted into a discussion. However, I think there are two separate aspects here:
I’d like to keep the first one tracked as an issue, regardless of the outcome of this discussion. It represents an actual problem that we need to address in one way or another. |
|
Now, regarding the second part (the discussion), I would like to start with some fundamental principles before discussing the backport mechanism itself. Fundamental principles
Note that being responsible for driving a fix does not mean that the RM needs to personally implement every fix. Rather, it means coordinating the effort and ensuring that known bugs are properly tracked, evaluated, and addressed. How does our current mechanism support these principles?Our current workflow (done by #4598 , #6940, #8096) is roughly as follows:
The benefit of this mechanism is that we have a single issue tracking the underlying bug, and the corresponding RMs are automatically notified when a potential fix becomes available. This reduces the likelihood of overlooking fixes that should be included in existing releases. It also keeps the backport decision with the RMs rather than individual contributors, who may not have sufficient context about the maintenance status, stability requirements, compatibility constraints, or release plans of each release line. What problems are we seeing today?I think there are four problems with the current workflow:
I see these as two broader categories of problems:
I think we should address both categories, but we should be careful not to solve the second at the expense of the first. In particular, reducing the workload of RMs should not come at the cost of losing track of known bugs or delegating release-specific decisions to contributors who may lack the necessary context. The automatic backport mechanism itself is not a fundamental requirement. I am open to improving or replacing it, as long as the resulting mechanism continues to satisfy the fundamental principles outlined above. |
|
OK, now regarding Meng's proposal, I agree with the concerns about the overhead of our current mechanism, but I have some concerns about whether the proposed changes align with the fundamental principles outlined above.
Overall, we should distinguish between reducing unnecessary work and reducing responsibility. I am fully supportive of improving or replacing our current backport mechanism, but any proposed solution should still satisfy the fundamental principles outlined above. |
|
I’d like to share my thoughts here:
|
|
I agree that our backport process needs some improvement. If there are no objections, I would suggest adopting @bobbai00's middle-ground approach as our baseline for now, so we can move forward with a clearer standard for backport decisions. Currently, we are still following the previous, stricter criteria. I don't think every fix: PR should be backported by default. Some of these PRs change existing behavior or introduce additional changes alongside the actual fix. They need closer review before being included in a release branch to maintain its stability. However, "worked before and no longer does" may be too restrictive as the only criterion. During the recent release candidate reviews, we received feedback about existing bugs, and some of them had already been fixed on main but had not been backported. I think correctness and execution bugs that users may encounter are worth backporting, even if they are not regressions. Here are some of my thoughts on how we could improve the process: Criteria
Nomination and decision
Doing the backport
Tracking
The new baseline would apply going forward. For the PRs listed in #9884, the release managers could review them against the new criteria. I think this approach would help us balance release stability, bug-fix coverage, and the workload of release managers without unnecessarily slowing down development on main. Introducing additional labels may add some complexity to the workflow, and the proposed process would also introduce some additional workload for authors and reviewers. However, given that we currently maintain 2-3 active release branches, I think it should still be manageable. There may be other aspects of the process that we have not considered yet. I welcome further suggestions and ideas, and we can continue to refine the process as we put it into practice. |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
A new spin-off issue has been created #9884 to keep track of the topic of missing fix PRs.
This discussion is mainly about how to manage the process of releases.
What happened?
From November 18 through December 1, 2026 (Pacific time), 26 fix PRs merged into
main. None had a merged or pending backport by December 1. All 26 carriedrelease/v1.3, and 24 also carriedrelease/v1.2. All 50 labels were removed before merge.Four fixes in particular affect workflow execution or the results users see.
LARGE_BINARYcolumn.For fixes that affect a supported branch, we expect a backport or a documented reason to defer it. For #9344, the v1.2 skip was based on a file path even though the scheduling code exists on that branch.
How to reproduce?
fix:orfix(scope):.Version/Branch
Fixes merged into
main. The affected release branches arerelease/v1.2andrelease/v1.3.Relevant log output
All 26 fix PRs, ordered by merge time
All reactions