Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(203)

Issue 23011039: CQ: don't preserve state between runs (Closed)

Created:
7 years, 4 months ago by Paweł Hajdan Jr.
Modified:
7 years, 2 months ago
Reviewers:
Isaac (away)
CC:
chromium-reviews, cmp-cc_chromium.org, Mike Stip (use stip instead), csharp, M-A Ruel
Visibility:
Public.

Description

CQ: don't preserve state between runs This is expected to help with the issue that causes CQ to commit changes without verification. BUG=239272

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+9 lines, -13 lines) Patch
M commit-queue/commit_queue.py View 3 chunks +7 lines, -11 lines 0 comments Download
M commit-queue/tests/commit_queue_test.py View 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
Paweł Hajdan Jr.
7 years, 4 months ago (2013-08-21 23:42:46 UTC) #1
Isaac (away)
Do you have evidence that the commits are happening because of crashes? What were the ...
7 years, 4 months ago (2013-08-21 23:47:41 UTC) #2
Paweł Hajdan Jr.
On 2013/08/21 23:47:41, Isaac wrote: > Do you have evidence that the commits are happening ...
7 years, 4 months ago (2013-08-21 23:52:28 UTC) #3
Isaac (away)
+cc some other folks on this CL. Though I think the direction is probably not ...
7 years, 4 months ago (2013-08-21 23:52:52 UTC) #4
Isaac (away)
7 years, 4 months ago (2013-08-21 23:55:28 UTC) #5
On 2013/08/21 23:52:28, Paweł Hajdan Jr. wrote:
> On 2013/08/21 23:47:41, Isaac wrote:
> > Do you have evidence that the commits are happening because of crashes?
> 
> I talked to Robbie, and according to his explanation there are cases where CQ
> can put info into saved state that will make it commit without verification.
> 
> In other words, it's not fail-safe (in case of errors, assume verification
> failed or has yet to be done) but seems to work other way around, i.e. if the
> verification info failed to be saved, it's assumed to pass. This sounds
> plausible to me. I'd treat this CL as an experiment to test that explanation,
> and if it fails to fix the problem it can be reverted and we'll learn
something
> more.

We can't "experiment" with the production system.  You could run locally in
read-only
mode and see what happens though.  But one issue here is that if CQ crashes,
which it does, it will delete all state, and have to redo presubmit on pending
issues
which will essentially mean it is non-responsive for an hour.  So if it crashes
more than once an hour, which sometimes it does, it will stop working.
> 
> > What were the tests that you used for this?
> 
> Presubmit. Please let me know if I should run something more.

That is definitely not enough.

Powered by Google App Engine
This is Rietveld 408576698