CoderHelm Docs
APICI

Upload a test report

POST
/webhooks/ci/tests/results

Takes one test report from a CI job whose results never reach GitHub (a device farm, say), signed with the job's GitHub Actions OIDC token instead of a CoderHelm secret. Request the token with the audience coderhelm. CoderHelm checks it was issued for a workflow run of a repository connected to your team with E2E results turned on, then reads the report like one from GitHub: flaky tests, failure groups and quarantine.

Authorization

github_oidc
headerAuthorizationBearer <token>

A GitHub Actions OIDC token requested with the audience coderhelm, from a workflow run of a repository connected to your team.

Query Parameters

name?string

The report's file name. Must end in .json (Playwright or Cucumber JSON) or .xml (JUnit XML). Default report.json.

Request Body

The report file, at most 6 MB.

body*stringapplication/octet-stream

Response Body

The report is stored and queued.

application/json
  1. response

A report that was taken in.

ok*boolean

Always true: the report is stored and queued for reading.

Exampletrue
curl -X POST 'https://api.coderhelm.com/webhooks/ci/tests/results?name=results.json' \  -H "Authorization: Bearer $OIDC_TOKEN" \  -H 'Content-Type: application/json' \  -d '"string"'
{  "ok": true}
Edit on GitHub