ENGINEERING

Pre-deploy gate: comment burn-rate verdict on the GitHub PR

When a deploy workflow starts on a pull request, this flow checks the Honeycomb SLO burn rate and posts a pass/hold verdict as a PR comment.

CategoryEngineering
Enginesim
Difficultybeginner
Triggerevent
Steps5
Setup~5 min

How it runs

The automated pipeline, trigger to output.

  • TriggerGitHub deploy workflow event on PRGitHubGitHub
  • ActionQuery Honeycomb SLO burn rate + budgetHoneycomb
  • LogicMap figures to ship / caution / hold verdict
  • ActionComment verdict on the GitHub PRGitHubGitHub
  • OutputEmit verdict for CI enforcement

What it does

Adds an error-budget check to the PR review surface. When a deploy is initiated against a pull request, the flow reads the service's Honeycomb SLO and posts a comment on the PR stating whether the budget is healthy enough to ship, including current burn rate and remaining budget, so the go/no-go decision is visible where reviewers already work.

When to use it

Use it when you prefer an advisory, human-in-the-loop gate over a hard block, and you want budget context attached to each PR rather than buried in a dashboard. Good for teams that merge via PR and run deploys from CI.

How it works

  1. 1A GitHub deploy workflow event fires for the pull request.
  2. 2The flow queries the Honeycomb SLO for burn rate and budget remaining.
  3. 3A logic step maps the numbers to a verdict: ship, caution, or hold.
  4. 4GitHub posts the verdict as a PR comment with the figures and a Honeycomb link.
  5. 5The verdict is emitted as output for CI to optionally enforce.

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.