docs icon indicating copy to clipboard operation
docs copied to clipboard

Concurrency group issues with block/input steps

Open pzeballos opened this issue 1 year ago • 3 comments

There's a known issue when using concurrency group with block/input steps.

The time-ordering of jobs that reference a concurrency is stable (roughly: the build creation time, and then the jobs ordering within that build). But only active jobs (roughly: running or eligible-to-run) are part of the queue. Jobs waiting for a block/input step aren’t active, so they’re not active in the queue, and so the concurrency group will let jobs from a newer build run. But then when you unblock that block/input step, those jobs become active in the queue, and potentially jump in front of the newer build, breaking the concurrency group ordering.

pzeballos avatar Jan 18 '24 22:01 pzeballos

Preview URL: https://2620--bk-docs-preview.netlify.app

buildkite-docs-bot avatar Jan 18 '24 22:01 buildkite-docs-bot

Quick question, does the concurrency attribute defined in a step specify the concurrency limit for that step?

gilesgas avatar Jan 24 '24 02:01 gilesgas

Quick question, does the concurrency attribute defined in a step specify the concurrency limit for that step?

You need to specify it. For example concurrency: 1 will set the limit to 1. If you don't put anything, it's like doing nothing :)

pzeballos avatar Jan 26 '24 15:01 pzeballos