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
F14096245: D21534.id51263.diff
Tue, Nov 26, 2:24 AM
F14095970: D21534.diff
Tue, Nov 26, 1:03 AM
Unknown Object (File)
Sun, Nov 24, 3:55 PM
Unknown Object (File)
Thu, Nov 21, 9:06 AM
Unknown Object (File)
Wed, Nov 20, 1:17 AM
Unknown Object (File)
Sat, Nov 16, 2:41 AM
Unknown Object (File)
Tue, Nov 12, 11:51 AM
Unknown Object (File)
Tue, Nov 12, 6:36 AM
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.