
Supported Events
- Test Group Run Passed: All tests in the group completed successfully
- Test Group Run Failed: One or more tests failed or encountered errors
- Test Group Run Stopped: Test group run was manually stopped
Security & Verification
All requests are signed with HMAC-SHA256. TheX-Docket-Signature header contains:
- Extract timestamp
tand signaturesfrom the header - Create signed payload:
{timestamp}.{raw_request_body} - Compute HMAC-SHA256 using the shared webhook secret
- Compare with provided signature
Payload Schema
Key Fields
event: Event type (test_group_run_passed,test_group_run_failed,test_group_run_stopped)payload.status: Test group status (passed,failed,stopped)payload.tests: Array of individual test resultspayload.tests_*: Count of tests by statuspayload.github_context: GitHub context information (only present during CI/CD runs)ref: Git reference (branch/tag)commit_sha: Commit SHA hashrepository: Repository name
Requirements
- Respond with HTTP 200-204 within 10 seconds
- Use HTTPS endpoints only
- Handle duplicate deliveries using
X-Docket-Idempotency-Keyheader

