Skip to content

Commit 276a152

Browse files
committed
Include pulse events
1 parent 34535c4 commit 276a152

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

rfcs/0190-queue-change-task-run-priority.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,17 @@ Tasks would only be updated if they are not resolved yet and before their deadli
4646

4747
> **Note**: To allow changing the priority of the task without breaking CoT validations, it would be necessary to add `"priority"` to the [`ignore_keys`](https://github.com/mozilla-releng/scriptworker/blob/454c4dd0bae7958140ea8d19adf3670e705ace09/src/scriptworker/cot/verify.py#L910)
4848
49+
### Events
50+
51+
Since Taskcluster doesn't have any built-in auditing tools, it would be beneficial to have events for the priority change.
52+
53+
Following events would be emitted:
54+
55+
* `task-priority-changed` with `taskId`, `existingPriority` and `newPriority`
56+
* `task-group-priority-changed` with `taskGroupId`, `newPriority`
57+
58+
When the task group priority is changed, the event will be emitted for each task in the group additionally.
59+
4960
### New scopes
5061

5162
This will also require introduction of the new scopes (anyOf):

0 commit comments

Comments
 (0)