"Job details" pane to show link to Taskcluster artifacts instead of listing each one of them
Categories
(Tree Management :: Treeherder: Frontend, enhancement, P2)
Tracking
(Not tracked)
People
(Reporter: armenzg, Unassigned)
References
Details
Attachments
(1 file)
|
141.25 KB,
image/png
|
Details |
This is a step toward reducing the number of inserts per task to reduce DB load.
We can add instead View artifacts in Taskcluster or even do a quick fetch to Taskcluster for the list of tasks associated to that job (since we only load those values when the UI selects a job).
Once the UI is in place we can then change the ingestion of every artifact.
Here's a dump of what gets stored on the DB:
4297837126 artifact uploaded actions.json https://queue.taskcluster.net/v1/task/Nuw49VyjTsOuqF9cacH5Ww/runs/0/artifacts/public/actions.json 257575010
4297837127 artifact uploaded chain-of-trust.json https://queue.taskcluster.net/v1/task/Nuw49VyjTsOuqF9cacH5Ww/runs/0/artifacts/public/chain-of-trust.json 257575010
4297837128 artifact uploaded chain-of-trust.json.sig https://queue.taskcluster.net/v1/task/Nuw49VyjTsOuqF9cacH5Ww/runs/0/artifacts/public/chain-of-trust.json.sig 257575010
4297837129 artifact uploaded chainOfTrust.json.asc https://queue.taskcluster.net/v1/task/Nuw49VyjTsOuqF9cacH5Ww/runs/0/artifacts/public/chainOfTrust.json.asc 257575010
4297837130 artifact uploaded full-task-graph.json https://queue.taskcluster.net/v1/task/Nuw49VyjTsOuqF9cacH5Ww/runs/0/artifacts/public/full-task-graph.json 257575010
4297837131 artifact uploaded label-to-taskid.json https://queue.taskcluster.net/v1/task/Nuw49VyjTsOuqF9cacH5Ww/runs/0/artifacts/public/label-to-taskid.json 257575010
4297837132 artifact uploaded certified.log https://queue.taskcluster.net/v1/task/Nuw49VyjTsOuqF9cacH5Ww/runs/0/artifacts/public/logs/certified.log 257575010
4297837133 artifact uploaded live.log https://queue.taskcluster.net/v1/task/Nuw49VyjTsOuqF9cacH5Ww/runs/0/artifacts/public/logs/live.log 257575010
4297837134 artifact uploaded live_backing.log https://queue.taskcluster.net/v1/task/Nuw49VyjTsOuqF9cacH5Ww/runs/0/artifacts/public/logs/live_backing.log 257575010
4297837135 artifact uploaded parameters.yml https://queue.taskcluster.net/v1/task/Nuw49VyjTsOuqF9cacH5Ww/runs/0/artifacts/public/parameters.yml 257575010
4297837136 artifact uploaded runnable-jobs.json https://queue.taskcluster.net/v1/task/Nuw49VyjTsOuqF9cacH5Ww/runs/0/artifacts/public/runnable-jobs.json 257575010
4297837137 artifact uploaded target-tasks.json https://queue.taskcluster.net/v1/task/Nuw49VyjTsOuqF9cacH5Ww/runs/0/artifacts/public/target-tasks.json 257575010
4297837138 artifact uploaded task-graph.json https://queue.taskcluster.net/v1/task/Nuw49VyjTsOuqF9cacH5Ww/runs/0/artifacts/public/task-graph.json 257575010
4297837139 Built from mozilla-esr60 revision a1b6b5f5806693cc5ff29a855a01faaa9035 a1b6b5f5806693cc5ff29a855a01faaa90357ae4 https://hg.mozilla.org/releases/mozilla-esr60/rev/a1b6b5f5806693cc5ff29a855a01faaa90357ae4 257575010
Comment 1•6 years ago
|
||
Note that this may break any external tooling that relies on /jobdetails/. Optimisting the inserts (bug 1598333) seems less risky.
| Reporter | ||
Comment 2•6 years ago
|
||
It might be good to make the endpoint return the data based on a fetch from Taskcluster.
Comment 3•6 years ago
|
||
Yes. You may also be able to validate whether there are non-web clients using the data; I think at some point emorley insisted that such clients had to provide a unique UA string. Validating that no-one built a web UI other than treeherder itself that uses the data directly is harder of course.
Description
•