DEVOPS

Quarantine a test on demand from a PR comment command

Triggered when an engineer comments a quarantine command on a pull request, validates the test name, commits the quarantine change to that PR branch, opens a tracking issue.

CategoryDevOps
Enginesim
Difficultybeginner
Triggerevent
Steps6
Setup~5 min

How it runs

The automated pipeline, trigger to output.

  • TriggerNew pull request commentGitHubGitHub
  • LogicParse quarantine command and verify write access
  • ActionValidate the test exists in the suiteGitHubGitHub
  • ActionCommit quarantine entry to the PR branchGitHubGitHub
  • ActionOpen GitHub tracking issue linked to the PRGitHubGitHub
  • OutputReply on the PR comment confirming the quarantineGitHubGitHub

What it does

It lets an engineer quarantine a known-flaky test directly from a pull request by commenting a command, without leaving the review. The flow makes the manifest change on the PR branch, files a tracking issue, and confirms back in the thread.

When to use it

Use it when a reviewer spots a flake blocking an otherwise-good PR and wants a fast, auditable way to isolate it in the same branch rather than asking the author to edit config by hand.

How it works

  1. 1A new PR comment fires the trigger.
  2. 2A logic step checks the comment for the quarantine command and confirms the commenter has write access.
  3. 3The flow validates that the named test exists in the suite, replying with an error if not.
  4. 4It commits the quarantine entry to the PR's branch via GitHub.
  5. 5It opens a GitHub tracking issue labeled `flaky-test` and cross-links the PR.
  6. 6It replies to the original comment confirming the test was quarantined and linking the issue.

Set it up

What you configure once, before turning it on.

  1. 1
    Connect GitHubRepos, issues, pull requests, actions.
  2. 2
    Set each agent's modelWe leave models unset so you pick the tier — fast + cheap, or top-quality.
  3. 3
    Tune it to your dataEdit the prompts, filters, and field mappings so it matches how your team works.
  4. 4
    Test, then turn it onRun once against a sample, confirm the output, then enable the trigger.

Run this workflow in your colony.

14-day trial. No DevOps. No Sales call. Provisioned in under a minute.