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

Issue 24303002: GTTF: changes that allow testing CQ locally (Closed)

Created:
7 years, 3 months ago by Paweł Hajdan Jr.
Modified:
7 years, 3 months ago
CC:
chromium-reviews, cmp-cc_chromium.org
Visibility:
Public.

Description

GTTF: changes that allow testing CQ locally This includes the following changes: 1) Use ReadOnlyRietveld from depot_tools (so that it can stay in sync with Rietveld) 2) No longer support --only-issue in dry run mode 3) Fix a unicode bug leading to an exception during testing I've tested this as "./commit_queue.py --fake --no-try --project chromium" BUG=291335 R=iannucci@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=225056

Patch Set 1 #

Patch Set 2 : #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+14 lines, -47 lines) Patch
M commit-queue/commit_queue.py View 4 chunks +8 lines, -41 lines 4 comments Download
M commit-queue/pending_manager.py View 1 chunk +1 line, -1 line 0 comments Download
M commit-queue/tests/pending_manager_test.py View 4 chunks +5 lines, -5 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
Paweł Hajdan Jr.
7 years, 3 months ago (2013-09-20 00:34:22 UTC) #1
Paweł Hajdan Jr.
+Robbie, could you take a look?
7 years, 3 months ago (2013-09-20 17:38:20 UTC) #2
iannucci
lgtm, Isaac any comments? https://codereview.chromium.org/24303002/diff/4001/commit-queue/commit_queue.py File commit-queue/commit_queue.py (right): https://codereview.chromium.org/24303002/diff/4001/commit-queue/commit_queue.py#newcode69 commit-queue/commit_queue.py:69: return unicode('FAKE') u'FAKE' ? What ...
7 years, 3 months ago (2013-09-20 23:42:53 UTC) #3
Paweł Hajdan Jr.
https://codereview.chromium.org/24303002/diff/4001/commit-queue/commit_queue.py File commit-queue/commit_queue.py (right): https://codereview.chromium.org/24303002/diff/4001/commit-queue/commit_queue.py#newcode69 commit-queue/commit_queue.py:69: return unicode('FAKE') On 2013/09/20 23:42:53, iannucci wrote: > u'FAKE' ...
7 years, 3 months ago (2013-09-21 01:40:26 UTC) #4
Isaac (away)
Could you make description more specific? It seems like this does three things: 1) Use ...
7 years, 3 months ago (2013-09-21 09:32:49 UTC) #5
Paweł Hajdan Jr.
https://codereview.chromium.org/24303002/diff/4001/commit-queue/commit_queue.py File commit-queue/commit_queue.py (right): https://codereview.chromium.org/24303002/diff/4001/commit-queue/commit_queue.py#newcode191 commit-queue/commit_queue.py:191: if options.only_issue: On 2013/09/21 09:32:49, Isaac wrote: > How ...
7 years, 3 months ago (2013-09-24 02:40:42 UTC) #6
Isaac (use chromium)
Can you explain the advantage blocking this set of options? phajdan.jr@chromium.org wrote: > >https://codereview.chromium.org/24303002/diff/4001/commit-queue/commit_queue.py >File ...
7 years, 3 months ago (2013-09-24 12:45:34 UTC) #7
Paweł Hajdan Jr.
Committed patchset #2 manually as r225056 (presubmit successful).
7 years, 3 months ago (2013-09-24 20:02:13 UTC) #8
Paweł Hajdan Jr.
On 2013/09/24 12:45:34, Isaac (use chromium) wrote: > Can you explain the advantage blocking this ...
7 years, 3 months ago (2013-09-24 20:17:47 UTC) #9
Isaac (away)
7 years, 3 months ago (2013-09-24 20:58:18 UTC) #10
Message was sent while issue was closed.
On 2013/09/24 20:17:47, Paweł Hajdan Jr. wrote:
> On 2013/09/24 12:45:34, Isaac (use chromium) wrote:
> > Can you explain the advantage blocking this set of options?
> 
> I think my last post should answer that, but here is another attempt (sorry
I'm
> not explaining it so well).
> 
> By the way my understanding is that it's not explicitly blocking the review
and
> given review latency over the ocean I've committed the change.
> 
> The advantage is:
> 
> 1) simplicity - less combinations of options to support, which means it can
work
> much more reliably (and just be simpler to read and verify)
> 
> 2) it doesn't seem to make much sense to me to test with dry-run and
only-issue.
> Real run with only-issue + fake checkout totally makes sense and is still
> supported (and I have no plans of changing that).
> 
> Please let me know if you have specific questions about this or something not
> covered by this.
> 
> Note that I was asking people questions about how to test CQ locally, and none
> of the answers involved only-issue IIRC (sorry if I just forgot something).
This
> change makes it possible to test several cycles of CQ, and I'm going to use it
> to test my other CQ CLs and other improvements to come.

I think this is reasonable, but there are (admittedly rare) scenarios where
you'd want this combination.  For example, the real CQ gets stuck running
presubmit for an issue and you can't repro it with just git cl presubmit (which
is very similar, but not exactly the same as CQ).  I'd be more supportive of
removing option configurations if you're landing a more complex issue that a
unneeded configuration would make more complex.

That being said, my comments were not intended to be blocking.  Thanks for the
clarifications.
> 
> Please remember to always make constructive comments, i.e. when pointing
> something out have an acceptable alternative. :)

Powered by Google App Engine
This is Rietveld 408576698