Page MenuHomePhabricator

Add order-by-ID to PhabricatorWorkerTriggerQuery
ClosedPublic

Authored by epriestley on Jan 19 2015, 10:36 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Sep 3, 2:05 PM
Unknown Object (File)
Sun, Sep 1, 2:38 AM
Unknown Object (File)
Sat, Aug 17, 7:00 AM
Unknown Object (File)
Fri, Aug 16, 4:38 AM
Unknown Object (File)
Thu, Aug 15, 6:13 PM
Unknown Object (File)
Aug 8 2024, 8:45 AM
Unknown Object (File)
Jul 31 2024, 6:38 AM
Unknown Object (File)
Jul 27 2024, 11:35 AM
Subscribers

Details

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.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

epriestley retitled this revision from to Add order-by-ID to PhabricatorWorkerTriggerQuery.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: btrahan.
btrahan edited edge metadata.
This revision is now accepted and ready to land.Jan 19 2015, 10:38 PM
This revision was automatically updated to reflect the committed changes.