MARKETING

Agent-driven CWV regression triage → root-cause note in Linear

When a Core Web Vitals alert fires, an agent pulls the RUM breakdown and recent deploy diff, reasons about the likely cause (image, script, font, or layout), and opens a Linear…

CategoryMarketing
Enginepaperclip
Difficultyadvanced
Triggerwebhook
Steps5
Setup~25 min

How it runs

The automated pipeline, trigger to output.

  • TriggerCWV regression alert webhookHTTP webhook
  • ActionFetch Cloudflare RUM metric breakdown for routeCloudflareCloudflare
  • ActionPull GitHub diff for triggering deployGitHubGitHub
  • LogicCorrelate metric shift with diff; rank likely causes
  • OutputOpen Linear issue with hypothesis and suggested fixLinearLinear

What it does

On a Core Web Vitals regression alert, this agent gathers the Cloudflare RUM metric breakdown for the affected page and the GitHub diff of the deploy that preceded it. It reasons about which change most plausibly caused the regression — an oversized hero image, a new blocking script, a font swap, or a shifting ad slot — and opens a Linear issue containing the metric deltas, the suspect commit, a plain-English root-cause hypothesis, and a concrete remediation suggestion.

When to use it

Use it when raw alerts aren't enough and you want first-pass triage done for you, so the engineer who picks up the ticket starts from a hypothesis rather than a blank investigation.

How it works

  1. 1A webhook delivers a CWV regression alert with the affected route.
  2. 2The agent fetches the Cloudflare RUM metric breakdown for that route.
  3. 3It pulls the GitHub diff for the commit range of the triggering deploy.
  4. 4The agent correlates the metric shift with the diff and forms a ranked hypothesis.
  5. 5It writes a Linear issue with deltas, suspect commit, root cause, and a suggested fix.

Set it up

What you configure once, before turning it on.

  1. 1
    Connect CloudflareWorkers, Pages, R2, KV — the edge stack.
  2. 2
    Connect GitHubRepos, issues, pull requests, actions.
  3. 3
    Connect LinearIssues, projects, cycles, triage.
  4. 4
    Connect HTTP webhookTrigger any URL on agent actions.
  5. 5
    Set each agent's modelWe leave models unset so you pick the tier — fast + cheap, or top-quality.
  6. 6
    Tune it to your dataEdit the prompts, filters, and field mappings so it matches how your team works.
  7. 7
    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.