Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat:支持插件设置是否可以重试 #11331

Open
fayewong-v5 opened this issue Dec 18, 2024 · 0 comments
Open

feat:支持插件设置是否可以重试 #11331

fayewong-v5 opened this issue Dec 18, 2024 · 0 comments
Assignees
Labels
kind/enhancement 功能改进特性

Comments

@fayewong-v5
Copy link
Contributor

fayewong-v5 commented Dec 18, 2024

【背景】
部分插件对上下文环境有依赖关系,运行失败时,不能单独重试,需要整个 job 一起重试

【需求】

  1. 支持插件申明是否可以重试,在插件 task.json 的 config 配置下,支持如下控制:
  • 是否支持手动重试:canManualRetry,缺省时为 true,插件开发者可以设置为 false
  • 是否支持自动重试:canAutoRetry,缺省时为 true,插件开发者可以设置为 false
  1. 如果不允许重试,UI 方式查看插件步骤配置时,对应的流程选项禁用,hover 提示:存在上下文依赖,不能单步重试
  2. 如果是 Code 方式提交的流水线,提交时检测配置是否合法,不合法不允许提交
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/enhancement 功能改进特性
Projects
None yet
Development

No branches or pull requests

4 participants