-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Sidecar taskhost #12071
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
Merged
Merged
Sidecar taskhost #12071
Changes from all commits
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
64037b1
it works. probably.
SimaTian fd79eac
tests wip
SimaTian af483c7
Update src/Shared/CommunicationsUtilities.cs
SimaTian da8c008
traits attempt to fix tests
SimaTian 81a41fd
Merge branch 'sidecar-taskhost' of https://github.com/dotnet/msbuild …
SimaTian 3e2becd
test issue fixed
SimaTian 5c2b9cd
some additional cleanup
SimaTian d36de10
Update src/Build/Instance/ProjectInstance.cs
SimaTian d77c19c
Update src/Build/BackEnd/Components/Communications/NodeProviderOutOfP…
SimaTian 3c6a9e4
Update src/Build.UnitTests/BackEnd/TaskHostFactory_Tests.cs
SimaTian e15cd06
add logging for failed case
YuliiaKovalova 96ee3e2
merge
YuliiaKovalova ef66248
one more logging place
YuliiaKovalova d51c6f2
Merge branch 'main' into sidecar-taskhost
SimaTian 3dac518
addressing review
SimaTian 00ad386
comment fix
SimaTian e05ce86
more polish
SimaTian 794c817
test fix
SimaTian b46c4fc
Merge branch 'main' into sidecar-taskhost
SimaTian f7e807b
unexpected warning fix
SimaTian ad1ac2b
comment
SimaTian 5058cdb
remove extra assignments
SimaTian cc3e525
addressing review comments
SimaTian de6f9e2
final round?
SimaTian 3fa58da
final cleanup
SimaTian 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,29 @@ | ||
| // Licensed to the .NET Foundation under one or more agreements. | ||
| // The .NET Foundation licenses this file to you under the MIT license. | ||
|
|
||
| using System.Diagnostics; | ||
| using Microsoft.Build.Framework; | ||
| using Microsoft.Build.Utilities; | ||
| #nullable disable | ||
|
|
||
| namespace Microsoft.Build.UnitTests | ||
| { | ||
| /// <summary> | ||
| /// This task was created for https://github.com/dotnet/msbuild/issues/3141 | ||
| /// </summary> | ||
| public class ProcessIdTaskSidecar : Task | ||
| { | ||
| [Output] | ||
| public int Pid { get; set; } | ||
|
|
||
| /// <summary> | ||
| /// Log the id for this process. | ||
| /// </summary> | ||
| /// <returns></returns> | ||
| public override bool Execute() | ||
| { | ||
| Pid = Process.GetCurrentProcess().Id; | ||
| return true; | ||
| } | ||
| } | ||
| } |
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.
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.