fix: make CI queue guard purpose-sensitive #1146

Closed
opened 2026-08-10 19:31:33 +00:00 by mos-dt-0 · 0 comments
Collaborator

The CI queue guard currently blocks pre-push when the remote branch head has terminal-failure or no status, even though no pipeline is queued or running. Make --purpose push wait only for pending work and allow valid terminal/no-status states, while keeping --purpose merge fail-closed and retaining malformed/unknown rejection. Add focused regression coverage for both purposes.

The CI queue guard currently blocks pre-push when the remote branch head has terminal-failure or no status, even though no pipeline is queued or running. Make --purpose push wait only for pending work and allow valid terminal/no-status states, while keeping --purpose merge fail-closed and retaining malformed/unknown rejection. Add focused regression coverage for both purposes.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: mosaicstack/stack#1146