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
F15434726: D10766.diff
Tue, Mar 25, 5:01 AM
F15433813: D10766.id25843.diff
Tue, Mar 25, 12:44 AM
F15429762: D10766.id25843.diff
Mon, Mar 24, 4:09 AM
F15401410: D10766.id25842.diff
Mon, Mar 17, 5:31 PM
F15387026: D10766.id.diff
Sat, Mar 15, 1:40 AM
F15383764: D10766.id.diff
Fri, Mar 14, 5:51 PM
Unknown Object (File)
Fri, Feb 28, 11:06 PM
Unknown Object (File)
Feb 22 2025, 10:59 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.