feat: detect Azure quota errors and surface them as QuotaExceeded #6712
All Vouch review confidence checks passed
Residual risk 0.24 = Change Risk (0.44) × (1 − Review Confidence (0.45)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.44 · 218 lines diff across 2 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.02 · 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
Shallow Review Depth
shallow_review_depth
0.344
Diff Size
diff_size
0.322
Real PR Conversation Timeline
1 comments
"Review active on #6712"
general
weight: 0.35
ahitacat
Summary
Detect Azure quota errors from ARM responses and return HTTP 500 with a clear
QuotaExceedederror code, rather than allowing operations to hang or return generic errors.Problem
When Azure returns quota errors (e.g.
PublicIPCountLimitReached,QuotaExceeded), the backend does not surface these as clear error responses. Operations may hang, time out, or return generic errors that hide the root cause. As observed in AROSLSRE-872, the inflight check retried 337–365 times before backing off with no clear error surfaced to the caller.Design decisions
OverconstrainedZonalAllocationRequestandOverconstrainedAllocationRequestare transient Azure placement failures, not quota violations. They are intentionally excluded — mixing them would send customers down the wrong remediation path.Changes
References