ENGINEERING

Block GitHub PR Merges When SLO Burn Rate Is Hot

On every GitHub pull request, queries the target service's Honeycomb SLO burn rate and posts a pass/fail status check plus a PR comment showing the math.

CategoryEngineering
Enginesim
Difficultyintermediate
Triggerevent
Steps5
Setup~15 min

How it runs

The automated pipeline, trigger to output.

  • TriggerGitHub pull request opened or updatedGitHubGitHub
  • ActionFetch target service SLO burn rate from HoneycombHoneycomb
  • LogicCompare 1h/6h burn against fast-burn threshold
  • ActionPost burn-rate math as PR commentGitHubGitHub
  • OutputSet commit status check to pass or failGitHubGitHub

What it does

Gates merges on the health of the service the PR touches. When a pull request opens or updates, it pulls the service's current short-window and long-window error-budget burn rate from Honeycomb, compares them to your fast-burn threshold, and writes a GitHub commit status (success or failure). It also drops a PR comment spelling out the budget remaining, the burn multiplier, and the verdict so reviewers see the reasoning inline.

When to use it

Use it when a service has a defined Honeycomb SLO and you want risky changes held back during active budget burn — without asking engineers to check dashboards manually. Pair it with a required-status-check branch rule so a failing gate actually blocks the merge button.

How it works

  1. 1A pull_request event fires from GitHub (opened or synchronized).
  2. 2The flow maps the changed paths to a service name and fetches that SLO's burn rate over 1h and 6h windows from Honeycomb.
  3. 3A logic step compares both windows against the fast-burn multiplier to decide pass or fail.
  4. 4It posts the burn math and verdict as a GitHub PR comment.
  5. 5It sets the commit status check to success or failure to enforce the gate.

Set it up

What you configure once, before turning it on.

  1. 1
    Connect GitHubRepos, issues, pull requests, actions.
  2. 2
    Connect HoneycombDistributed traces and queries.
  3. 3
    Set each agent's modelWe leave models unset so you pick the tier — fast + cheap, or top-quality.
  4. 4
    Tune it to your dataEdit the prompts, filters, and field mappings so it matches how your team works.
  5. 5
    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.