You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit dff3335
Browse filesBrowse the repository at this point in the historyBrowse files
Bring the quarantine guide and MCP reference up to date (#21)
Updates the quarantine guide and MCP reference to match the product:
quarantined tests run without retries, and active rules can be edited
(dashboard, `quarantine update`, `update_quarantine_rule`).
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: src/content/docs/reference/mcp-server.mdx
+21-1Lines changed: 21 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -156,7 +156,7 @@ Returns raw OpenTelemetry trace data for a test attempt. The trace can show Play
156
156
157
157
## Manage quarantine rules
158
158
159
-
These tools let an AI agent list, create, and deactivate quarantine rules. See [Modify quarantine rules with AI](/docs/guides/modify-quarantine-rules-with-ai) for example conversations.
159
+
These tools let an AI agent list, create, update, and deactivate quarantine rules. See [Modify quarantine rules with AI](/docs/guides/modify-quarantine-rules-with-ai) for example conversations.
160
160
161
161
### `list_quarantine_rules`
162
162
@@ -191,6 +191,26 @@ Creates a quarantine rule for an exact suite and scope. Use `query_samples` to r
191
191
192
192
In addition to `suiteId`, provide at least one of `testId`, `projectName`, or `branch`. Omitted scope fields match any value within the suite.
193
193
194
+
### `update_quarantine_rule`
195
+
196
+
Replaces all editable settings of an active quarantine rule, keeping its ID and its priority among overlapping rules. Use `list_quarantine_rules` to retrieve the ID. The suite cannot change, and inactive rules cannot be edited.
197
+
198
+
<ParameterTable>
199
+
200
+
| Parameter | Type | Description |
201
+
| --- | --- | --- |
202
+
|`ruleId`| string | Exact quarantine rule ID returned by `list_quarantine_rules`. |
203
+
|`testId`| string \| null | Exact persisted `test.id`, or null to match all tests in the suite. |
204
+
|`projectName`| string \| null | Exact Playwright project name, or null to match any project. |
205
+
|`branch`| string \| null | Exact branch name, or null to match any branch. |
206
+
|`reason`| string \| null | Reason for quarantining the matching tests, or null to clear it. |
207
+
|`endsAt`| RFC 3339 string \| null | Future expiry timestamp, or null for no expiry. |
208
+
|`organizationId`| string | Optional organization. Omit it to use the organization from the active login. |
209
+
210
+
</ParameterTable>
211
+
212
+
Supply every editable field explicitly. At least one of `testId`, `projectName`, or `branch` must remain set.
213
+
194
214
### `deactivate_quarantine_rule`
195
215
196
216
Deactivates one quarantine rule by its exact ID. Use `list_quarantine_rules` to retrieve the ID.
0 commit comments