From 6eb701fcf266013edd1b8860093268fd36187095 Mon Sep 17 00:00:00 2001 From: Graham Christensen Date: Thu, 17 Jun 2021 13:20:13 -0400 Subject: [PATCH] notifications: Document an example scenario where builds_finished is triggered twice. --- doc/manual/src/notifications.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/manual/src/notifications.md b/doc/manual/src/notifications.md index 3a47d5e9..1fcd3c57 100644 --- a/doc/manual/src/notifications.md +++ b/doc/manual/src/notifications.md @@ -34,6 +34,8 @@ Note that the notification format is subject to change and should not be conside After processing, the row's `notificationspendingsince` column is set to null. +It is possible for subsequent deliveries of the same `build_finished` data to imply different outcomes. For example, if the build fails, is restarted, and then succeeds. In this scenario the `build_finished` events will be delivered at least twice, once for the failure and then once for the success. + ## Development Notes ### Re-sending a notification