What problem does it solve?
When a local build or a failed dotnet/fsharp Azure DevOps PR build breaks, finding the root cause inside a large MSBuild binary log is tedious. This Skill fetches the relevant .binlog file and hands it to the binlog-mcp MCP server for structured error extraction, root-cause diagnosis, and build performance analysis.
Core Features & Use Cases
- Binlog Acquisition: Resolves the newest local build binlog under artifacts/log, or downloads the published binlog artifact from a failed fsharp-ci Azure DevOps PR build by PR number or build ID.
- Structured Diagnosis: Delegates analysis to the binlog-mcp MCP server, exposing tools like binlog_overview, binlog_diagnose, binlog_errors, and binlog_warnings for categorized root causes with file, line, and project context.
- Build Performance X-ray: Surfaces expensive targets, tasks, and analyzers, plus incrementality and double-write analysis for build perf investigations.
- Use Case: A PR build fails on fsharp-ci with a WarnAsError. Run the script with -PrNumber to download the binlog, then call binlog_diagnose to get the categorized root cause and next-step hints without opening the log manually.
Quick Start
Ask the agent to analyze the build failure for PR 19941 by fetching its binlog and running binlog_overview and binlog_diagnose on it.