aboutsummaryrefslogtreecommitdiffstats
path: root/etc/taskcluster
diff options
context:
space:
mode:
authorSimon Sapin <simon.sapin@exyr.org>2019-11-21 10:11:17 +0100
committerSimon Sapin <simon.sapin@exyr.org>2019-11-22 18:14:27 +0100
commit77089ef44e8766b3d5366b0db4e8a608ee799657 (patch)
tree79e4dfcfa3f1c0c8b7cc3183e864f50c8945a805 /etc/taskcluster
parent4dbdd255a1739707d7a8347c515f563811938557 (diff)
downloadservo-77089ef44e8766b3d5366b0db4e8a608ee799657.tar.gz
servo-77089ef44e8766b3d5366b0db4e8a608ee799657.zip
Fix updating the GitHub Status as soon as any TC task fails
… rather than only when the entire task group is resolved. This allows Homu to more quickly be notified of a failure, and move on to the next PR in the queue sooner.
Diffstat (limited to 'etc/taskcluster')
-rw-r--r--etc/taskcluster/decision_task.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/etc/taskcluster/decision_task.py b/etc/taskcluster/decision_task.py
index 0244f955bfe..ecfa82507f9 100644
--- a/etc/taskcluster/decision_task.py
+++ b/etc/taskcluster/decision_task.py
@@ -21,6 +21,12 @@ def tasks(task_for):
branch if not branch.startswith("try-") else "try"
)
+ # Work around a tc-github bug/limitation:
+ # https://bugzilla.mozilla.org/show_bug.cgi?id=1548781#c4
+ if task_for.startswith("github"):
+ # https://github.com/taskcluster/taskcluster/blob/21f257dc8/services/github/config.yml#L14
+ CONFIG.routes_for_all_subtasks.append("statuses")
+
# The magicleap build is broken until there's a surfman back end
magicleap_dev = lambda: None
magicleap_nightly = lambda: None