For Rails & Laravel engineers

Stop debugging at 2am.
We open the PR while you sleep.

Patchwork watches Sentry for errors and ships AI-generated fixes as GitHub PRs. Rails and Laravel. From error to reviewed PR in under 2 minutes.

See a real autoheal PR ↗ Live demo repo — fixes generated by Patchwork
Ruby on Rails Laravel (PHP) Sentry-native ✓ No auto-merge — you review

Error in Sentry. PR in GitHub.

No triage, no rubber-duck debugging. Just a fix waiting in your inbox.

Sentry — Error detected
Sentry error page showing NoMethodError on User#full_name
NoMethodError: undefined method 'full_name' for nil:NilClass
app/models/user.rb:23:in 'display_name'
app/controllers/profiles_controller.rb:14
< 2 min
GitHub PR — Fix ready to review
GitHub PR opened by Patchwork with autoheal branch and fix diff
branch: autoheal/abc123
- user.full_name
+ user&.full_name || 'Anonymous'
Fixes: NoMethodError on nil User
Sentry issue: PROJ-4421 →

From error to reviewed PR in under 2 minutes. Nothing auto-merges — you stay in control.

Browse the real PRs ↗

cooper-wright-demo-rails — a live demo repo. Bugs are real. Fixes were generated by Patchwork.

How it works

Three steps.
Zero 2am pages.

Connect once. Patchwork handles the triage loop automatically.

01

Connect Sentry + GitHub

Paste your Sentry webhook URL and install the GitHub App on your repo. Takes about 2 minutes. No code changes, no agents to deploy.

02

Map Sentry projects → repos

Tell Patchwork which Sentry project maps to which GitHub repo. It auto-detects your stack (Rails or Laravel) from the error traces.

03

Errors → PRs in your inbox

New error fires in Sentry. Patchwork fetches the relevant source files, generates a fix with Claude AI, and opens a GitHub PR — branch autoheal/<issue-id> — in under 2 minutes.

You review and merge. Patchwork never auto-merges. You're always in control.
Built for
Ruby on Rails ≥ 6.0
Laravel ≥ 9.x

Testimonial coming soon — be the first to leave one.

Pricing

Free forever for solo devs.

No credit card for the free tier. Start seeing fixes in minutes.

Free Trial
$0/mo
10 fixes/mo · 1 repo · No credit card
Start free
Team
$149/mo
Unlimited fixes · 10 repos · Team dashboard
See details

Full pricing details →

FAQ

Common questions

Does it actually merge PRs automatically?

No. Patchwork opens a PR and notifies you. You review the diff, verify the fix makes sense for your codebase, and merge when you're ready. Nothing merges without your approval.

What if the fix is wrong?

Close the PR. No harm done. The fix is a starting point — a well-scoped diff that targets the root cause. You decide if it's right. If it's off, the Sentry trace is still there for you to debug manually.

What data does Patchwork access?

Only the source files referenced in the Sentry stack trace frames — the specific files that need to change. No full repo clone, no secrets scanning, no broad read access.

Is self-hosted available?

Cloud only at launch. Patchwork runs as a managed service — no infra to maintain on your end. Self-hosted is on the roadmap for the Team plan.