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
F18993593: D21534.id51255.diff
Wed, Nov 19, 8:12 AM
F18871050: D21534.id.diff
Tue, Nov 4, 8:44 PM
F18840067: D21534.id51255.diff
Mon, Oct 27, 8:50 PM
F18809341: D21534.id.diff
Oct 19 2025, 1:10 PM
F18798830: D21534.diff
Oct 17 2025, 9:05 AM
F18734382: D21534.id.diff
Sep 30 2025, 10:53 PM
F18653542: D21534.diff
Sep 21 2025, 2:17 PM
F18653513: D21534.diff
Sep 21 2025, 2:11 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
Branch
phase5
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 25069
Build 34591: Run Core Tests
Build 34590: arc lint + arc unit

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.