Skip to content
This repository has been archived by the owner on Jul 30, 2024. It is now read-only.
/ NuGet.Jobs Public archive

[Availability] Update StatusAggregator to support new AI availability test alerts #778

Merged
merged 7 commits into from
Jul 30, 2019

Conversation

scottbommarito
Copy link

@@ -77,7 +77,11 @@ public IComponent Export()

if (currentComponent == null)
{
throw new InvalidOperationException($"Couldn't find component with path {activeEntity.AffectedComponentPath} corresponding to active entities.");
_logger.LogWarning(
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In the past, all component paths were specified by the job, and if a component path was specified that did not exist, the process would crash.

Because I'm adding an alert that specifies its own component path, I felt it was best to remove this protection. The StatusAggregator job would be essentially permanently stuck if it encountered a malformed AI alert. This way, the process will gracefully ignore any non-existent component paths.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, good move.

Copy link
Member

@joelverhagen joelverhagen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⌚️

@scottbommarito scottbommarito merged commit 4f5c204 into dev Jul 30, 2019
@scottbommarito scottbommarito deleted the sb-aialert branch July 30, 2019 00:09
joelverhagen pushed a commit that referenced this pull request Jul 31, 2020
[ReleasePrep][2020.05.05] RI of dev into master
joelverhagen pushed a commit that referenced this pull request Oct 26, 2020
joelverhagen pushed a commit that referenced this pull request Oct 26, 2020
[ReleasePrep][2020.05.05] RI of dev into master
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants