Skip to content

Build cancelation cancels all builds on worker with multiple executors #201

@JordanSussman

Description

@JordanSussman

Description

Currently, the CancelBuild function incorrectly cancels all builds on workers that have multiple executors. This is occurring since the sigterm being sent triggers all executors to cancel work instead of only the one managing the specific build.

Value

Admins are able to successfully use workers with multiple executors without fear of users interrupting each other.

More details

  1. What is the output of vela --version?

0.7.1

  1. What operating system is being used?

linux

  1. What are the steps to reproduce?
  • Create a worker with VELA_BUILD_LIMIT >= 2
  • Schedule two parallel builds on the same worker
  • Cancel one of the builds via the UI or API

Metadata

Metadata

Labels

area/workerIndicates a change to the workerbugIndicates a bug

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions