pulumi/sdk/dotnet/Pulumi/Deployment
Fraser Waters a199ba8bb5
Fix race condition in TaskMonitoringHelper (#8294)
* Fix race condition in TaskMonitoringHelper

Fixes #8163

TaskMonitoringHelper was using two seperate trackers for Idle and
FirstException and then calling WhenAny on both to see which state
happened first. This was racy as you could end up completing a task with
an exception but getting the idle tracker fire first, resulting in
TaskMonitoringHelper thinking no exception had happened.

I've combined the two trackers into TaskMonitoringHelper now. At each
task completion we check for exceptions and then idleness.

* Add changelog
2021-10-26 22:37:47 +01:00
..
CallOptions.cs [sdk/dotnet] Support for calling methods (#7582) 2021-08-24 20:17:05 -07:00
Deployment.cs Support microsoft logging extensions with inline programs (#7117) 2021-06-10 23:06:57 -04:00
Deployment.EnginerLogger.cs Fix null exceptions when reading unknown outputs (#7762) 2021-08-17 09:30:54 -04:00
Deployment.Runner.cs Fixes for C# concurrency bugs in 7492 (#7529) 2021-07-22 12:49:14 -04:00
Deployment_Call.cs [sdk/dotnet] Support for calling methods (#7582) 2021-08-24 20:17:05 -07:00
Deployment_Config.cs [sdk/dotnet] Warn when a secret config is read as a non-secret (#7079) 2021-05-18 15:01:57 -07:00
Deployment_Inline.cs [sdk/dotnet] - Fix swallowed nested exceptions with inline program so they correctly bubble to consumer (#7323) 2021-06-21 15:45:26 -04:00
Deployment_Invoke.cs Minimally extend .NET SDK to support 5758 (#8142) 2021-10-07 09:51:24 -04:00
Deployment_Prepare.cs Fix null exceptions when reading unknown outputs (#7762) 2021-08-17 09:30:54 -04:00
Deployment_ReadOrRegisterResource.cs Minimally extend .NET SDK to support 5758 (#8142) 2021-10-07 09:51:24 -04:00
Deployment_ReadResource.cs Fix async await warnings (#7537) 2021-07-21 18:44:10 -04:00
Deployment_RegisterResource.cs Iwahbe/7881/thread replace on chages through sdks (#7967) 2021-09-15 14:29:13 -07:00
Deployment_RegisterResourceOutputs.cs Fix null exceptions when reading unknown outputs (#7762) 2021-08-17 09:30:54 -04:00
Deployment_RootResource.cs Fix null exceptions when reading unknown outputs (#7762) 2021-08-17 09:30:54 -04:00
Deployment_Run.cs Fixes for C# concurrency bugs in 7492 (#7529) 2021-07-22 12:49:14 -04:00
Deployment_Serialization.cs [dotnet] Fix Resharper code issues (#7178) 2021-06-10 10:32:33 -04:00
DeploymentInstance.cs Minimally extend .NET SDK to support 5758 (#8142) 2021-10-07 09:51:24 -04:00
GrpcEngine.cs Fix async await warnings (#7537) 2021-07-21 18:44:10 -04:00
GrpcMonitor.cs [sdk/dotnet] Support for calling methods (#7582) 2021-08-24 20:17:05 -07:00
IDeployment.cs Minimally extend .NET SDK to support 5758 (#8142) 2021-10-07 09:51:24 -04:00
IDeploymentInternal.cs Support microsoft logging extensions with inline programs (#7117) 2021-06-10 23:06:57 -04:00
IEngine.cs Unit testing in .NET (#3696) 2020-03-11 23:10:01 +01:00
IEngineLogger.cs Support microsoft logging extensions with inline programs (#7117) 2021-06-10 23:06:57 -04:00
IMonitor.cs [sdk/dotnet] Support for calling methods (#7582) 2021-08-24 20:17:05 -07:00
InlineDeploymentResult.cs Fix async await warnings (#7537) 2021-07-21 18:44:10 -04:00
InlineDeploymentSettings.cs [sdk/dotnet] - Fix swallowed nested exceptions with inline program so they correctly bubble to consumer (#7323) 2021-06-21 15:45:26 -04:00
InvokeOptions.cs [dotnet] Fix Resharper code issues (#7178) 2021-06-10 10:32:33 -04:00
IRunner.cs [sdk/dotnet] - Fix swallowed nested exceptions with inline program so they correctly bubble to consumer (#7323) 2021-06-21 15:45:26 -04:00
TaskMonitoringHelper.cs Fix race condition in TaskMonitoringHelper (#8294) 2021-10-26 22:37:47 +01:00