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
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
Unknown Object (File)
Mon, Nov 4, 12:03 AM
Unknown Object (File)
Thu, Oct 24, 1:39 AM
Unknown Object (File)
Sep 20 2024, 5:31 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.