Skip to content

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

Open
shivamj-del wants to merge 3 commits intomainfrom
shivamj-del/BREV-2818
Open

fix(nebius): add create-instance error handling for ResourceExhausted#93
shivamj-del wants to merge 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
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

Comments