ENGINEERING

GitLab MR Burn-Rate Gate with Inline Math Comment

On GitLab merge request events, reads the target service's Honeycomb error-budget burn and either approves the MR or posts a blocking discussion note with the full burn…

CategoryEngineering
Enginesim
Difficultyintermediate
Triggerevent
Steps5
Setup~15 min

How it runs

The automated pipeline, trigger to output.

  • TriggerGitLab merge request created or updatedGitLabGitLab
  • ActionQuery service SLO burn rate from HoneycombHoneycomb
  • LogicEvaluate burn multiplier vs block threshold
  • ActionApprove MR or post blocking discussion note with mathGitLabGitLab
  • OutputMR mergeable state reflects gate verdictGitLabGitLab

What it does

Brings the Honeycomb burn-rate gate to GitLab. When a merge request is created or pushed to, it queries the affected service's SLO burn rate, then either records an approval or opens a blocking discussion note containing the exact numbers: budget consumed, remaining minutes, burn multiplier, and the threshold it tripped. Reviewers and authors see precisely why a merge is being held.

When to use it

Use it on GitLab repos where a service has a Honeycomb SLO and you enforce merge approvals. It removes the guesswork of "is now a safe time to ship" by tying the decision to live budget data instead of intuition.

How it works

  1. 1A GitLab merge request hook fires on create or update.
  2. 2The flow resolves the service from the MR's project or labels and pulls its SLO burn rate from Honeycomb.
  3. 3A logic step evaluates the burn multiplier against your block threshold.
  4. 4If healthy, it posts an approval; if hot, it opens a blocking discussion note with the burn math.
  5. 5The MR's mergeable state reflects the gate verdict.

Set it up

What you configure once, before turning it on.

  1. 1
    Connect GitLabRepos, MRs, pipelines, registry.
  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.