From 19ac360ab816b10d6fbd83441f2d2ecd415fbdbe Mon Sep 17 00:00:00 2001 From: Rudy Celekli Date: Sat, 21 Nov 2026 03:43:02 -0500 Subject: [PATCH 1/2] docs(ci): warn about required checks on GitHub merge queues --- DOCUMENTATION.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/DOCUMENTATION.md b/DOCUMENTATION.md index 7a09553d..38e1c942 100644 --- a/DOCUMENTATION.md +++ b/DOCUMENTATION.md @@ -1063,6 +1063,8 @@ The API key comes from a `TESTSPRITE_API_KEY` repo secret; `ci init` prints the > Backend tests use the base URL inside their generated code, not the preview URL. To block merges on the gate, make the `testsprite-tests` check a required status check in your branch protection. The job is named `testsprite-tests` rather than `test` or `e2e` because GitHub matches required status checks by job name alone, across every workflow in the repository, so the name must not collide with a job you already have. +**GitHub merge queues.** The generated workflow handles pull requests or deployment events. It doesn't run on `merge_group`. If your branch uses a merge queue, require a check that reports for the merge-group commit. Requiring the generated `testsprite-tests` check alone leaves the queue waiting for a check it won't receive. See [GitHub's merge-queue status check requirements](https://docs.github.com/en/pull-requests/how-tos/merge-and-close-pull-requests/troubleshooting-required-status-checks#status-checks-with-github-actions-and-a-merge-queue). + #### Checking that deployment events reach the repo A workflow triggered by deployments (`on: deployment_status`) only fires if the repo actually **receives** GitHub Deployment events — written by whatever deploys your app (Vercel's GitHub App writes them when the project is git-linked). When the platform is not linked, nothing is written and the gate stays silent, with no error anywhere. Set `GITHUB_REPOSITORY` to the repository in `owner/name` form and read its deployment history with an authenticated GitHub CLI. From 3603326b4c921f4b265bbfbd9d86095e596a2390 Mon Sep 17 00:00:00 2001 From: Zeshi Du Date: Mon, 23 Nov 2026 18:53:16 -0800 Subject: [PATCH 2/2] docs(ci): describe what a merge queue does with the missing check --- DOCUMENTATION.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DOCUMENTATION.md b/DOCUMENTATION.md index 919083ad..e8b20181 100644 --- a/DOCUMENTATION.md +++ b/DOCUMENTATION.md @@ -1067,7 +1067,7 @@ In a GitHub pull request, pass both `--env` and `--target-url` to run in a tempo > To block merges on the gate, make the `testsprite-tests` check a required status check in your branch protection. The job is named `testsprite-tests` rather than `test` or `e2e` because GitHub matches required status checks by job name alone, across every workflow in the repository, so the name must not collide with a job you already have. -**GitHub merge queues.** The generated workflow handles pull requests or deployment events. It doesn't run on `merge_group`. If your branch uses a merge queue, require a check that reports for the merge-group commit. Requiring the generated `testsprite-tests` check alone leaves the queue waiting for a check it won't receive. See [GitHub's merge-queue status check requirements](https://docs.github.com/en/pull-requests/how-tos/merge-and-close-pull-requests/troubleshooting-required-status-checks#status-checks-with-github-actions-and-a-merge-queue). +**GitHub merge queues.** The generated workflow handles pull requests or deployment events. It doesn't run on `merge_group`. If `testsprite-tests` is a required check on a branch that uses a merge queue, GitHub never receives it for the merge-group commit, and the pull request is removed from the queue when the queue's status check timeout runs out. A required check reports there only if its workflow also has a `merge_group:` trigger. See [GitHub's merge-queue status check requirements](https://docs.github.com/en/pull-requests/how-tos/merge-and-close-pull-requests/troubleshooting-required-status-checks#status-checks-with-github-actions-and-a-merge-queue). #### Checking that deployment events reach the repo