New issue
Advanced search Search tips

Issue 713421 link

Starred by 1 user

Issue metadata

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



Sign in to add a comment

Provide a clickable link to gerrit code review on a trybot Build Properties page

Project Member Reported by ynovikov@chromium.org, Apr 19 2017

Issue description

CQ build pages for Rietveld CLs have a clickable build property "issue", following which one gets to the CL that triggered that build, for example, https://build.chromium.org/p/tryserver.chromium.mac/builders/mac_optional_gpu_tests_rel/builds/9121.

But, CQ build pages for Gerrit CLs do not. They only have "patch_issue" build property, which one has to use to manually get to the CL that triggered that build, for example, https://build.chromium.org/p/tryserver.chromium.mac/builders/mac_optional_gpu_tests_rel/builds/9120.
 

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

Cc: aga...@chromium.org
Labels: -Restrict-View-Google Milestone-Launch Proj-Gerrit-Migration
Owner: hinoka@chromium.org
Status: Assigned (was: Untriaged)
ryan, do you know how that buildbot link is clickable? I had no idea there was magic to turn build properties into anything other than plain text.

Comment 2 by hinoka@chromium.org, Apr 21 2017

Owner: ----
Status: Available (was: Assigned)
I think someone added that a while ago, there was some magic to parse out the "issue" field and linkify it.
And by someone i meant tandrii: https://codereview.chromium.org/1476173002

Milo does it with swarmbucket builds.  It does not do it for buildbot builds.
Unassigning myself because I don't intend to work on the buildbot UI, but I'll take a bug for adding rietveld/gerrit link in builds for buildbot builds.

Comment 3 by aga...@chromium.org, May 19 2017

Status: Started (was: Available)
https://chromium-review.googlesource.com/c/509970/

Comment 4 by aga...@chromium.org, May 19 2017

Owner: aga...@chromium.org
Project Member

Comment 6 by bugdroid1@chromium.org, May 20 2017

The following revision refers to this bug:
  https://chrome-internal.googlesource.com/infradata/master-manager/+/66b8afc0ad660bf1fbb93fdeaa9a322425da3e96

commit 66b8afc0ad660bf1fbb93fdeaa9a322425da3e96
Author: Aaron Gable <agable@google.com>
Date: Sat May 20 02:15:05 2017

Weird, tryserver.blink is still working correctly: https://build.chromium.org/p/tryserver.blink/builders/linux_trusty_blink_rel/builds/10283

And tryserver.chromium.android was restarted since the change landed: https://build.chromium.org/p/tryserver.chromium.android/json/clock?as_text=1

Looks like that master is pulling its templates from master.chromium, instead of from master.tryserver.chromium.linux. CL to fix here: https://chromium-review.googlesource.com/521685
Project Member

Comment 10 by bugdroid1@chromium.org, Jun 1 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/tools/build/+/ffd660409419b112c350eae9817245fb274f8997

commit ffd660409419b112c350eae9817245fb274f8997
Author: Aaron Gable <agable@chromium.org>
Date: Thu Jun 01 22:13:46 2017

Add gerrit patch links to more masters

See https://chromium-review.googlesource.com/c/509970/

R=hinoka@chromium.org

Bug:  713421 
Change-Id: Ic6ef60ac707ae6eb41cf521c13a9c628c251386a
Reviewed-on: https://chromium-review.googlesource.com/521685
Reviewed-by: Ryan Tseng <hinoka@chromium.org>
Commit-Queue: Aaron Gable <agable@chromium.org>

[modify] https://crrev.com/ffd660409419b112c350eae9817245fb274f8997/masters/master.chromium/templates/build.html

Still doesn't work on android_optional_gpu_tests_rel
https://build.chromium.org/p/tryserver.chromium.android/builders/android_optional_gpu_tests_rel/builds/6227
Is master restart needed, perhaps?

Sign in to add a comment