engineering_analytics
engineering_analytics

Flaky-test quarantine file

The repository's checked-in .test_quarantine.json: flaky tests temporarily quarantined with a hard expiry, classified by urgency (overdue, in grace, expiring soon, active). available is false when the repo has no quarantine file: that is not an error. Parsing is fail-open: malformed entries are reported in parse_errors while well-formed ones are kept.

get/api/projects/{project_id}/engineering_analytics/quarantine/

Request

  • Base URL: https://us.posthog.com
  • URL: https://us.posthog.com/api/projects/{project_id}/engineering_analytics/quarantine/
  • Auth: HTTP bearer

Path parameters

project_idstring required

Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.

Query parameters

repostring

Optional 'owner/name' repository to read the quarantine file from. Defaults to the connected GitHub source's most active repo over the last 30 days.

source_idstring uuid

Connected GitHub data warehouse source to read from. Defaults to the oldest connected GitHub source when the team has more than one.

Response

availableboolean required

False when the repository has no quarantine file (not an error) or it could not be fetched.

parse_errorsstring[] required

Contract violations (malformed JSON, bad entries) or fetch failures. Malformed entries are dropped; well-formed ones are kept.

parse_warningsstring[] required

Forward-compatibility notices, e.g. unknown entry fields.

source_urlstring required

GitHub blob URL of the quarantine file, or empty when read locally or unavailable.

generated_atstring date-time required

When this snapshot was computed (UTC); expiry math uses this clock.

Changes

No recorded changes to this operation across all 1 revision of this API.