Closed
Bug 1455632
Opened 6 years ago
Closed 4 years ago
Remove deprecated Queue API methods
Categories
(Taskcluster :: Services, enhancement, P5)
Taskcluster
Services
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: dustin, Unassigned)
References
Details
We have a few deprecated API methods: queue.defineTask queue.rerunTask as well as some deprecated ways of using existing APIs, notably queue.createTask without priority We should measure the usage of each of these APIs, set a date for removal, and work with any remaining users to stop using them. Note that queue.defineTask is still used by the scheduler service, so will require bug 1399437 first.
Comment 1•6 years ago
|
||
Marking as P5 because it depends on uncompleted work in bug 1399437
Priority: -- → P5
Assignee | ||
Updated•5 years ago
|
Component: Queue → Services
Comment 2•5 years ago
|
||
@dustin , We need to remove them completely or there is some replacement query
method for this ?
Reporter | ||
Comment 3•5 years ago
|
||
There are already replacement methods for all of these. This is more of a "research" question -- we know the methods are still used right now, so they can't be removed immediately.
Comment 4•4 years ago
|
||
Note that run-task is heavily used and should not be removed.
Reporter | ||
Comment 5•4 years ago
|
||
ITYM "rerunTask"? If so, yes, agreed.
Reporter | ||
Comment 6•4 years ago
|
||
So the remaining method to remove is queue.defineTask
(its associated scopes are already removed).
I'll make a quick PR to mark rerunTask as not deprecated -- I thought we had done so long ago.
Reporter | ||
Comment 7•4 years ago
|
||
Reporter | ||
Updated•4 years ago
|
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•