AI Services Market
AI Services Market › Use cases › Software & DevOps
Software & DevOpsDone with Devin 2026-11-20

Remove stale feature flags and fix CI via automated PRs

Ramp built Devin workflows where an engineer enters a feature flag and Devin opens a PR removing it; it also fixed flaky tests and CI issues (vendor case study).

Remove stale feature flags and fix CI via automated PRs preview
What They Did
Ramp used Devin's API to run many Devins in parallel. For feature flags, a playbook prompt split the removal across worker Devins, each handling assigned files. A clean-up Devin merged their output into one PR. This sits behind an internal admin-dashboard tool, so an engineer enters a flag and gets tagged on the PR. For slow tests, scripts checked that coverage was unchanged.
How It Went
Ramp removed 150 complex feature flags in a month, which an engineer credits with over 1000 hours saved. Overall it reports about 80 merged PRs a week. Airflow fixes averaged 8 minutes from bug to PR, and half could be merged as-is.
Worth Knowing
Validation scripts, such as a coverage-regression check for slow tests, kept failed attempts from surfacing as PRs, so review bandwidth was the only limit on parallelism.
Try it yourself with Devin

In my repo [repo name], remove the feature flag [flag name] and keep the behavior of the [enabled/disabled] path everywhere it's used. Delete the flag definition, dead branches, and related tests or config, then run the test suite and fix anything that breaks. Open a pull request with a summary of every file changed. Show me the PR for review and do not merge it.

Read the original ↗

Do this with a skill.

These AI Services Market playbooks do this exact job.