fix: exclude maestro-agent-lock lease from alerting to supress alerts… #6747
All Vouch review confidence checks passed
Residual risk 0.14 = Change Risk (0.36) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.36 · 184 lines diff across 2 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.312
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #6747"
general
weight: 0.35
tmstff
… that are not warranted.
https://redhat.atlassian.net/browse/ARO-28542
What
exclude maestro-agent-lock lease from alerting to supress alerts that are not warranted.
Why
To avoid alert spam.
Background: when maestro is configured to run with a single instance, no leader election takes place. That's why the lease is not renewed. This information is not available when alerting, so we have to leave out this alert.
Testing
Before:
time since renewal for maestro-agent-lock is > 720 (so large that threshold is not visible)
<img width="1209" height="874" alt="image" src="https://github.com/user-attachments/assets/49a71b72-2d96-4df1-87ae-acaf2ba6c5b4" />
After:
Only threshold is visible, no entry for time since renewal for maestro-agent-lock is > 720
<img width="1212" height="877" alt="image" src="https://github.com/user-attachments/assets/49eb7d59-62f1-4a91-ae9a-1195e70152d1" />
Special notes for your reviewer
<!-- optional -->
PR Checklist