DEVOPS

Vercel Build-Duration Creep Watchdog

Records every production build's duration in a time-series store and, when a rolling-window regression is detected, posts the slowest recent commits to the offending PR as bisect…

CategoryDevOps
Enginesim
Difficultyintermediate
Triggerwebhook
Steps5
Setup~15 min

How it runs

The automated pipeline, trigger to output.

  • TriggerVercel deployment succeeded webhookVercelVercel
  • ActionAppend build duration + SHA to time-series tablePostgreSQLPostgres
  • LogicCompute rolling median; flag if +25% over baseline
  • ActionFetch commits since last clean baselineGitHubGitHub
  • OutputPost ranked bisect-candidate comment on PRGitHubGitHub

What it does

Every time Vercel finishes a production build, this workflow logs the build duration, compares it against a rolling baseline, and detects creeping slowdowns before they become a 10-minute deploy. When the trend crosses a threshold, it comments on the triggering pull request with a ranked list of recent commits to bisect.

When to use it

Use it when your Vercel build times have been quietly climbing and nobody can point to a single bad commit. Ideal for teams that want an early warning on build regressions instead of discovering them during a release crunch.

How it works

  1. 1A Vercel deployment-succeeded webhook fires with build metadata.
  2. 2The duration and commit SHA are appended to a Postgres time-series table.
  3. 3A logic step computes the rolling 20-build median and flags a regression if the latest build exceeds it by more than 25 percent.
  4. 4If flagged, the workflow pulls the commits merged since the last clean baseline from GitHub.
  5. 5It ranks them and posts a bisect-candidate comment on the associated PR.

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 GitHubRepos, issues, pull requests, actions.
  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.