Closed
Bug 1162702
Opened 10 years ago
Closed 7 years ago
queue: Include artifact size in API metadata (queue.listArtifacts)
Categories
(Taskcluster :: Services, defect)
Taskcluster
Services
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: wenzel, Assigned: jhford)
References
Details
For bug 1151842, I am adding some API consumer code to nightly.mozilla.org to link to the lastest build of b2g-linux64 from there.
One thing I need for display is the file size of the build artifact, which I seem to be unable to get out of the taskcluster API at this moment.
I'll work around it by sending a HEAD request to the artifact itself, but it would be useful if the metadata returned by the API would just include artifact size as well.
Comment 1•10 years ago
|
||
I assume this for the queue.listArtifacts API end-point.
I agree this would be nice to have. We don't have the meta-data right now because we can't promise correctness is face of untrusted workers.
But we plan to do a 3-step artifact publication process in bug 1155645, which should enable us
to maintain artifact size as an attribute in our meta-data.
I don't know when we'll get around to it. But if it's a priority feel free to increase "importance".
(It's not a quick hack, because it involves multiple components, but I think we want to have it)
Depends on: 1155645
Summary: Include artifact size in API metadata → queue: Include artifact size in API metadata (queue.listArtifacts)
Reporter | ||
Comment 2•10 years ago
|
||
All good. The workaround I mentioned in comment 0 works just fine for my purposes:
https://github.com/mozilla/nocturnal/pull/38/files#diff-e750d170b09d7d75abc43159175815e0R232
So while I think it's good metadata to have, I am not blocked on it. Thanks!
Updated•9 years ago
|
Component: TaskCluster → Queue
Product: Testing → Taskcluster
Comment 3•8 years ago
|
||
@jhford, I think this will likely happen for the new blob artifacts you're adding.
Assignee: nobody → jhford
Assignee | ||
Comment 4•7 years ago
|
||
(In reply to Jonas Finnemann Jensen (:jonasfj) from comment #3)
> @jhford, I think this will likely happen for the new blob artifacts you're
> adding.
it does.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Updated•6 years ago
|
Component: Queue → Services
You need to log in
before you can comment on or make changes to this bug.
Description
•