Repository navigation
Remove duplicate "See log" output on build failure - #17096
Merged
ViktorHofer merged 1 commit intoJul 10, 2026
Merged
Conversation
MSBuild now natively prints the binary log path when the build finishes, e.g.:
BinaryLogger wrote to: .../artifacts/log/Debug/Build.binlog
so the "See log: <path>" line printed by the MSBuild failure handler in
tools.ps1 is redundant and duplicates that output. Remove it along with the
now-unused GetMSBuildBinaryLogCommandLineArgument helper (its only caller).
Co-authored-by: Copilot <[email protected]>
Copilot-Session: 0ba1f12e-c9d7-4f5e-b31c-911fc21be955
Contributor
There was a problem hiding this comment.
Pull request overview
This PR reduces redundant build-failure console output in Arcade’s shared PowerShell tooling by removing the extra See log: <path> line printed on MSBuild failure, relying on MSBuild’s own binlog-path output instead. It also deletes the now-unused helper that parsed /bl: and /binaryLogger: arguments.
Changes:
- Remove duplicate
See log: ...output from theMSBuildfailure path ineng/common/tools.ps1. - Remove the unused
GetMSBuildBinaryLogCommandLineArgumenthelper (no remaining callers).
Show a summary per file
| File | Description |
|---|---|
| eng/common/tools.ps1 | Removes redundant binlog “See log” printing and deletes the unused argument-parsing helper. |
Copilot's findings
Tip
Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
- Files reviewed: 1/1 changed files
- Comments generated: 0
ViktorHofer
enabled auto-merge (squash)
July 10, 2026 14:20
akoeplinger
approved these changes
Jul 10, 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.
Summary
Removes the
See log: <path>line thattools.ps1prints from theMSBuildfailure handler, along with the now-unusedGetMSBuildBinaryLogCommandLineArgumenthelper (its only caller).Motivation
MSBuild now natively prints the binary log path when the build finishes, e.g.:
The
See log:line printed bytools.ps1duplicates MSBuild's ownBinaryLogger wrote to:output, so it is redundant. Removing it (and the helper that only existed to support it) drops the duplication.Notes
tools.shhas no equivalentSee logline, so no change is needed there.GetMSBuildBinaryLogCommandLineArgumenthad no other callers.