Bug 1509997 - set priorities cron > action > decision r=tomprince
authorDustin J. Mitchell <dustin@mozilla.com>
Mon, 26 Nov 2018 22:13:41 +0000
changeset 507534 4b8c2df35461931ee0eaa2f9e7fad1c2d41acb6c
parent 507533 9555f6d408f1d030380052ddae2491869aa1031b
child 507535 26598a115edd552ce42fe28561d7b71158f06298
push id1905
push userffxbld-merge
push dateMon, 21 Jan 2019 12:33:13 +0000
treeherdermozilla-release@c2fca1944d8c [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerstomprince
bugs1509997
milestone65.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1509997 - set priorities cron > action > decision r=tomprince Differential Revision: https://phabricator.services.mozilla.com/D12991
.taskcluster.yml
--- a/.taskcluster.yml
+++ b/.taskcluster.yml
@@ -120,27 +120,27 @@ tasks:
         dependencies: []
         requires: all-completed
 
         priority:
           # Most times, there is plenty of worker capacity so everything runs
           # quickly, but sometimes a storm of action tasks lands.  Then we
           # want, from highest to lowest:
           # - cron tasks (time-sensitive) (low)
-          # - decision tasks (minimize user-visible delay) (very-low)
-          # - action tasks (avoid interfering with the other two) (lowest)
+          # - action tasks (avoid interfering with the other two) (very-low)
+          # - decision tasks (minimize user-visible delay) (lowest)
           # SCM levels all use different workerTypes, so there is no need for priority
           # between levels; "low" is the highest priority available at all levels, and
           # nothing runs at any higher priority on these workerTypes.
           $if: "tasks_for == 'cron'"
           then: low
           else:
-            $if: "tasks_for == 'hg-push'"
+            $if: "tasks_for == 'action'"
             then: very-low
-            else: lowest  # tasks_for == 'action'
+            else: lowest  # tasks_for == 'hg-push'
         retries: 5
 
         payload:
           env:
             # checkout-gecko uses these to check out the source; the inputs
             # to `mach taskgraph decision` are all on the command line.
             $merge:
               - GECKO_BASE_REPOSITORY: 'https://hg.mozilla.org/mozilla-unified'