-
Notifications
You must be signed in to change notification settings - Fork 756
Make resource HealthStatus computed from HealthReports #6368
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
adamint
merged 43 commits into
dotnet:main
from
adamint:dev/adamint/remove-aggregated-healthstatus
Oct 22, 2024
Merged
Changes from 1 commit
Commits
Show all changes
43 commits
Select commit
Hold shift + click to select a range
43ac440
Make resource HealthStatus computed from HealthReports
8b3406a
change HealthStatus back to property, fix test
c608065
Update HealthStatus when state changes
d8556f4
Return null HealthStatus when not running, use constant
8f605c9
add 16 to reserved fields
d4d6849
add default argument to _healthReports, re-add property
5955d5f
Say resource is unhealthy if it is running but a health check has not…
a29cc72
Change Health State -> Health state
e817af7
Remove redundant condition
20dd730
clean up
b864dad
add test for ComputeHealthStatus
1c0c161
Disambiguate have not received health reports and empty health reports
0e9aa7e
Revert change, add health reports to test PublishUpdate to reflect ac…
908ad8d
Set health reports to [] on resources that don't have health checks
b151230
Merge branch 'main' into dev/adamint/remove-aggregated-healthstatus
5d2d053
test disabling all rhc tests
4c5858e
Merge branch 'main' into dev/adamint/remove-aggregated-healthstatus
f6dd57c
try enabling 4 tests
3050ff8
enable additional 3 tests
94ee0cc
re-skip 2 checks
aeb4618
add initial health snapshots in resource notification service
b696e47
Fix playground.
mitchdenny 85ac554
set health report on publish
50c92d9
run CI again
6f96288
re-add additional test
4a3f64d
re-enable additional test
e937b92
re-enable last test
55b5629
remove the redundant parentheses
b352068
remove duplicate logic
6056a29
clean up
3199d76
remove unnecessary newlines
b3ecfeb
remove HealthAnnotationsInitialized
c38a5ff
add comment
2bb8e07
re-add health status computation in dashboard
feb1dc7
forgot newline
5145c38
fix test
b88279a
Add a healthy check resources in to health check sandbox to showcase …
5b91f84
Update resource health reports if any have changed after the health c…
69abad0
move logic into above condition
f7127eb
extract to local static method
0129991
use string comparers
8a02eb5
return true if health check name is not found in existing health reports
2799a2a
Merge branch 'main' into dev/adamint/remove-aggregated-healthstatus
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.