Closed Bug 1145802 Opened 11 years ago Closed 10 years ago

queue: Claim Task response to include Task Definition

Categories

(Taskcluster :: Services, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: pmoore, Unassigned)

References

Details

Currently when a worker claims a task, it needs to make a separate call to get the Task Definition. We could return the Task Definition as part of the Claim Task response. Note, this is not needed for the Reclaim Task response, since when reclaiming, the Task Definition should not have changed, and you should have already received it with the initial claim.
This would reduce requests... The only objection I can come up with is that it's not pretty :) - I'm pretty sure that's not a valid reason.
Component: TaskCluster → Queue
Product: Testing → Taskcluster
Will be done in bug 1145802
Depends on: 1134342
The remaining part after bug 1145802 is resolved is updating workers to use it. There is no need to have a coordinated rollout, as far as I understand, as the task definition is still available via the old mechanics. @jonasfj Please advise if there will be any breaking changes to the Claim Task response (i.e. existing fields being removed or changed). Thanks!
Landed an in production... sorry this thing shouldn't have taken so long...
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Component: Queue → Services
You need to log in before you can comment on or make changes to this bug.