Skip to content

fix: deploy updateFunction error#124

Merged
rsonghuster merged 2 commits intomasterfrom
fix-code
Dec 8, 2025
Merged

fix: deploy updateFunction error#124
rsonghuster merged 2 commits intomasterfrom
fix-code

Conversation

@mozhou52
Copy link
Copy Markdown
Collaborator

@mozhou52 mozhou52 commented Dec 4, 2025

No description provided.

Comment thread src/resources/fc/error-code.ts Outdated

export const isFunctionScalingConfigError = (ex, localGPUType, remoteGPUType) => {
if (
ex.message.includes('GPU type should not be changed with resident scaling config') ||
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这个没有 errorcode 吗? message 一般不可靠

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

errorcode是400,InvalidArgument,有可能其他问题也是这个code

Comment thread src/resources/fc/index.ts Outdated
}
retryInterval = 5;
} else if (
isInvalidArgument(ex) &&
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

看到了 error code 是这个, 对吧

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

是的

@mozhou52 mozhou52 force-pushed the fix-code branch 8 times, most recently from 30c08c0 to f7fc0b4 Compare December 5, 2025 04:26
@rsonghuster rsonghuster merged commit 6c02961 into master Dec 8, 2025
5 checks passed
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