certimate-go / certimate-go/certimate
[Feature] 增加重试循环
- Dominant language
- Go
- Stars
- 9.3k
- Forks
- 898
- Avg merge
- 4d 5h
- Merged PRs (30d)
- 8
Description
### Description / 功能描述
在出现包含 xxxxx 关键词或不包含 xxxx 关键词的情况下,继续重试,失败一次就捕获并扣除次数
所有次数扣完或触发跳过关键词时,则退出,期间发生的错误照样输出,但不中断执行流程
### Motivation / 请求动机
希望在流程中增加循环重试功能,允许用户主动在清楚知晓风险的情况下设置重试
例如有时候 NS 验证签发证书会因为网络波动失败,此时手动重新执行 1-3 次即可正常
但是这对于 cron 来说很麻烦,而且属于可以接受的重试,用户在自己清楚需求的情况下设置一个重试次数
我自己在使用中这是一个高频需求场景,我目前的解决办法就是自己手动重新执行整个流程
### Miscellaneous / 其他
_No response_
### Contribution / 贡献代码
- [x] I am interested in contributing a PR for this! / 我乐意为此提交代码并发起 PR!
Contributor guide
Research direction
The issue names no files, tests, or entry points, so start by tracing the certificate issuance workflow and its existing error handling. Clarify how retry counts, keyword matching, skip conditions, and error output should interact, then verify that the workflow completes after retries are exhausted without being interrupted by captured errors.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- backend, devops
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 50/100