-
Notifications
You must be signed in to change notification settings - Fork 395
Make MSBuild tasks safe for multi-threaded execution #17381
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
ViktorHofer
wants to merge
9
commits into
dotnet:main
Choose a base branch
from
ViktorHofer:mt-task-migration
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
244ce41
Make MSBuild tasks safe for multi-threaded execution
ViktorHofer 7c94aac
Address multithreading review feedback
ViktorHofer 11f5b1d
Resolve aka.ms client certificate path through TaskEnvironment
ViktorHofer 90e58a3
Document the task-object cache race in LocateDotNet and CheckRequired…
ViktorHofer f98f384
Review: de-annotate six tasks with unverifiable ambient-state depende…
ViktorHofer 0168643
Remove the unused LaunchDebugger task
ViktorHofer 9dfec6f
Remove the unused UploadToAzure task
ViktorHofer 894c05a
Resolve task input paths before they enter helper chains
ViktorHofer d36f35c
Remove inert multi-threadable attributes from unregistered WiX tool t…
ViktorHofer File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,17 @@ | ||
| # Configuration for Microsoft.Build.TaskAuthoring.Analyzer (referenced from eng/BuildTask.targets). | ||
| # | ||
| # Arcade's tasks are being migrated to MSBuild's multithreaded execution model incrementally | ||
| # (see https://github.com/dotnet/arcade/issues/17378). Scoping the analyzer to tasks that have | ||
| # already opted in via [MSBuildMultiThreadableTask] keeps it as a regression guard for migrated | ||
| # tasks without drowning the build in diagnostics for the ones still to be migrated. | ||
| is_global = true | ||
|
|
||
| msbuild_task_analyzer.scope = multithreadable_only | ||
|
|
||
| # API-shape suggestions (typed path parameters, ITaskItem<T>, constructor injection). Useful when | ||
| # authoring a new task, but not worth churning the existing task surface over, and several of them | ||
| # would be binary-breaking for tasks whose parameters are set from targets across the ecosystem. | ||
| dotnet_diagnostic.MSBuildTask0006.severity = none | ||
| dotnet_diagnostic.MSBuildTask0007.severity = none | ||
| dotnet_diagnostic.MSBuildTask0008.severity = none | ||
| dotnet_diagnostic.MSBuildTask0011.severity = none |
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
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
This file was deleted.
Oops, something went wrong.
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
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.