Skip to content

Comments

fix(nebius): add create-instance error handling for ResourceExhausted#93

Merged
stephahart merged 3 commits intomainfrom
shivamj-del/BREV-2818
Feb 21, 2026
Merged

fix(nebius): add create-instance error handling for ResourceExhausted#93
stephahart merged 3 commits intomainfrom
shivamj-del/BREV-2818

Conversation

@shivamj-del
Copy link
Contributor

@shivamj-del shivamj-del commented Feb 18, 2026

Summary
Map gRPC ResourceExhausted errors to ErrOutOfQuota during instance creation to ensure quota failures return a consistent cloud error.

Root Cause
Quota-related failures from the provider surfaced as raw gRPC errors, resulting in inconsistent error handling and unclear feedback when instance creation exceeded available resources.

Changes
Add handleErrToCloudErr() to translate ResourceExhausted into ErrOutOfQuota
Apply the handler to create-instance request, operation wait, and unsuccessful operation states
Improve reliability and clarity of quota error reporting

@shivamj-del shivamj-del requested a review from a team as a code owner February 18, 2026 11:33
@stephahart stephahart merged commit bcd0710 into main Feb 21, 2026
8 of 12 checks passed
@stephahart stephahart deleted the shivamj-del/BREV-2818 branch February 21, 2026 01:39
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