HomePhorge

Add order-by-ID to PhabricatorWorkerTriggerQuery

Description

Add order-by-ID to PhabricatorWorkerTriggerQuery

Summary:
Ref T6881. By design, the EXECUTION order only selects tasks which have been scheduled (since it performs a JOIN). This is inconsistent with other queries and problematic for withID/withPHID queries which may want to select an unscheduled task.

Switch to standard ID ordering by default.

Test Plan:

  • Instances console now finds unscheduled triggers.
  • Verified that all existing queries specify an explicit order.

Reviewers: btrahan

Reviewed By: btrahan

Subscribers: epriestley

Maniphest Tasks: T6881

Differential Revision: https://secure.phabricator.com/D11436

Details

Provenance
epriestleyAuthored on Jan 19 2015, 4:55 PM
themackabuPushed on Mar 25 2025, 8:07 PM
Parents
rPcccdc488834a: Implement PhabricatorDestructibleInterface for event triggers
Branches
Unknown
Tags
Unknown

Event Timeline