test_insights

List the test runs of a commit

Changed on

Returns every name test results arrived under for the commit, with the runs received under it -- one per leg or shard -- how they were sent, and whether they arrived whole; and whether the repository accepts test results at all. Read from Test Engine's own data only: a CI job missing from the list sent nothing Mergify received.

get/ci/{owner}/repositories/{repository}/tests/runs

Request

Path parameters

repositorystring required

The name of the repository

ownerstring required

The owner of the repository

Query parameters

head_shastring required

The full SHA of the commit whose test runs to list.

Response

Successful Response

head_shastring required

The commit the results were sent for.

test_results_ingestion'enabled' | 'not_enabled' | 'paused' required

Whether Mergify accepts test results for this repository: not_enabled when CI Insights is not enabled on it, so every upload is refused; paused when ingestion is paused for its organization.

pending_uploadsinteger required

Uploads to this repository still waiting to be ingested that arrived since this commit's first test run began, from this commit or another, counted up to 5000.

Changes

    • warning

      added the new in_progress enum value to the //// response property for the response status

    • warning

      added the new ingesting enum value to the // response property for the response status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      endpoint added