Quarantine a flaky test
quarantine_testMark a flaky test as quarantined so CI can skip it until it is fixed; use dry-run by default and write only after confirmation.
Instructions
Mark a flaky test as quarantined so CI can skip it until it's fixed. Defaults to dry_run=True; only pass dry_run=false after the user confirms. Appends to quarantine.jsonl and never edits test results.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"test_id": "<test_id>",
"reason": "<reason>"
},
"name": "quarantine_test"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | Yes | ||
| dry_run | No | ||
| test_id | Yes | Test id as "<classname>::<test name>", e.g. tests.unit.test_tax::test_vat_standard_rate |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dry_run | Yes | ||
| message | Yes | ||
| test_id | Yes | ||
| accepted | Yes |