Skip to content

Conversation

@ascorbic
Copy link
Contributor

Summary

We already put PRs in concurrency groups so that new pushes cancel in-progress builds, but we don't do that for production. This PR changes it so that new merges to production cancel any in-progress builds. We only care about the most recent commit, so it's wasteful to keep running builds that will be out of date very soon.

Screenshots (optional)

Documentation checklist

@github-actions
Copy link
Contributor

This pull request requires reviews from CODEOWNERS as it changes files that match the following patterns:

Pattern Owners
/.github/ @cloudflare/pcx-content-engineering, @kodster28

@github-actions
Copy link
Contributor

Copy link
Contributor

@threepointone threepointone left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

love it

@kodster28
Copy link
Collaborator

kodster28 commented Nov 24, 2025

We don't want this. If you cancel in progress builds, you can get into an endless queuing situation where you might then wait longer for something to publish. Seen this happen quite a lot in other contexts (search indexing, for example) and it can be maddening.

In progress builds also have no effect on the speed / queues for other builds.

Happy to provide more context or discuss more if I'm missing something here. Just let me know!

@kodster28 kodster28 closed this Nov 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants