Circle CI has a moderately useful auto-cancel redundant builds feature but it isn't ideal for our use case.
We dynamically build an integration branch from al open, non-conflicted, non-draft PRs targeting the upstream branch and selection of others as identified by github labels.
We only want to deploy the latest build of the integration branch, but, the auto-cancellation of redundant branch feature doesn't work for us because when there is a lot of activity on open branches, the build of the integration branch keeps getting killed.
What we would prefer instead is a feature where the current build is protected and instead a queue of waiting builds is where the redundancy elimination occurs.
In other words, only the latest entrant into the queue is eligible to be built, but it waits its time behind whatever is currently building.
This would improve build efficiency and ensure that forward progress is possible.