Page MenuHomePhabricator

Fix daemon task queue to respect task priority
ClosedPublic

Authored by epriestley on Oct 31 2014, 3:29 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Apr 17, 3:49 AM
Unknown Object (File)
Thu, Apr 11, 6:10 PM
Unknown Object (File)
Mar 8 2024, 1:53 PM
Unknown Object (File)
Mar 5 2024, 4:10 PM
Unknown Object (File)
Feb 11 2024, 2:15 AM
Unknown Object (File)
Feb 2 2024, 11:28 PM
Unknown Object (File)
Jan 31 2024, 12:24 AM
Unknown Object (File)
Jan 30 2024, 10:04 PM

Details

Summary

Fixes an issue with T5336 / D9871. We did 99% of the work here but didn't actually turn on the priority sorting. The unit test passed by default, which didn't catch this.

  • Fix the unit test (it failed).
  • Fix the query (test now passes).
  • Add a "Next in Queue" element to the UI to make this kind of thing easier to spot/understand.
Test Plan

Ran unit test. Viewed "Next in Queue". Queued some tasks, flushed the queue. Web UI tracked the state sensibly.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

epriestley retitled this revision from to Fix daemon task queue to respect task priority.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added reviewers: btrahan, joshuaspence.
epriestley added a subscriber: cburroughs.
btrahan edited edge metadata.
This revision is now accepted and ready to land.Oct 31 2014, 4:24 PM
This revision was automatically updated to reflect the committed changes.