Skip to content

fix: nebius provisioning error#108

Merged
drewmalin merged 2 commits intomainfrom
BREV-6888/nebius-provisioning-fail
Apr 15, 2026
Merged

fix: nebius provisioning error#108
drewmalin merged 2 commits intomainfrom
BREV-6888/nebius-provisioning-fail

Conversation

@hakhandelwal11
Copy link
Copy Markdown
Contributor

Problem
Nebius instance provisioning failures caused by quota or capacity exhaustion were not being surfaced as a recognizable error. The SDK returns an *operations.Error that the existing gRPC status check cannot unwrap. As a result, ErrOutOfQuota was never returned, and the failure bubbled up as an raw Nebius error.

Solution
Added a pre-check in handleErrToCloudErr using errors.As to specifically match *operations.Error before falling through to the gRPC status check.

@hakhandelwal11 hakhandelwal11 self-assigned this Apr 14, 2026
@hakhandelwal11 hakhandelwal11 requested a review from a team as a code owner April 14, 2026 07:38
@drewmalin drewmalin merged commit ecfee0e into main Apr 15, 2026
7 of 9 checks passed
@drewmalin drewmalin deleted the BREV-6888/nebius-provisioning-fail branch April 15, 2026 18:11
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.

2 participants