holdenk commented on PR #59899:
URL: https://github.com/apache/spark/pull/59899#issuecomment-6866568324

   I think merge queues are perhaps too big a change to go with right away, but 
we can explore them longer term.
   
   > I would really like to keep the merge script as small as possible and keep 
build checks in CI, even though I see the appeal of being able to run quick 
smoke tests locally as part of the backport process.
   > 
   > I suspect over time we will want more checks in place to catch more types 
of breakages caused by backports. Waiting for CI to complete is the main 
downside of relying on CI to check backports, so I'd favor a move towards 
eliminating that wait rather than duplicating checks in the merge script.
   > 
   > My suggestion is:
   > 
   > 1. Split out the work related to original attribution and backport 
provenance to its own, small PR.
   
   So this is more about adding the backport provenance to the new PRs that are 
generated.
   
   > 2. Have a separate PR that adds the option for backport PRs as you 
proposed.
   
   This yes, but keep it with attribution and backport provinance.
   
   > 3. Eliminate the local merge script checks currently in this PR in favor 
of relying on backport PR CI.
   
   This one I'm less certain about. As mentioned for a number of things that 
the PMC has to do we don't run them through CI (see "work in private" in 
https://www.apache.org/security/committers.html#work-in-private ) so I want to 
keep this as an option for when we have to work in private.
   > 4. To eliminate needing to wait for backport PR CI to complete, we should 
implement [merge 
queues](https://lists.apache.org/thread/25859c7jcsl82xbv1qgq0cyd6xlw2svs). I 
believe this is the best solution to our problem: checks are centralized in 
existing CI jobs, even for backports, and they are merged automatically when 
they pass. Maintainers don't need to babysit them.
   
   Merge queues would be great to get set up in the long term as well but we'd 
still want to raise the draft PRs (e.g. part of this change).
   > 
   > As a matter of convention, we can advise committers to open backport PRs 
to get the additional checks on them when they suspect there is a risk of 
breaking the build. The direct backport path available today in the merge 
script will still be available. Once we have merge queues in place, however, we 
can switch to always using backport PRs since no one has to wait around for 
backport PR CI to complete, and we get the guarantee that no backport will ever 
break the build.
   > 
   > What do you think?
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to