ENGINEERING

Quarantine a Flaky Test via PR Comment Command

When an engineer comments `/quarantine <test>` on a pull request, validates ownership, adds the test to the skip-list on a new branch, opens a tracking issue.

CategoryEngineering
Enginesim
Difficultybeginner
Triggerevent
Steps5
Setup~5 min

How it runs

The automated pipeline, trigger to output.

  • TriggerGitHub PR comment createdGitHubGitHub
  • LogicMatch /quarantine command + verify write access
  • ActionAppend test to skip-list on a branchGitHubGitHub
  • ActionOpen labeled tracking issueGitHubGitHub
  • OutputReply on PR with quarantine confirmationGitHubGitHub

What it does

Gives engineers a one-line ChatOps command to quarantine a known-flaky test without leaving the PR. Commenting `/quarantine <test-id>` triggers a flow that validates the requester, parks the test in the skip-list via a committed branch, files a labeled tracking issue, and replies inline with confirmation.

When to use it

Use it when developers already know a test is flaky and just want a fast, auditable way to park it mid-review instead of editing config by hand. It keeps quarantine actions traceable to a person and a tracking issue.

How it works

  1. 1A GitHub webhook fires on new issue/PR comments.
  2. 2A filter matches comments starting with `/quarantine` and confirms the author has write access.
  3. 3It parses the test identifier from the command.
  4. 4It appends the test to the skip-list file on a branch and pushes the commit.
  5. 5It opens a tracking issue labeled `flaky-quarantine`, linking the PR and requester.
  6. 6It replies on the PR thread with the issue link and quarantine confirmation.

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.