Page MenuHomePhabricator

Add order-by-ID to PhabricatorWorkerTriggerQuery
ClosedPublic

Authored by epriestley on Jan 19 2015, 10:36 PM.
Tags
None
Referenced Files
F15432809: D11436.diff
Mon, Mar 24, 7:41 PM
F15424848: D11436.id27478.diff
Sun, Mar 23, 12:27 AM
F15419430: D11436.id27487.diff
Fri, Mar 21, 6:00 AM
F15417120: D11436.id.diff
Thu, Mar 20, 3:30 PM
F15413998: D11436.diff
Wed, Mar 19, 10:23 PM
F15397368: D11436.id27487.diff
Sun, Mar 16, 7:49 PM
F15336434: D11436.id27487.diff
Sat, Mar 8, 6:50 PM
F15310021: D11436.diff
Thu, Mar 6, 7:59 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
Branch
trigger5
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 3920
Build 3933: [Placeholder Plan] Wait for 30 Seconds

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.