Closed Bug 1455632 Opened 6 years ago Closed 4 years ago

Remove deprecated Queue API methods

Categories

(Taskcluster :: Services, enhancement, P5)

enhancement

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.
Depends on: 1399437
QA Contact: jhford
Marking as P5 because it depends on uncompleted work in bug 1399437
Priority: -- → P5
Component: Queue → Services

@dustin , We need to remove them completely or there is some replacement query method for this ?

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.

Depends on: 1596177
QA Contact: jhford

Note that run-task is heavily used and should not be removed.

ITYM "rerunTask"? If so, yes, agreed.

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.

Depends on: 1620109
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.