fix(runtime-fallback): also classify Volcano Engine errors as quota_exceeded
- Add /exceeded.*quota/i and /usage\s*quota/i to classifyErrorType quota block - Align /usage.?quota/i -> /usage\s*quota/i in RETRYABLE_ERROR_PATTERNS for consistency - Strengthen auto-retry-signal test assertion - Add classifyErrorType assertion to Volcano Engine regression test Ensures Volcano Engine errors are both retryable AND logged as errorType: quota_exceeded.
This commit is contained in:
@@ -28,7 +28,7 @@ export const RETRYABLE_ERROR_PATTERNS = [
|
||||
/quota\s+will\s+reset\s+after/i,
|
||||
/quota.?exceeded/i,
|
||||
/exceeded.*quota/i,
|
||||
/usage.?quota/i,
|
||||
/usage\s*quota/i,
|
||||
/exhausted\s+your\s+capacity/i,
|
||||
/all\s+credentials\s+for\s+model/i,
|
||||
/cool(?:ing)?\s+down/i,
|
||||
|
||||
Reference in New Issue
Block a user