Closed Bug 1527606 Opened 6 years ago Closed 4 months ago

[github] 'Details' link on GitHub should directly point to the task logs

Categories

(Taskcluster :: Services, enhancement)

enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: marco, Unassigned)

References

(Depends on 1 open bug)

Details

Most of the time, when you click on the Taskcluster status link on GitHub, you want to see why a task failed, so it makes sense to go to the logs by default.

You can see an example of this by going to one of the open PRs at https://github.com/taskcluster/taskcluster/pulls and clicking the "details" link in the checks display at the bottom.

I think that the "details" link always goes to the checks tab in the Github UI - so we can't change that. But, I think owlish has some ideas on how to improve the user experience here within Github's parameters.

Component: UI and Tools → Services
Flags: needinfo?(bugzeeeeee)

In Checks API - I noticed Netlify has a custom Details link in the Deploy Preview checkrun. So that must be customizable.

In Statuses API - we can change the link.

If memory served, I already tried doing that, and there was some sort of problem. This is definitely something to investigate. Also, this can be done by one of our volunteer contributors - Dustin, do you think I can mentor this bug as a good-first-one?

Flags: needinfo?(bugzeeeeee) → needinfo?(dustin)
Assignee: nobody → bugzeeeeee

Mentoring sounds good -- even determining whether and how it's possible is a good task.

Flags: needinfo?(dustin)

At the time of posting the status on github we don't have the link yet. We had a brilliant idea: why don't we solve this in the UI and make it show a spinner or something while the run log is not available yet. Hassan let me know what you think, would you like to tackle this? Can be good first bug too

Flags: needinfo?(helfi92)

Do we have the run number? If we do, then I think it shouldn't be too hard to handle this situation directly in the UI.

Flags: needinfo?(helfi92)
Flags: needinfo?(helfi92)

Created https://github.com/taskcluster/taskcluster/issues/2240 to solve this in the UI. After it gets merged, we would probably need to modify the status link slightly.

Flags: needinfo?(helfi92)
Depends on: github-bugs
Summary: 'Details' link on GitHub should directly point to the task logs → [github] 'Details' link on GitHub should directly point to the task logs
Assignee: bugzeeeeee → nobody

Current implementation of Checks API includes links to the task itself and also the logs.
And Statuses API should be avoided

Status: NEW → RESOLVED
Closed: 4 months ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.