MARKETING

LCP regression guard after Vercel deploy → Linear fix task

After each production deploy to a landing page, waits for fresh Vercel Speed Insights data, compares LCP against the pre-deploy baseline.

CategoryMarketing
Enginesim
Difficultyintermediate
Triggerwebhook
Steps6
Setup~15 min

How it runs

The automated pipeline, trigger to output.

  • TriggerVercel production deployment succeedsVercelVercel
  • LogicWait for RUM data-collection window
  • ActionFetch current p75 LCP per tracked routeVercelVercel
  • LogicCompare to stored baseline; pass if within tolerance
  • ActionOpen Linear bug for regressed routesLinearLinear
  • OutputWrite new readings back as baselinePostgreSQLPostgres

What it does

After a Vercel production deployment finishes, this workflow waits for real-user LCP data to accumulate, pulls the latest Largest Contentful Paint for your tracked landing routes, and compares it to the baseline from the previous deploy. If LCP regresses past your threshold (e.g. +200ms or crossing the 2.5s 'good' line), it files a Linear issue with the route, before/after numbers, and the deploy URL so an engineer can act before the regression reaches more visitors.

When to use it

Use it when marketing ships frequent landing-page changes (hero swaps, new scripts, font updates) and you need an automatic guardrail so a heavy third-party tag or unoptimized image doesn't quietly tank conversion-critical LCP.

How it works

  1. 1A Vercel deployment-succeeded webhook fires for the production environment.
  2. 2The flow holds for a data-collection window so Speed Insights has enough samples.
  3. 3It queries Vercel analytics for current p75 LCP per tracked route.
  4. 4A branch compares each route to the stored baseline and exits quietly if all are within tolerance.
  5. 5Regressed routes trigger a Linear issue with deltas and the deploy link.
  6. 6The new readings are written back as the next baseline.

Set it up

What you configure once, before turning it on.

  1. 1
    Connect VercelDeploys, runtime logs, analytics.
  2. 2
    Connect LinearIssues, projects, cycles, triage.
  3. 3
    Connect PostgresAny Postgres URL — query, write, migrate.
  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.