ENGINEERING

Lockfile PR blast-radius reviewer router

When a pull request changes a lockfile, maps each bumped dependency to the services that import it and auto-requests the right code owners as reviewers.

CategoryEngineering
Enginesim
Difficultyintermediate
Triggerevent
Steps6
Setup~15 min

How it runs

The automated pipeline, trigger to output.

  • TriggerPR opened or synchronizedGitHubGitHub
  • LogicFilter to PRs touching a lockfile
  • ActionParse lockfile diff for changed packages and versions
  • LogicMap packages to affected services and code owners
  • ActionRequest owning reviewers and add team labelsGitHubGitHub
  • OutputPost blast-radius summary comment on the PRGitHubGitHub

What it does

Watches pull requests that touch a lockfile (`pnpm-lock.yaml`, `package-lock.json`, `yarn.lock`). It diffs the lockfile to find which packages changed and at what version, maps those packages to the workspace services that depend on them, and requests review from the owning teams. It then posts a single comment summarizing the blast radius so reviewers know exactly why they were tagged.

When to use it

Use it on any monorepo where a one-line lockfile change can silently affect a dozen services and the wrong people end up reviewing (or nobody does). It turns an opaque diff into a targeted, accountable review.

How it works

  1. 1A pull request is opened or updated on GitHub.
  2. 2A filter checks whether the changed files include a lockfile; non-lockfile PRs exit early.
  3. 3The lockfile diff is parsed to extract changed package names and version deltas.
  4. 4Each package is mapped to the importing services and their CODEOWNERS.
  5. 5The owning reviewers and team labels are added to the PR via GitHub.
  6. 6A blast-radius summary comment is posted listing affected services and version jumps.

Set it up

What you configure once, before turning it on.

  1. 1
    Connect GitHubRepos, issues, pull requests, actions.
  2. 2
    Set each agent's modelWe leave models unset so you pick the tier — fast + cheap, or top-quality.
  3. 3
    Tune it to your dataEdit the prompts, filters, and field mappings so it matches how your team works.
  4. 4
    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.