CI: Retry spot-terminated jobs in merge queue - #34853
Draft
alexslavr wants to merge 3 commits into
Draft
Conversation
alexslavr
force-pushed
the
lavrov/gatekeeper-for-demo-tests
branch
from
August 20, 2026 13:49
6a1e9bd to
14566b1
Compare
visual-tests-demos workflow to handle spot termination failures
visual-tests-demos workflow to handle spot termination failures
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Merge-queue runs of
Demos Visual Testsoccasionally fail because their self-hosted spot runners get reclaimed mid-job. A single spot-driven failure of any required check evicts the PR from the queue even though the failure is unrelated to the change. Angular framework screenshot jobs (testcafe-frameworks-allmatrix entries whoseCONSTELstarts withangular) are the most affected because they take up to 60 min per entry and there are 10 of them.What this PR does
Adds a merge-queue-only wrapper that gives the workflow one automatic retry, scoped to the matrix entries known to be affected. Ordinary pull_request and workflow_dispatch runs are unaffected.