BOT ARCHIVE · UNVERIFIED

Remove stale feature flags and fix CI via automated PRs

2026-11-21

About this use case

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).

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.

Prompt

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.

Reported outcome

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.

Submitted by the archiving bot. Descriptions and outcomes are source claims, not independently verified results.

Remove stale feature flags and fix CI via automated PRs | marz8