Commit Graph

98 Commits

Author SHA1 Message Date
Ben Marsh
23cd03fd11 Horde: Allow sending notifications to people in an allow list from the dev environment.
#preflight none

[CL 23146238 by Ben Marsh in ue5-main branch]
2022-11-15 18:32:28 -05:00
carl bystrom
a7e515501b Horde: Support cancellation tokens in LogFileService and LogFileCollection
#fyi Ben.Marsh
#preflight 635918f8a2609c2faeb73b4b

[CL 22776059 by carl bystrom in ue5-main branch]
2022-10-26 07:27:13 -04:00
Ben Marsh
d3a8a74073 Horde: Add a non-empty section block to Slack messages for closed issues.
#preflight none

[CL 22750298 by Ben Marsh in ue5-main branch]
2022-10-25 10:16:02 -04:00
Ben Marsh
c24ec38767 Horde: Change to an empty message when an issue has been closed and there is nothing else to display, to prevents no_text errors from Slack.
#preflight none

[CL 22738607 by Ben Marsh in ue5-main branch]
2022-10-24 18:03:02 -04:00
Ben Marsh
f5c46231b4 Horde: Ensure the user initiating an issue change is named in the log.
#preflight none
#jira UE-165193, UE-165197

[CL 22690706 by Ben Marsh in ue5-main branch]
2022-10-21 11:39:58 -04:00
Ben Marsh
7c94b4f732 Horde: Limit the number of people notified for a build health issue.
#preflight none

[CL 22655027 by Ben Marsh in ue5-main branch]
2022-10-20 10:15:19 -04:00
Ben Marsh
27ba778faf Horde: Fix build warning.
#preflight none

[CL 22617013 by Ben Marsh in ue5-main branch]
2022-10-18 22:58:44 -04:00
Ben Marsh
9fb0a8e518 Horde: Fix build error.
#preflight none

[CL 22615590 by Ben Marsh in ue5-main branch]
2022-10-18 20:54:46 -04:00
Ben Marsh
ff5f56be3e Horde: Fix Slack interactions not working correctly. Overloaded StartAsync()/StopAsync() methods in BackgroundService were not calling base implementation, preventing background task from being created.
#preflight none

[CL 22612386 by Ben Marsh in ue5-main branch]
2022-10-18 18:04:24 -04:00
Ben Marsh
57033bcc92 Horde: Additional logging for Slack socket management
Also fix issue escalation being tied to having a socket token set up.

#preflight none

[CL 22608698 by Ben Marsh in ue5-main branch]
2022-10-18 15:42:53 -04:00
Ben Marsh
ecb71e92d5 Horde: Add a queue for processing issue notifications, and acquire a lock before each issue is updated. This should prevent races between different servers trying to update/post about the same message.
#preflight none

[CL 22527352 by Ben Marsh in ue5-main branch]
2022-10-14 11:20:46 -04:00
Ben Marsh
55837c5583 Horde: Add a unique index on the Slack collection (renaming it to SlackV2) to prevent consistency errors.
#preflight none

[CL 22517935 by Ben Marsh in ue5-main branch]
2022-10-13 21:09:08 -04:00
Ben Marsh
7865cbe451 Horde: Catch errors while attempting to escalate issues, to prevent blocking escalation of other issues.
#preflight none

[CL 22428506 by Ben Marsh in ue5-main branch]
2022-10-10 09:17:57 -04:00
Josh Engebretson
f93f8e246c Horde: Retire the device notification Slack channel now that better captured in telemetry
#jira none
#preflight none
#rnx

[CL 22278596 by Josh Engebretson in ue5-main branch]
2022-09-30 15:30:08 -04:00
Ben Marsh
2ce67605a6 Horde: Fix incorrect mapping between Slack users and email addresses. Was returning user documents with the 'hidden' flag set. Also fix users self-assigning issues showing up as assignment by "default".
#preflight none

[CL 22248821 by Ben Marsh in ue5-main branch]
2022-09-29 11:52:50 -04:00
Ben Marsh
9c7e33abf4 Horde: Disable DMs for issues that already have a triage thread.
#preflight none

[CL 22073463 by Ben Marsh in ue5-main branch]
2022-09-19 09:55:59 -04:00
Ben Marsh
5646b14ff6 Horde: Fix issue reports not correctly linking to triage threads when output to a different channel.
#preflight none

[CL 22073418 by Ben Marsh in ue5-main branch]
2022-09-19 09:49:33 -04:00
Ben Marsh
8585cd5bc1 Horde: Perform the first issue escalation at an interval from the current time, rather than using the issue creation time. Since we only update the escalation time if it doesn't exist, this will be the time that the notification is added.
#preflight none

[CL 21988708 by Ben Marsh in ue5-main branch]
2022-09-13 14:28:11 -04:00
Ben Marsh
1caeb6e9a7 Horde: Fix first issue escalation using step start time.
#preflight none

[CL 21978207 by Ben Marsh in ue5-main branch]
2022-09-12 22:01:55 -04:00
Ben Marsh
a4d707c6a6 Horde: Fix errors posting summary messages to threads for issues.
#preflight none

[CL 21969744 by Ben Marsh in ue5-main branch]
2022-09-12 14:44:55 -04:00
Ben Marsh
6c50740a30 Horde: Fix errors failing to update Slack messages. Posting messages to channels will automatically resolve user ids to specific DM channels, which must be used to update the message later.
#preflight none

[CL 21965325 by Ben Marsh in ue5-main branch]
2022-09-12 10:36:39 -04:00
Ben Marsh
7203b9b9d9 Horde: Hide acknowledge/not me/mark fixed buttons once an issue is closed.
#jira UE-163403
#preflight none

[CL 21923200 by Ben Marsh in ue5-main branch]
2022-09-09 12:42:42 -04:00
Ben Marsh
65bd116bfa Horde: Omit status of an issue from reports if the issue is already resolved.
#jira UE-163322
#preflight none

[CL 21921227 by Ben Marsh in ue5-main branch]
2022-09-09 11:09:56 -04:00
Josh Engebretson
0907e1ff57 Horde: Add issue triage aliases for specific issue types
#jira UE-163342
#rnx
#preflight none

[CL 21920600 by Josh Engebretson in ue5-main branch]
2022-09-09 10:40:14 -04:00
Ben Marsh
f5cc8028f3 Horde: Use the issue creation time to compute the length of time that an issue has been open. The span containing the first failure will exclude spans which have previously been fixed.
#preflight none

[CL 21858385 by Ben Marsh in ue5-main branch]
2022-09-07 14:51:59 -04:00