ENGINEERING

Blocked-promotion triage and postmortem drafter

When a promotion gate blocks a release, an agent pulls the failing Sentry issues, correlates them to the GitHub commits in the release.

CategoryEngineering
Enginepaperclip
Difficultyadvanced
Triggerwebhook
Steps7
Setup~25 min

How it runs

The automated pipeline, trigger to output.

  • TriggerGate-blocked-promotion webhook
  • ActionFetch top unresolved Sentry issues for releaseSentrySentry
  • ActionPull GitHub commit range + authorsGitHubGitHub
  • LogicCorrelate stack frames to suspect commits
  • ActionFile Linear ticket to likely ownerLinearLinear
  • ActionDraft Confluence postmortem stubConfluenceConfluence
  • OutputLink artifacts back into SlackSlack

What it does

Turns a blocked promotion into a head start on the fix. Triggered when the gate vetoes a release, the agent gathers the top crash-driving Sentry issues, maps each to the commits and authors introduced in that release via GitHub, reasons about the most likely regression source, and produces written artifacts the team can act on.

When to use it

Use it downstream of any of the gating workflows so a failed promotion does not just sit as a Slack message. Best when you want the investigation kickoff — suspect commits, owner, and a draft writeup — ready before an engineer opens their laptop.

How it works

  1. 1A webhook fires when a promotion gate records a block decision, carrying the release tag.
  2. 2The agent queries Sentry for the release's top unresolved issues by event volume.
  3. 3It pulls the GitHub commit range and authors for that release.
  4. 4It correlates failing issue stack frames to changed files to nominate suspect commits.
  5. 5It files a Linear ticket assigned to the likely owner with the evidence attached.
  6. 6It drafts a Confluence postmortem stub and links everything back into Slack.

Set it up

What you configure once, before turning it on.

  1. 1
    Connect SentryErrors, performance, releases.
  2. 2
    Connect GitHubRepos, issues, pull requests, actions.
  3. 3
    Connect LinearIssues, projects, cycles, triage.
  4. 4
    Connect ConfluenceSpaces, pages, blueprints.
  5. 5
    Connect SlackChannels, DMs, threads, mentions.
  6. 6
    Set each agent's modelWe leave models unset so you pick the tier — fast + cheap, or top-quality.
  7. 7
    Tune it to your dataEdit the prompts, filters, and field mappings so it matches how your team works.
  8. 8
    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.