Automate feature-flag cleanup and CI fixes

Ramp used Devin to open pull requests that removed old feature flags and repaired flaky tests and CI problems.

Done with Devin· Advanced

What they did
Ramp connected Devin through its API so several instances could run at once. For flag removal, an engineer picked a flag in an internal admin dashboard, and a prompt split the work across worker agents that each handled a set of files. A separate cleanup agent then combined the changes into one pull request. For slow tests, scripts verified that coverage did not change before anything moved forward.
How it went
The team says it removed 150 complicated feature flags in one month, and an engineer estimated that saved more than 1000 hours. Ramp also reported about 80 merged pull requests each week. Airflow fixes took about 8 minutes from bug to PR, and roughly half were ready to merge without edits.
Tips
Use validation checks to block bad outputs before they reach review, especially for test or coverage-sensitive work. Parallel agents help most when review time, not compute, is the main bottleneck.

Try it yourself with Devin

In my codebase [repo name], remove the stale feature flag [flag name] and keep the [enabled/disabled] behavior working everywhere it appears. Split the file changes across helper agents if that makes the work faster, then have one agent gather the edits into a single pull request. Also check for any flaky tests or CI failures tied to this change and fix them. Before doing anything irreversible, pause and ask me to approve the final deletion, submission, or merge. Show me the pull request summary and the files changed, but do not merge it.

Fill in the [brackets]. Agents can make mistakes, so review anything before it is sent, paid or deleted.

Get 3 agent uses like this every morning

With the day's top AI news. Free, and one click to unsubscribe.