DEVOPS

Vercel Build-Anomaly PagerDuty Escalation

Detects a sudden build-duration spike (not a slow creep) on the main branch, opens a PagerDuty incident.

CategoryDevOps
Enginesim
Difficultyintermediate
Triggerwebhook
Steps4
Setup~15 min

How it runs

The automated pipeline, trigger to output.

  • TriggerVercel production deployment succeeded webhookVercelVercel
  • LogicFlag anomaly if duration > 2x trailing-5 median
  • ActionFetch merge commit + recent build historyPostgreSQLPostgres
  • OutputOpen PagerDuty incident with suspect commit attachedPagerDutyPagerDuty

What it does

This workflow catches abrupt build-time spikes on the main branch — a build that suddenly doubles, not a gradual creep. On detection it opens a PagerDuty incident, attaches the suspect merge commit, recent build history, and a one-line summary so the on-call engineer can act immediately.

When to use it

Use it when main-branch build health is release-critical and a sudden spike warrants a page, not a Slack message. Complements the gradual-creep watchdog by handling the sharp, urgent case.

How it works

  1. 1A Vercel production deployment-succeeded webhook fires on a main-branch build.
  2. 2A logic step flags an anomaly if duration is more than double the trailing-5-build median.
  3. 3If anomalous, it fetches the merge commit and last several build records from the history table.
  4. 4It opens a PagerDuty incident with severity scaled to the spike size.
  5. 5It attaches the suspect commit, build history, and summary to the incident for the on-call.

Set it up

What you configure once, before turning it on.

  1. 1
    Connect VercelDeploys, runtime logs, analytics.
  2. 2
    Connect PostgresAny Postgres URL — query, write, migrate.
  3. 3
    Connect PagerDutyIncidents, on-call, escalations.
  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.