pulumi/sdk/dotnet/Pulumi
Anton Tayanovskyy b0f51a6b2c
Fixes for C# concurrency bugs in 7492 (#7529)
* Reproduce the issue in a failing test

* Fix

* Tentative fix

* Update sdk/dotnet/Pulumi/Deployment/TaskMonitoringHelper.cs

Co-authored-by: Justin Van Patten <jvp@justinvp.com>

* Update sdk/dotnet/Pulumi/Deployment/TaskMonitoringHelper.cs

Co-authored-by: Justin Van Patten <jvp@justinvp.com>

* Update sdk/dotnet/Pulumi/Deployment/TaskMonitoringHelper.cs

Co-authored-by: Justin Van Patten <jvp@justinvp.com>

* Update sdk/dotnet/Pulumi/Deployment/Deployment.Runner.cs

Co-authored-by: Justin Van Patten <jvp@justinvp.com>

* Do not allocate TaskCompletionSource when not needed

* Update sdk/dotnet/Pulumi/Deployment/Deployment.Runner.cs

Co-authored-by: Josh Studt <32800478+orionstudt@users.noreply.github.com>

* Fix warning

* Cache delegate

* Simplify with named tuples

* Test early exception termination

* Test logging

* Remove the smelly method of suppressing engine exceptions

* Update sdk/dotnet/Pulumi/Deployment/TaskMonitoringHelper.cs

Co-authored-by: Josh Studt <32800478+orionstudt@users.noreply.github.com>

* Fix typo; check in xml docs

* Try CI again

* Add CHANGELOG entry

* Dedup exceptions before reporting

* Lock access to _exceptions list

* Fix typos

* Version of HandleExceptionsAsync that accepts N exceptions

* Do not aggregate exceptions prematurely

* Rename private members

* Formatting

* Summary markers

* Short-circuit return

* Stylistic fixes

* Strengthen test

* Check that we have only 1 exception

* Remove defensive clause about AggregateException from the test

* Simplify TerminatesEarly test

* Remove EmptyStack

* Notes on the regression nature of the WorksUnderStress test

* Remove race condition repro as it is a poor repro, impossible to trigger from user code

* Brace style

Co-authored-by: Justin Van Patten <jvp@justinvp.com>
Co-authored-by: Josh Studt <32800478+orionstudt@users.noreply.github.com>
2021-07-22 12:49:14 -04:00
..
Core [sdk/{go,dotnet] Unmarshal invalid assets. (#7579) 2021-07-21 13:40:36 -07:00
Deployment Fixes for C# concurrency bugs in 7492 (#7529) 2021-07-22 12:49:14 -04:00
Exceptions [dotnet] Fix Resharper code issues (#7178) 2021-06-10 10:32:33 -04:00
Resources [sdk] Wait on remote component dependencies (#7541) 2021-07-16 16:11:34 -07:00
Serialization [sdk/{go,dotnet] Unmarshal invalid assets. (#7579) 2021-07-21 13:40:36 -07:00
Testing [dotnet] Fix Resharper code issues (#7178) 2021-06-10 10:32:33 -04:00
AssemblyAttributes.cs [Automation API] - C# Implementation (#5761) 2021-02-18 11:36:21 +01:00
Config.cs [dotnet] Fix Resharper code issues (#7178) 2021-06-10 10:32:33 -04:00
Config_Exceptions.cs [dotnet] Fix Resharper code issues (#7178) 2021-06-10 10:32:33 -04:00
Extensions.cs [dotnet] Fix Resharper code issues (#7178) 2021-06-10 10:32:33 -04:00
Log.cs Fix docstring on node log.error and other SDK equivalents (#6573) 2021-03-18 13:57:10 -04:00
PublicAPI.Shipped.txt [dotnet/sdk] Add create unknown to output utilities (#7173) 2021-06-10 10:54:16 -04:00
PublicAPI.Unshipped.txt Add replaceOnChanges resource option (#7226) 2021-07-01 13:32:08 -06:00
Pulumi.csproj Support microsoft logging extensions with inline programs (#7117) 2021-06-10 23:06:57 -04:00
Stack.cs [dotnet] Fix Resharper code issues (#7178) 2021-06-10 10:32:33 -04:00