DATA OPS

dbt Test-Failure Triage Agent from CI Webhook

Receives a dbt test-failure webhook from CI, has the CEO agent inspect the failing test, model lineage, and recent commits.

CategoryData Ops
Enginepaperclip
Difficultyadvanced
Triggerwebhook
Steps5
Setup~25 min

How it runs

The automated pipeline, trigger to output.

  • TriggerReceive dbt CI test-failure webhookHTTP webhook
  • ActionRead failing test SQL and model definitionGitHubGitHub
  • ActionPull recent commits on model and parentsGitHubGitHub
  • LogicMatch against existing open issues
  • OutputCreate or comment Linear issue with hypothesisLinearLinear

What it does

When a dbt build fails a test in CI, this workflow catches the webhook and lets the agent do the first pass of triage a human would: read the failed test name and SQL, trace the model's upstream lineage, scan the recent commits that touched it, and write a short hypothesis for why it broke. It then opens or comments on a Linear issue assigned to the likely owner.

When to use it

Use it when test failures pile up faster than your team can read them and most of the work is figuring out who broke what. The agent turns a red CI badge into a routed, explained ticket.

How it works

  1. 1A webhook trigger receives the dbt CI test-failure payload.
  2. 2The agent reads the failing test, its compiled SQL, and the model definition.
  3. 3It pulls recent commits touching the model and its parents from GitHub.
  4. 4A logic step decides whether this matches an existing open issue.
  5. 5The agent drafts a root-cause hypothesis and suggested owner.
  6. 6The result is written to Linear as a new issue or a comment on the existing one.

Set it up

What you configure once, before turning it on.

  1. 1
    Connect HTTP webhookTrigger any URL on agent actions.
  2. 2
    Connect GitHubRepos, issues, pull requests, actions.
  3. 3
    Connect LinearIssues, projects, cycles, triage.
  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.