ENGINEERING

Gate promotion across staging and prod baselines, logging each verdict to Snowflake

Compares a new Sentry release's crash-free rate against both its staging soak and the rolling prod baseline, comments the verdict on the Vercel deployment.

CategoryEngineering
Enginesim
Difficultyadvanced
Triggerevent
Steps5
Setup~25 min

How it runs

The automated pipeline, trigger to output.

  • TriggerSentry release event at promotion stepSentrySentry
  • ActionFetch staging and rolling prod crash-free baselinesSentrySentry
  • LogicEvaluate both baselines into one verdict
  • ActionComment verdict on Vercel deploymentVercelVercel
  • OutputAppend gate decision to Snowflake audit tableSnowflakeSnowflake

What it does

Makes the promotion gate auditable and dual-baseline. For each new release it checks the crash-free rate against two references: how the same release behaved in staging and the rolling production baseline. It comments the combined verdict on the Vercel deployment and writes a structured record of every gate decision to Snowflake so you can review promotion history and tune thresholds over time.

When to use it

Use it when you promote the same artifact through staging then prod and want both signals to count, plus a durable log of why each release was promoted or held. Good for teams that report on release-health trends or need an audit trail.

How it works

  1. 1Sentry emits a release event as the build reaches the promotion step.
  2. 2The flow fetches the release's staging crash-free rate and the rolling prod baseline from Sentry.
  3. 3A logic step evaluates both baselines and produces a single promote-or-hold verdict.
  4. 4It posts the verdict with both crash-free figures as a comment on the Vercel deployment.
  5. 5It appends the decision, baselines, and delta to a Snowflake release-health table for auditing.

Set it up

What you configure once, before turning it on.

  1. 1
    Connect SentryErrors, performance, releases.
  2. 2
    Connect VercelDeploys, runtime logs, analytics.
  3. 3
    Connect SnowflakeWarehouses, queries, shares.
  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.