We should see when the task was created in the index browser

NEW
Assigned to

Status

Taskcluster
Tools
2 years ago
7 days ago

People

(Reporter: julienw, Assigned: rhuang, Mentored)

Tracking

({good-first-bug})

Details

(Reporter)

Description

2 years ago
STR:
1. go to [1].

You'll see that despite having "latest" in the route, the route is indeed obsolete and no new builds are added. As a result it's really easy to get lost while browsing and downloading an outdated builds.
I'd like that we can see the build is old right from this interface.

[1] https://tools.taskcluster.net/index/artifacts/#gecko.v1.mozilla-central.latest.b2g-desktop/gecko.v1.mozilla-central.latest.b2g-desktop.opt

Comment 1

2 years ago
So this is one downside of not being able to obsolete routes once they are indexed.  That is an old indexed route that is no longer used by the builds.  This one [1] is now used for b2g-desktop opt builds.

So the index is correct, that is the latest build created for that route, it's just that the route is no longer used.  Having a created field definitely could easy confusion about this.


[1] https://tools.taskcluster.net/index/artifacts/#gecko.v1.mozilla-central.latest.linux.b2g-desktop/gecko.v1.mozilla-central.latest.linux.b2g-desktop.opt
(Reporter)

Comment 2

2 years ago
(In reply to Greg Arndt [:garndt] from comment #1)
> So this is one downside of not being able to obsolete routes once they are
> indexed.  That is an old indexed route that is no longer used by the builds.
> This one [1] is now used for b2g-desktop opt builds.
> 
> So the index is correct, that is the latest build created for that route,
> it's just that the route is no longer used.

Yep I knew that :)

Best of the best would be being able to add a soft redirect "new builds for this are there =>" but of course this is really uneasy to do in an index.
Adding the created timestamp in the "indexed artifact browser" should be easy.
(I don't want to add it the generic index browser as it's intended to be low-level and simple, not for people)

We don't have to store it in the index or anything, this is purely a client-side tool change.
The two index browers are being unified now, after which this should be an easy change to show a little task metadata in the browser.

Note that in other places in the browser, we display little snippets of task information (like status).  This display should look similar.
Mentor: helfi92@gmail.com

Updated

17 days ago
Summary: We should see when the task was created in the index and artifact browsers → We should see when the task was created in the index browser

Updated

17 days ago
Keywords: good-first-bug
(Assignee)

Comment 5

9 days ago
Hello, I'm new to this, may I give this a go as a good-first-bug to tackle?

Comment 6

9 days ago
@rhuang absolutely! The repository for this is taskcluster-tools [1], and is a React app:

[1] https://github.com/taskcluster/taskcluster-tools

And the code for the Index Browser:

https://github.com/taskcluster/taskcluster-tools/tree/master/src/views/IndexBrowser

Have a look around, and submit a pull request when you are ready. In the interim if you have any questions, please feel free to ask here or in IRC in #tc-contributors.
(Assignee)

Comment 7

8 days ago
(In reply to :Eli Perelman from comment #6)
> @rhuang absolutely! The repository for this is taskcluster-tools [1], and is
> a React app:
> 
> [1] https://github.com/taskcluster/taskcluster-tools
> 
> And the code for the Index Browser:
> 
> https://github.com/taskcluster/taskcluster-tools/tree/master/src/views/
> IndexBrowser
> 
> Have a look around, and submit a pull request when you are ready. In the
> interim if you have any questions, please feel free to ask here or in IRC in
> #tc-contributors.

thank you! taking a look now. was trying to get into the IRC from the link provided in outreachy (https://kiwiirc.com/client/irc1.dmz.scl3.mozilla.com:6697/tc-contributors) but it says that server isn't found. is the port incorrect?
Good point, that link was wrong.  I've updated it.  See https://wiki.mozilla.org/IRC for information on connecting to the Mozilla IRC network.
Assignee: nobody → rhuang
You need to log in before you can comment on or make changes to this bug.