ENGINEERING

Crash-free session gate before Vercel production promotion

When a new Sentry release is created, polls its crash-free session rate until enough sessions accumulate.

CategoryEngineering
Enginesim
Difficultyintermediate
Triggerwebhook
Steps6
Setup~15 min

How it runs

The automated pipeline, trigger to output.

  • TriggerVercel deployment ready webhookVercelVercel
  • ActionPoll Sentry crash-free rate + session countSentrySentry
  • LogicWait until minimum session sample reached
  • LogicCrash-free rate clears threshold?
  • ActionPromote or re-alias previous deployment on VercelVercelVercel
  • OutputPost gate verdict with metrics to SlackSlack

What it does

Holds a freshly deployed Vercel build in a staged state and only promotes it to the production alias once Sentry confirms the release is healthy. If the crash-free session rate fails to clear your bar after a defined number of sessions, it cancels the promotion and re-aliases the previous good deployment.

When to use it

Use it when every production push should earn its place by proving stability on real traffic, not by passing CI alone. Ideal for teams that already ship to a staging alias and want an objective, session-weighted gate instead of a human eyeballing dashboards.

How it works

  1. 1A Vercel deployment-ready webhook fires with the release version and deployment ID.
  2. 2The flow waits and repeatedly queries Sentry for that release's crash-free session rate and total session count.
  3. 3A branch checks whether the sample size has reached the minimum (e.g. 500 sessions).
  4. 4Once enough sessions exist, it compares the rate against the threshold (e.g. 99.5%).
  5. 5If healthy, it promotes the deployment to the production alias on Vercel.
  6. 6If unhealthy, it re-aliases the prior deployment and posts the verdict with numbers to Slack.

Set it up

What you configure once, before turning it on.

  1. 1
    Connect VercelDeploys, runtime logs, analytics.
  2. 2
    Connect SentryErrors, performance, releases.
  3. 3
    Connect SlackChannels, DMs, threads, mentions.
  4. 4
    Set each agent's modelWe leave models unset so you pick the tier — fast + cheap, or top-quality.
  5. 5
    Tune it to your dataEdit the prompts, filters, and field mappings so it matches how your team works.
  6. 6
    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.