commit 3919434e55256c0c36b25a3773eb0b36c7e09c03
parent 72612ebbef4a7bba097b9efb915ab574f7703c4f
Author: Aaron Train <aaron.train@gmail.com>
Date: Mon, 27 Oct 2025 12:42:50 +0000
Bug 1996360 - Adjust extra.notify in ui-test-apk for slackAttachments support r=ajoltan
Noticed a failing task didn't fire out to Slack but silently failed.
I think it's 2 things I forgot from last update:
I forgot to swap out slackBlocks with slackAttachments. Once swapped, remove the outer attachments wrapper.
https://docs.taskcluster.net/docs/reference/core/notify/usage
Differential Revision: https://phabricator.services.mozilla.com/D270044
Diffstat:
1 file changed, 6 insertions(+), 10 deletions(-)
diff --git a/taskcluster/kinds/ui-test-apk/kind.yml b/taskcluster/kinds/ui-test-apk/kind.yml
@@ -61,9 +61,8 @@ task-defaults:
by-shipping-product:
fenix:
slackText: 'https://firefox-ci-tc.services.mozilla.com/tasks/${status.taskId} | ${task.metadata.name} | ${task.metadata.source}'
- slackBlocks: |
- {
- "attachments": [
+ slackAttachments: |
+ [
{
"color": "#FF0000",
"blocks": [
@@ -120,13 +119,11 @@ task-defaults:
}
]
}
- ]
- }
+ ]
focus:
slackText: 'https://firefox-ci-tc.services.mozilla.com/tasks/${status.taskId} | ${task.metadata.name} | ${task.metadata.source}'
- slackBlocks: |
- {
- "attachments": [
+ slackAttachments: |
+ [
{
"color": "#FF0000",
"blocks": [
@@ -183,8 +180,7 @@ task-defaults:
}
]
}
- ]
- }
+ ]
default: {}
'default': {}