Page MenuHomePhabricator

Add more selectors to existing "bin/worker" commands
ClosedPublic

Authored by epriestley on Feb 1 2021, 9:53 PM.
Tags
None
Referenced Files
F14400424: D21534.id51255.diff
Sun, Dec 22, 7:40 PM
Unknown Object (File)
Thu, Dec 19, 6:36 PM
Unknown Object (File)
Mon, Dec 16, 7:39 AM
Unknown Object (File)
Fri, Dec 13, 8:35 AM
Unknown Object (File)
Tue, Dec 10, 9:44 PM
Unknown Object (File)
Tue, Dec 10, 1:06 PM
Unknown Object (File)
Thu, Dec 5, 1:01 PM
Unknown Object (File)
Thu, Dec 5, 12:15 PM
Subscribers
None

Details

Summary

Ref T13591. Add more selector flags to let "bin/worker" commands operate on tasks by container PHID, object PHID, priority, etc.

This anticipates adding "bin/worker reprioritize" and "bin/worker delay" workflows, to provide more tools for handling repository imports.

Test Plan
  • Ran bin/worker execute, cancel, retry, and free with various sets of selector flags.
  • Used --min-priority, --max-priority, --object, --container, --archived, --max-failure-count to select tasks.
  • Specified invalid, duplicate, aliased objects with "--object".
  • Specified invalid range priority selectors.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision was not accepted when it landed; it landed in state Needs Review.Feb 2 2021, 9:40 PM
This revision was automatically updated to reflect the committed changes.