New issue
Advanced search Search tips

Issue 705511 link

Starred by 1 user

Issue metadata

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



Sign in to add a comment

Gerrit publishes draft comments when we click dry run

Project Member Reported by mythria@chromium.org, Mar 27 2017

Issue description

What steps will reproduce the problem?
(1) Add some comments to a cl but don't publish them yet.
(2) Click CQ dry run.

What is the expected result?
It should start a dry run and the comments should not be published

What happens instead?
It starts a dry run but also publishes the comments.


 
Labels: Milestone-Launch Proj-Gerrit-Migration
Owner: aga...@chromium.org
Status: Assigned (was: Untriaged)

Comment 2 by aga...@chromium.org, Mar 27 2017

Labels: -Pri-3 Pri-2
Good catch, this is definitely a regression from Rietveld and something we should fix before launch.

Comment 3 by aga...@chromium.org, Apr 21 2017

Status: Started (was: Assigned)
https://gerrit-review.googlesource.com/104270 for API
https://cl//153866696 for implementation

Comment 4 by agable@google.com, May 5 2017

Status: Fixed (was: Started)
The two CLs above are ready to land. Turns out they're not strictly necessary -- there was a backend bug causing drafts to be published even when the frontend selected 'KEEP'. Now that's been fixed, and failing to set an explicit value results in drafts being kept. But explicit is better than implicit, so I'd like to land them anyway.

Sign in to add a comment