Review every pull request, fix what the review finds, and hold the merge until the checks pass

Riskier changes get stricter checks, and nothing merges on a review of an older commit.

In the post: agents write and review all of the code.

Connect the apps here, then add the workflow. Kavela runs the workflow when you press Run until you clear it to run on its own.

The workflow

Exactly what will run, and the app each step works in. You can change any step before you add the workflow.

When a pull request opens or changes

  1. GitHub

    Sort the change by risk from the files the change touches.

    In GitHub

  2. GitHub

    Run the checks the risk level needs before the slower test jobs.

    In GitHub

  3. Greptile

    Review the latest commit.

    In Greptile

  4. GitHub

    Push fixes for what the review finds.

    In GitHub

  5. For screen changes, attach screenshots from a real browser.

    By your agents, in Kavela

  6. GitHub

    Mark the pull request ready only when the review matches the latest commit and every check passes.

    In GitHub

Customize

What should the workflow know about you?

How should each step be done?

1Sort the change by risk from the files the change touches.GitHub
2Run the checks the risk level needs before the slower test jobs.GitHub
3Review the latest commit.Greptile
4Push fixes for what the review finds.GitHub
5For screen changes, attach screenshots from a real browser.
6Mark the pull request ready only when the review matches the latest commit and every check passes.GitHub

Which other apps should the workflow use, and how?

Where should results go, and how should each message read?

Take the workflow further

Each app below adds a step. Turn one on to see the step in the workflow above; the app joins the setup.

  • Linear Freemium

    Links each pull request to the matching issue

    Sign in once

  • Slack Free

    Tells the team when a pull request is ready

    Sign in once

Works well with the Engineering Agents pack, and with any agent already in your workspace.

What to expect

A second agent checks every run against the workflow's checklist before the result reaches you.

Small slips are fixed first
A result close to passing is corrected before the check.
A miss goes back
A result missing a check goes back with the exact gap and is redone.
Three tries, then you
If the result still falls short after three tries, you get the work and what is missing.

Put the workflow to work.

Connect the apps here, then add the workflow. Kavela runs the workflow when you press Run until you clear it to run on its own.