Page MenuHomePhabricator

Move cancel/retry/free task queue actions to bin/worker

Authored by epriestley on Dec 6 2014, 4:22 PM.
Referenced Files
Unknown Object (File)
Mon, Mar 27, 5:33 PM
Unknown Object (File)
Fri, Mar 24, 7:06 AM
Unknown Object (File)
Feb 12 2023, 8:44 PM
Unknown Object (File)
Feb 5 2023, 1:50 PM
Unknown Object (File)
Feb 3 2023, 6:41 PM
Unknown Object (File)
Nov 23 2022, 10:20 AM
Unknown Object (File)
Nov 15 2022, 9:54 AM
Unknown Object (File)
Nov 13 2022, 12:35 PM



Fixes T6702. Ref T3554. Currently, tasks can be cancelled, retried and freed from the web UI by any logged in user.

This isn't appreciably dangerous (I can't come up with a way that a user could do anything security-affecting), but I think I probably intended this to be admin-only, but these actions should move to the CLI anyway.

Move them to the CLI. Lay some groundwork for some future bin/worker cancel --class SomeTaskClass, but don't implement that yet.

Test Plan

Used cancel, retry and free from the CLI. Hit all the error/success states.

Diff Detail

rP Phabricator
Lint Not Applicable
Tests Not Applicable

Event Timeline

epriestley retitled this revision from to Move cancel/retry/free task queue actions to bin/worker.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: btrahan.
btrahan edited edge metadata.
This revision is now accepted and ready to land.Dec 6 2014, 5:05 PM
This revision was automatically updated to reflect the committed changes.