Skip to content

Commit 6ae4f7f

Browse files
committed
bot: Update index path of the decision task
1 parent f1b8dab commit 6ae4f7f

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

bot/code_coverage_bot/hooks/base.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,8 @@ def __init__(
5454
# Load coverage tasks for all platforms
5555
decision_task_id = taskcluster.get_decision_task(self.branch, self.revision)
5656

57+
assert decision_task_id is not None, "The decision task couldn't be found"
58+
5759
group = taskcluster.get_task_details(decision_task_id)["taskGroupId"]
5860

5961
test_tasks = [

bot/code_coverage_bot/taskcluster.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818

1919
def get_decision_task(branch, revision):
20-
route = f"gecko.v2.{branch}.revision.{revision}.firefox.decision"
20+
route = f"gecko.v2.{branch}.revision.{revision}.taskgraph.decision"
2121
index = taskcluster_config.get_service("index")
2222
try:
2323
return index.findTask(route)["taskId"]

0 commit comments

Comments
 (0)