# PatchWave - Add static analysis and automerge to Dependabot

Hey Hacker News, we're Ben, Josh, and Donnie, co-founders of PatchWave. PatchWave is a GitHub App that combines static analysis and eval'ed agents to analyze and (optionally) auto-merge PRs it deems as safe. If a Dependabot PR breaks your CI build, a fix agent works to get CI passing again. Dependa…

- **Page:** https://magpie.gallery/i/patchwave-add-static-analysis-and-automerge-to-dep-zbz3
- **Type:** Link to an idea elsewhere
- **Category:** AI & dev
- **Tags:** dependabot, static-analysis, automerge, github, agents

## Source

Web · blimmer: PatchWave - Add static analysis and automerge to Dependabot

- **Original:** https://news.ycombinator.com/item?id=50166699

> Hey Hacker News, we're Ben, Josh, and Donnie, co-founders of PatchWave. PatchWave is a GitHub App that combines static analysis and eval'ed agents to analyze and (optionally) auto-merge PRs it deems as safe. If a Dependabot PR breaks your CI build, a fix agent works to get CI passing again. Dependabot PRs suck. Nobody likes dealing with them. Most of the time they go ignored or a senior engineer spends their valuable time dealing with them. Before PatchWave, I ran a freelance business charging clients hourly to do exactly this kind of "keep the lights on" work. Even at our small startup, we'd spend Monday mornings dealing with Dependabot PRs. Having a human-in-the-loop working with an agent on these PRs was time consuming and, often, agents would get lazy and not actually validate how an upstream change affected the codebase. And, as the quantity and severity of CVEs increases, merging security updates quickly becomes increasingly important. PatchWave is a set of specialized agents that uses static analysis tools on context we gather deterministically. 1. We pull the changelog, the code diff between versions, security advisories, and CI results. 2. The agent checks out your code in an isolated sandbox, where it uses structural code search, type checkers and your project's own toolchain to understand how your codebase uses each dependency being updated. Every Dependabot PR gets a report. You can see a few examples (against OSS repos) here: https://reports.patchwave.ai/alam00000/bentopdf/pull/913 and https://reports.patchwave.ai/shipshapecode/shepherd/pull/355... 3. If CI fails, we automatically dispatch a fix agent to try to get CI green again. For most PRs, this means updating your code to use a newer API, fixing linting/formatting issues, etc. 4. We have an optional feature that allows auto-merging certain PRs when PatchWave deems them as safe and the PR aligns with your auto-merge policy. Our recommended auto-merge policy is to auto-merge patch/minor/major dev dep

## Rules for reuse

- Build your own version: don't copy another product's code, look, icons, colours or copy.
- The original belongs to its author; Magpie only links to it.
- The original content's copyright belongs to its creator. Magpie doesn't download or re-upload it; we only show the link and the official preview.
