AI
Cloudflare open-sources Astro triage bot that cleared 5-year issue backlog
The JavaScript framework project is on track to hit zero open issues for the first time, using AI agents to automate the grunt work—and Cloudflare is sharing the tool with other maintainers.
The New Stack
The burden of managing open-source maintainance has grown steeper. AI code generators now produce low-quality bug reports, unvetted patches, and speculative security claims by the dozen, yet reviewing each one still demands human effort at the original pace.
Astro, a JavaScript framework for building fast, content-heavy websites, offers a counterexample. The project has whittled its GitHub issue pile from over 200 down to roughly 20—a trajectory that should reach zero within weeks, marking the first time in its five-year life. Behind the win sits a pipeline of AI subagents built by the Astro team and now owned by Cloudflare, which acquired the team in January. This week, Cloudflare made the system open source so other projects can adopt it.
The triage pipeline#
The tool, called triagebot-action, runs as a standard GitHub Action. When an issue lands, it triggers a four-step flow: reproduce the error in an isolated environment, identify what's actually wrong, confirm it's a genuine bug, and attempt to fix it. Four separate AI agents handle these phases in sequence, with a state machine encoded in GitHub labels tracking progress so observers can see exactly what's happening and why.
Each stage represents a different difficulty level. According to Fred Schott, Astro's co-founder and now a senior engineering manager at Cloudflare, triage and diagnosis are areas where agents have proven reliable. The hardest piece is code generation itself.
"Fix is always the hardest because the bar is so high," Schott explained. "Where all of the other tasks are just 'can you complete your phase'—reproduce the bug, diagnose the cause, etc. Fix is the one where it has to write code that is of high enough quality that it can be merged."
Crucially, the system prioritizes triage over fix generation. Routing a well-documented issue to a human maintainer, Schott notes, remains "a pretty great outcome" even without an automated solution. The team realized agents excelled at categorization and analysis—skills that save enormous amounts of maintainer time—while struggling reliably to produce merge-ready code.
Why Astro and Cloudflare#
Astro launched as an open-source framework in 2021, then spun into its own company in 2022 with $7 million in seed backing. The framework made a name for itself by shipping pages as plain HTML by default, loading JavaScript only for interactive components—a design philosophy that stands apart from React-based alternatives that bundle JavaScript for the entire page. Companies like IKEA, Unilever, and Visa adopted the approach.

