feat(sandbox): 配置创建和连接重试 - #458
Conversation
通过 --retry-max 覆盖 Sandbox SDK 的重试上限,未指定时继续使用环境变量和默认配置。\n\n创建与连接命令现在可以显式禁用重试,并补充了相应文档和客户端回归测试。
|
Hi @DROWNING2003. Thanks for your PR. I'm waiting for a qiniu member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
|
[APPROVALNOTIFIER] This PR is APPROVED Approval requirements bypassed by manually added approval. This pull-request has been approved by: DROWNING2003 The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
变更
github.com/qiniu/go-sdk/v7至v7.27.0,使用创建请求幂等键与可重试调用支持。qshell sandbox create和qshell sandbox connect增加--retry-max,0禁用重试;未指定时保留SANDBOX_RETRY_MAX和 SDK 默认 5 次重试的行为。验证
make testgofmt -s -l .staticcheck ./iqshell/sandbox/... ./cmd/...全量
make lint仍受仓库既有、与本 PR 无关的 staticcheck 告警影响。