Skip to content

bug: 当流水线配置了同一时间只允许一条流水线跑(取消正在运行的构建)时,重试时可能误把最新的构建取消掉 #13450

Description

@carlyin0801

问题:

Image

措施:
getBuildTasksByConcurrencyGroup 查询应该排除当前 buildId,或者在QueueInterceptor的 forEach 取消之前判断 if (buildId == task.buildId) continue。否则重试场景下会把"自己"也查出来误杀。

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions