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.
- 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.
Related agent uses
Use Devin to build and then slim down a calculator app
A Scott Logic developer used Devin to create a calculator app, then had it map out a refactor that shrank the codebase by about 60%.
Use Devin for small pull requests
A team handed Devin narrow fixes in their repo, then reviewed the tests and pull requests it produced.
Turn a spreadsheet into a face-matching quiz site
A developer had Devin turn a TSV of speaker names and photos into a mobile-friendly React quiz and a QR-code landing page.
Use Devin to draft pull requests on a codebase
A team tested Devin on their codebase for PR creation, but slow output and full review needs made it feel like a junior developer.
Use Devin for one integration, one migration, and a review
Answer.AI tested Devin on three coding tasks, but the migration stalled and the security pass mixed valid findings with mistakes.
Build and verify a simple endpoint app
Devin created a small Node.js Express service, tested its routes, and added error handling in about 4 minutes.