-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
Epicinitiative:object-servicehttps://github.com/taskcluster/scrum/blob/main/gen/initiatives.md#object-servicehttps://github.com/taskcluster/scrum/blob/main/gen/initiatives.md#object-service
Description
This epic involves adding support for a new artifact type that involves using the object service. For the most part, this should refer the caller to the object service, rather than hiding the object service behind the queue API -- that way workers can adopt improvements to the object service without changes to the queue.
That's tricky in two places:
getArtifactcurrently assumes a simple download, so let's add new methods to get artifact metadata without downloading it, and a method the caller can use to talk to the object service- For upload, the queue wants to control the expiration of the artifact. That's not possible with scopes. However, we set up for this already: once
startUploadis called, the expiration and uploadId are fixed for that object name. So, queue should callstartUploadwith its own uploadId and with no available methods, "locking" the uploadId and expiration, and then let the caller callstartUploadagain, with methods this time.
Metadata
Metadata
Assignees
Labels
Epicinitiative:object-servicehttps://github.com/taskcluster/scrum/blob/main/gen/initiatives.md#object-servicehttps://github.com/taskcluster/scrum/blob/main/gen/initiatives.md#object-service