[auto/dotnet] Support for remote operations #11194
Merged
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.
This change adds preview support for remote operations in .NET's Automation API.
Note:
I've tried many incantations ofdotnet format dotnet.sln analyzers --diagnostics=RS0016
, but have not been able to get the code fix applied to updatesdk/dotnet/Pulumi.Automation/PublicAPI.Shipped.txt
. Perhaps a .NET 6 bug (I'm running on an M1 Mac)? dotnet/format#1416 might be relevant. I'll try again a bit later, but I might have to manually update the file, unless someone else's tools are working and can pull down the branch and run it.Update: I didn't see any failures in the PR related to not having updated
sdk/dotnet/Pulumi.Automation/PublicAPI.Shipped.txt
, so maybe we're no longer checking this or something is broken? In any case, I still wasn't able to getdotnet format
to automatically apply the updates, so I manually editedPublicAPI.Shipped.txt
. I think I got everything, but it's possible I missed something. Let's see what CI says.Here's an example of using it:
I will add sanity tests subsequently.