Add binlog-analysis skill (build-failure triage via binlog-mcp)#19957
Merged
Conversation
Fetches a build's MSBuild binary log (local build, or a failed fsharp-ci Azure DevOps PR build) and analyzes it live via the binlog-mcp MCP server (Microsoft.AITools.BinlogMcp): structured errors, root-cause diagnosis, and an MSBuild perf X-ray. - .github/skills/binlog-analysis/: SKILL.md + scripts/Get-Binlog.ps1 (acquisition; analysis delegated to the MCP). - .config/dotnet-tools.json: pin Microsoft.AITools.BinlogMcp so `dotnet tool restore` provisions the MCP server (restores from the existing dnceng feed). - Point existing build-failure entry points at the skill.
Contributor
✅ No release notes required |
The skill-validator (.github/skills CI) requires a 'name' frontmatter field on every agent. agentic-workflows.agent.md lacked one, failing the 'Validate skills and agents' check.
Contributor
|
🔍 Tooling Safety Check — Affects-Agent-Config, Affects-Build-Infra, Affects-Restore
|
1.0.0 is the canonical public release of Microsoft.AITools.BinlogMcp; it restores from the existing dnceng dotnet-tools feed (verified) and has the same tool surface. No NuGet.config change.
T-Gro
approved these changes
Jun 17, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
A
binlog-analysisagent skill that turns a failed build's MSBuild binary log into root causes:artifacts/log/*.binlog, or the published artifact of a failedfsharp-ciAzure DevOps PR build (by PR number or build id).binlog-mcpMCP server (Microsoft.AITools.BinlogMcp): build overview, structured errors, root-cause diagnosis, and MSBuild target/task timings.It no-ops on test /
CheckCodeFormattingfailures, where a build binlog has no errors.Changes
.github/skills/binlog-analysis/—SKILL.md+scripts/Get-Binlog.ps1(resolves/downloads the binlog and prints its path; analysis is delegated to the MCP server)..config/dotnet-tools.json— pinMicrosoft.AITools.BinlogMcpsodotnet tool restoreprovisions the MCP server.copilot-instructions.md,pr-build-status,compiler-perf-investigator,hypothesis-driven-debugging.name:field to.github/agents/agentic-workflows.agent.md— a pre-existing gap the skill-validator flags once this PR touches.github/.Validation
Ran the MCP tools (
binlog_overview/binlog_diagnose/binlog_errors) against realfsharp-cibinlogs, and smoke-tested the fetch script for local paths and Azure DevOps download.