Automating Feature Flag Cleanup at Scale with Multi-Agent LLM Systems: An Industrial Experience at DoorDash
New in LLM agents and tool use; no direction yet. LLM agents and tool use
Abstract (arXiv)
Feature flags are runtime configuration mechanisms used for gradual feature rollouts, experimentation, and kill switches. Once a feature is fully rolled out, the flag and its gated code become technical debt and can introduce operational risk through inadvertently enabling dormant code paths. At DoorDash, over 56,000 feature flags span 623 repositories, with 1,659 currently stale as of May 2026, with internal estimates of one to two hours per manual cleanup. Existing rule-based cleanup tools proved insufficient in DoorDash's codebases. Our contribution is an end-to-end automated LLM-based feature flag cleanup system that integrates querying live feature flag rollout data using MCP, Jira ticket processing, and end-to-end pull request creation. Our system successfully produced engineer-approved flag removal PRs for 45 (90%) of the 50 stale flags it was evaluated on, proving the system's operational viability at scale with each cleanup averaging only 4.79 and 13.8 minutes. We evaluated the system's quality and reliability boundary based on success rates, cost per cleanup and time metrics. Furthermore, we discuss our lessons learned when architecting this system, to provide practical guidance for developing similar multi-agent systems.
Key facts. No citing papers in the map yet (data through 26 Nov 2026). Builds on 3 of its 22 references that are in the map. Submitted 22 Oct 2026.
Builds on
3 of 22 references.
References · 3
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2026To Run or Not to Run: Analyzing the Cost-Effectiveness of Code Execution in LLM-Based Program Repair
- 2025From LLMs to Agents: A Comparative Evaluation of LLMs and LLM-based Agents in Security Patch Detection
- 2026Towards Automatically Pruning Logging Code with Coding Agents: How Far Are We?
- 2026SoK: Assessing the Evolution of LLM Capability in Software Vulnerability Research
- 2026RepoClean: Evaluating Coding Agents on Repository-Level Obsolete Code Cleanup
- 2026PatchIsland: Orchestration of LLM Agents for Continuous Vulnerability Repair
- 2026SmellBench: Evaluating LLM Agents on Architectural Code Smell Repair
- 2026CHASE: LLM Agents for Dissecting Malicious PyPI Packages