New issue
Advanced search Search tips

Issue 852072 link

Starred by 2 users

Issue metadata

Status: Available
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Feature



Sign in to add a comment

Redirect milo URL /p/chromium/builders/$BUCKET to /p/chromium/g/$BUCKET/builders

Project Member Reported by bpastene@chromium.org, Jun 12 2018

Issue description

I found it generally useful in buildbot days when you could chop-off the buildername in a builder's url (eg: remove "chromeos-amd64-generic-rel" in https://luci-milo.appspot.com/p/chromium/builders/luci.chromium.try/chromeos-amd64-generic-rel) and that would take you to a list of builders for that master (eg: https://luci-milo.appspot.com/p/chromium/builders/luci.chromium.try would give you a list of builders in the luci.chromium.try bucket)

Sadly, that url 404s:
https://luci-milo.appspot.com/p/chromium/builders/luci.chromium.try

The correct url for listing builders in that bucket appears to be:
https://luci-milo.appspot.com/p/chromium/g/luci.chromium.try/builders

Given how similar they seem to be, could we have the 404 just redirect to the correct url? Though I wouldn't be surprised if there's a whole lot of hidden assumptions in that magical "/g/", so feel free to wontfix.

 

Comment 1 by no...@chromium.org, Jun 15 2018

Labels: -Type-Bug Type-Feature
note that the token after /g/ isn't a bucket. It is a builder group. Many builder groups are named after buckets, but they don't have to so such a redirect may end up being another 404 with a message saying that builder group $BUCKET does not exist.

I don't have a good idea here. Maybe we could just list all builders of the bucket (milo ha that) use builder-list renderer (like https://luci-milo.appspot.com/p/chromium/g/luci.chromium.try/builders)

Comment 2 by no...@chromium.org, Jun 16 2018

Status: Available (was: Untriaged)

Sign in to add a comment