New issue
Advanced search Search tips

Issue 681110 link

Starred by 1 user

Issue metadata

Status: Archived
Owner:
Closed: Feb 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 1
Type: Bug



Sign in to add a comment

pre-upload enforcement of well-formed COMMIT-QUEUE.ini

Project Member Reported by akes...@chromium.org, Jan 13 2017

Issue description

Follow up on crbug.com/680185

It's annoying and difficult to determine if a COMMIT-QUEUE.ini file is well formatted. It could fail to be so either because of being malformed, or by requesting an non-existant pre-cq config. In either case, today's behavior is that the pre-cq-launcher will silently ignore the config and fallback to the defauly pre-cq set. This is hard to notice.

Instead, we could add a pre-upload hook across all of chromeos repos that attempts to parse COMMIT-QUEUE.ini files (using the chromite code in the checkout; the same code that runs on the pre-cq-launcher) and fails if the file is malformed.
 
Labels: Hotlist-Fixit

Comment 2 by dshi@chromium.org, Jan 23 2017

Labels: -current-issue
Labels: -Pri-2 Pri-1
Cc: vapier@chromium.org
Labels: -Pri-1 -Hotlist-Fixit Pri-2
I can't seem to find any support for a repo-checkout-wide presubmit hook (only apparently available on a repo-by-repo PRESUBMIT.py/PRESUBMIT.cfg basis. +vapier@ am I mistaken?

Therefore, this might be a little beyond fixit scope.
Labels: Hotlist-Fixit
putting it back, I think we can still do this.
Owner: akes...@chromium.org
Nice. Ok, taking it.
Status: Started (was: Untriaged)

Comment 9 by vapier@chromium.org, Jan 31 2017

repohooks are repo-wide.  it has two sets of hooks: ones that we run all the time, and ones that are run only if PRESUBMIT.cfg requests it.

i've been trying to move most hooks out to PRESUBMIT.cfg, but i think this is an acceptable use case for not being configurable.
Labels: cros-infra-fixedit-q117
Status: Fixed (was: Started)
Fixed by https://chromium-review.googlesource.com/#/c/428351/

Comment 11 by dchan@google.com, Apr 17 2017

Labels: VerifyIn-59

Comment 12 by dchan@google.com, May 30 2017

Labels: VerifyIn-60
Labels: VerifyIn-61

Comment 14 by dchan@chromium.org, Oct 14 2017

Status: Archived (was: Fixed)

Sign in to add a comment