v2
latestOpenAPI 3.1.0UNLICENSED2026-07-26210239.8 KBPull request pending failure
Triggered when a PR enters pending failure state while in the merge queue
postWebhookpull_request.pending_failure
Payload
test_branchstring
The branch the pull request or pull request batch was tested on
test_branch_shastring
The SHA of the branch the pull request or pull request batch was tested on
test_pr_numberinteger
The number of the pull request used to test the pull request or pull request batch
batchedboolean
Whether this pull request was part of a batch
failure_reason'START_TEST_RUN_INVALID_EVENT' | 'START_TEST_RUN_MERGE_CONFLICT' | 'START_TEST_RUN_CONFIG_NOT_FOUND' | 'START_TEST_RUN_CONFIG_PARSING_FAILURE' | 'START_TEST_RUN_CONFIG_MISSING_REQUIRED_STATUSES' | 'START_TEST_RUN_CONFIG_BAD_REQUIRED_STATUSES' | 'START_TEST_RUN_CONFIG_BAD_VERSION' | 'START_TEST_RUN_NO_REQUIRED_STATUSES' | 'TEST_RUN_REQUIRED_STATUS_FAILED' | 'TEST_RUN_TIMEOUT' | 'GITHUB_API_MERGE_PR_FAILED' | 'GITHUB_API_DIRECT_MERGE_PR_FAILED' | 'PR_UPDATED_AT_MERGE_TIME' | 'START_TEST_RUN_RETRY_EXHAUSTED' | 'START_TEST_RUN_DRAFT_PRS_NOT_ALLOWED' | 'TEST_RUN_FAILED_BY_OPTIMIZATION'
The reason the PR is pending failure
type'pull_request.pending_failure' required
The type of webhook event that occurred
action'pending_failure' required
The type of action that triggered the webhook
authorstring required
The username of the author of the PR
http_details_urlstring uri required
Web link to the details about this PR
pr_numberinteger required
The PR number
status'pending_failure' required
The current status of the PR
target_branchstring required
The name of the branch targeted by the merge queue where the event occurred
timestampstring date-time required
The ISO 8601 timestamp of when this state transition occurred