Skip to content

fix: prevent cross-type canary pairing in Windows alerts (NR-530959)#2215

Merged
aryamankohli merged 1 commit intomasterfrom
NR_530959_Alerts
Apr 13, 2026
Merged

fix: prevent cross-type canary pairing in Windows alerts (NR-530959)#2215
aryamankohli merged 1 commit intomasterfrom
NR_530959_Alerts

Conversation

@aryamankohli
Copy link
Copy Markdown
Contributor

Windows canary alerts were incorrectly comparing A2Q canaries with normal canaries due to missing type check in fetch_instances.sh. Added A2Q type validation to ensure current and previous instances are of the same canary type before creating alert pairs.

Windows canary alerts were incorrectly comparing A2Q canaries with
normal canaries due to missing type check in fetch_instances.sh.
Added A2Q type validation to ensure current and previous instances
are of the same canary type before creating alert pairs.
@aryamankohli aryamankohli requested a review from a team as a code owner April 6, 2026 09:33
@coveralls
Copy link
Copy Markdown

Pull Request Test Coverage Report for Build 24026741582

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • 2 unchanged lines in 1 file lost coverage.
  • Overall coverage increased (+0.03%) to 53.505%

Files with Coverage Reduction New Missed Lines %
pkg/metrics/sampler/sampler_routine.go 2 95.35%
Totals Coverage Status
Change from base Build 24025126594: 0.03%
Covered Lines: 14502
Relevant Lines: 27104

💛 - Coveralls

Copy link
Copy Markdown
Contributor

@sairaj18 sairaj18 left a comment

Choose a reason for hiding this comment

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

LGTM

@aryamankohli aryamankohli merged commit 7bb8a65 into master Apr 13, 2026
24 of 28 checks passed
@aryamankohli aryamankohli deleted the NR_530959_Alerts branch April 13, 2026 09:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants