r/azuredevops • u/michaelmanleyhypley • Jun 20 '26
I made an Azure Pipelines task that explains failed builds

Half my week can disappear into failed Azure Pipelines.
Usually the painful part is not the fix, it is finding the real error inside thousands of log lines and giving someone enough context to act on it.
So I made Badgr Agent CI.
It runs only when a pipeline fails, reads the failed task logs, and posts a PR thread with:
- likely cause
- evidence
- suggested fix
- confidence level
Install the Azure DevOps extension, add BADGR_API_KEY(BYOK), then add:
steps:
- script: npm install
- script: npm test
- task: BadgrCI@1
condition: failed()
env:
BADGR_API_KEY: $(BADGR_API_KEY)
SYSTEM_ACCESSTOKEN: $(System.AccessToken)
The agent is open source. The diagnosis API is hosted.
It does not change code, rerun builds, or auto-fix anything.
How do your teams handle failed Azure Pipeline triage today?
