# LavaFlow: Production Errors to Fix Pull Requests | Volcano

URL: https://volcano.dev/features/lavaflow

> LavaFlow diagnoses production errors from their logs and deployed source, then opens fix pull requests in your connected repository.

## From error to pull request

*Preview*

LavaFlow diagnoses production errors from their logs and your deployed source, then opens fix pull requests in your repository.

Image: The LavaFlow overview: improvements shipped, the fixes running right now, and a year of improvements history.

## Fixes arrive as pull requests

LavaFlow starts from a recurring issue, or from one you write.

- **Diagnose**: Reads the error's logs and the code Volcano deployed.
- **Fix**: Opens a pull request in your connected repository.
- **Review**: You review each fix. Merge is opt-in.

## What you need

- **A connected repository**: Where fix pull requests open.
- **SUPERAGENT plan**: Needed during the preview.
- **Code deployed from a commit**: A repository push, or a frontend CLI deploy from a clean commit.

## Works with

- [Functions](https://volcano.dev/features/edge-functions): Fixes functions deployed by repository pushes. CLI deploys get a diagnosis only.
- [Next.js frontends](https://volcano.dev/features/nextjs-hosting): Fixes frontends deployed from a clean commit.
- **GitHub**: Pull requests open in your repository.
- **Slack**: Report a problem by mentioning @Volcano in a channel.

## Frequently asked questions

### What does LavaFlow change?

It opens pull requests in your repository. It merges only if you turn on Merge, and only fixes that pass review and your checks.

### Does it use my code?

Sends this project's logs and source to Volcano's AI service.

### What does it cost?

LavaFlow is in preview. During the preview, it needs the SUPERAGENT plan.

## Get started

Build with LavaFlow. Create a free account at https://volcano.dev/signup, or have your coding agent follow the setup playbook at https://volcano.dev/setup.md.
