Attention: These instructions should no longer be routinely needed because the status-reconciler now performs the necessary actions automatically and the queue should never become blocked.
This document is kept here in case of need for a manual intervention.
Adding, removing or renaming merge-blocking status in a test configuration may result in a merge queue that is stuck unless manual steps with the migratestatus or commenter tools are taken. Only the pull requests that are already opened will be affected.
When a new prow job is added, you can include the new status check in all the PRs:
commenter --query "repo:$org/$repo is:pr" --token $token --comment "/test $prowjob-name" --ceiling 0 --alsologtostderr --confirm
While removing a required prow job, the pull requests will still await the removed job to be completed. You can solve this issue by retiring the status check context:
$ migratestatus --org $org --repo $repo --tokenfile $token --retire $prowjob-name --dry-run false --alsologtostderr
While renaming a required prow job, the pull requests will still await the old job to be completed. You can retire the old status check and create a new with the correct name:
$ migratestatus --org $org --repo $repo --tokenfile $token --move $old-prowjob-name --dest $new-prowjob-name --dry-run false --alsologtostderr