New issue
Advanced search Search tips

Issue 690119 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: Sep 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 2
Type: Bug



Sign in to add a comment

Gerrit's new "Rebase Always" strategy lands all dependencies

Project Member Reported by rmis...@google.com, Feb 8 2017

Issue description


Eg:
* change B depends on change A.
* Both changes are open (not landed yet).
* Submitting B will also cause A to be submitted because of the new "Merge Always" strategy. This happens via both the CQ and by clicking Gerrit's "Submit" button.

I know there is a plan to handle this in the CQ by rejecting the run if there are open dependencies (similar to how the CQ handles Rietveld issues).
If there is no easy way to prevent this from happening for the "Submit" button, then maybe we should just add a warning message saying to be cautious because all your open dependencies will also land.
 
Labels: Proj-Gerrit-Migration
Cc: -tandrii@chromium.org
Owner: tandrii@chromium.org
Status: Assigned (was: Untriaged)
Owner: aga...@chromium.org
Summary: Gerrit's new "Rebase Always" strategy lands all dependencies (was: Gerrit's new "Merge Always" strategy lands all dependencies)
CQ side this has already been implemented in issue 641422, and will be deployed to all Gerrit CQ projects in the next 2 weeks (I hope :)).

So, the rest of this ticket is hiding submit button in CQ Gerrit plugin OR adding warning message. Hence, assigning to agable@

Comment 4 by rmis...@google.com, Feb 13 2017

Please do not hide the submit button. I vote for adding a warning message when the button is clicked if there are any open dependencies.
Cc: aga...@chromium.org
Labels: Milestone-Afterglow
Owner: ----
Status: Available (was: Assigned)
Makes sense, but is a far-enough-out feature that I'm unassigning myself for now.

FWIW I want to move the Submit button into the overflow dropdown, but we don't have sufficiently fine-grained API control for that yet.
Project Member

Comment 6 by sheriffbot@chromium.org, Jul 27 2017

Labels: Hotlist-Google

Comment 7 by aga...@chromium.org, Sep 11 2017

Owner: aga...@chromium.org
Status: Fixed (was: Available)
The CQ rejects changes with open deps and the submit button has been hidden.

Sign in to add a comment