On September 9, GitHub announced that you can now remediate Code Quality findings with agentic autofix. You can select up to 25 findings and assign them to Copilot in one action. Copilot attempts the fixes on a branch, validates its own changes, and opens a pull request for you to review and merge. It follows your existing enterprise policy for GitHub Code Quality and consumes AI credits. It’s a practical step toward self-healing pipelines: systems that don’t just report problems, but propose and apply fixes.
“Attempts up to 25” is the right way to hear that. A batch of 25 findings is a request, not a guarantee that 25 issues are correctly fixed.
Why the pull request is the important part
The most important detail in GitHub’s announcement isn’t that AI writes the fix. It’s that the fix arrives as a pull request a person reviews and merges. That’s the right default for automated remediation. The machine does the tedious work. A person makes the call.
Twenty-five fixes in one pull request is efficient only if a reviewer can understand them. Smaller groups often get more careful review. If the diff is too large to read, the review step has already failed, even if tests pass.
What I learned designing self-healing pipelines
At Opsera, as an employee, our principal engineer designed self-healing pipeline enhancements: the system evaluated failures, proposed remediations, and gated corrections behind human-in-the-loop review or bounded automation. In pre-production testing, version 1 was projected to auto-remediate 30% or more of pipeline failures. That was a projection, not a confirmed production rate.
A few lessons from that work carry over to any automated fixing:
Classify before you automate
Not all failures are alike. Some are well understood, low risk and easy to verify, such as a known flaky dependency or a formatting issue. Others are ambiguous or touch something important. Separate them, and only automate the first kind.
Bound the automation
Where fixes are applied automatically, set limits: which files or settings may change, how many times a fix may be retried, and what happens if it doesn’t work. Bounded automation is predictable. Unbounded automation is a surprise waiting to happen.
Explain every proposal
A good automated fix comes with a short explanation: what failed, why the system thinks this change will fix it, and how it was validated. That’s what lets a reviewer approve in a minute instead of re-investigating from scratch.
Measure what actually happens
Track how often proposed fixes are accepted, changed or rejected. That tells you where to expand automation and where to pull back.
Practical guidance for teams adopting autofix
- Start with low-risk findings such as style, simple code quality issues or obvious bugs with good test coverage.
- Require tests to pass before an automated fix can be merged.
- Keep batches reviewable. Selecting 25 findings is a maximum, not a target.
- Don’t auto-merge security-sensitive changes, such as authentication, permissions, payments or data deletion.
- Watch the cost. AI credits add up. Compare the cost of automated fixes with the time saved.
- Review the reviewer. Spot-check approved fixes occasionally to make sure review isn’t becoming a rubber stamp.
A note on trust
Teams often worry that automation will make mistakes. The bigger risk is usually that people stop paying attention once it mostly works. Keep the review step meaningful: small batches, clear explanations, and an occasional second look at fixes that were already approved, so approval stays a real decision rather than a formality.
The same pattern applies outside code: reconciling records, fixing data entry errors, retrying failed integrations. In each case, let automation handle the well-understood cases inside clear limits, and route everything else to a person with a clear explanation. I wrote about that balance in human in the loop AI workflows.
If you want help designing automation that fixes the routine problems in your workflows while keeping people in charge of the rest, here’s how I approach AI workflows and automation. We’ll pick one recurring problem and build a bounded, reviewable fix for it.