zuul/releasenotes/notes/dequeue-on-missing-reqs-897210de746b3585.yaml
James E. Blair 082ff730fe Dequeue items that can no longer merge
We do not allow items to be enqueued into dependent pipelines if they
do not meet the approval/mergability requirements of the code review system.
For example, an "Approved" review in gerrit, or a required status check in
github.  However, we do not check those once the item has been enqueued.
This means that if someone revokes approval, the item may remain in the queue
until it finishes, at which point it will fail to merge and be dequeued.

To avoid this, perform the canMerge check (which operates on local data)
each time we process the item.

Note: this does not perform Zuul pipeline requirement checks, but that would
be a natural follow-on from this change.

Change-Id: Iaf0ff530a9cb70052bf6a0908b28e2794dd110ae
2022-03-22 11:33:31 -07:00

7 lines
183 B
YAML

---
features:
- |
Changes in dependent queues are now automatically dequeued if they
no longer meet the mergability requirements set by the upstream
code review system.