New issue
Advanced search Search tips

Issue 728780 link

Starred by 1 user

Issue metadata

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



Sign in to add a comment

Redirect <swarming>/taskid to the task page and <swarming>/botid to the bot page

Project Member Reported by mar...@chromium.org, Jun 1 2017

Issue description

Create a simple shorthand to make it quicker to navigate to a task or a bot.

Example:
https://chromium-swarm.appspot.com/367e3ec7ffa95710
would redirect to
https://chromium-swarm.appspot.com/task?id=367e3ec7ffa95710

https://chromium-swarm.appspot.com/vm957-m4
would redirect to
https://chromium-swarm.appspot.com/bot?id=vm957-m4

The way to do this is to add a "fallback" handler at the end of get_routes() in handlers_frontend.py
https://github.com/luci/luci-py/blob/master/appengine/swarming/handlers_frontend.py#L280

The handler would check for a valid task id and redirect if it so, then try a bot, then fallback to http 404.
 
Components: -Infra>Platform>Swarming Infra>Platform>Swarming>WebUI
Project Member

Comment 2 by sheriffbot@chromium.org, Jun 5 2018

Labels: Hotlist-Recharge-Cold
Status: Untriaged (was: Available)
This issue has been Available for over a year. If it's no longer important or seems unlikely to be fixed, please consider closing it out. If it is important, please re-triage the issue.

Sorry for the inconvenience if the bug really should have been left as Available.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Labels: -Hotlist-Recharge-Cold
Status: Available (was: Untriaged)

Sign in to add a comment