From d62833a56149d7a9bd946d3e052a6617a472b672 Mon Sep 17 00:00:00 2001 From: Sophia Tevosyan Date: Wed, 29 Oct 2025 19:44:27 -0700 Subject: [PATCH] first commit --- src/Client/Core/DurableTaskClient.cs | 6 ++---- src/Client/Core/PurgeInstanceOptions.cs | 6 ++++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/Client/Core/DurableTaskClient.cs b/src/Client/Core/DurableTaskClient.cs index 439670cf..8ad6181e 100644 --- a/src/Client/Core/DurableTaskClient.cs +++ b/src/Client/Core/DurableTaskClient.cs @@ -352,8 +352,7 @@ public virtual Task PurgeInstanceAsync(string instanceId, Cancellat /// state can be purged. /// /// Purging an orchestration will by default not purge any of the child sub-orchestrations that were started by the - /// orchetration instance. If you want to purge sub-orchestration instances, you can set flag to - /// true which will enable purging of child sub-orchestration instances. It is set to false by default. + /// orchetration instance. Currently, purging of sub-orchestrations is not supported. /// If is not found in the data store, or if the instance is found but not in a /// terminal state, then the returned object will have a /// value of 0. Otherwise, the existing data will be purged and @@ -390,8 +389,7 @@ public virtual Task PurgeAllInstancesAsync(PurgeInstancesFilter fil /// /// /// This method returns a object after the operation has completed with a - /// indicating the number of orchestration instances that were purged, - /// including the count of sub-orchestrations purged if any. + /// indicating the number of orchestration instances that were purged. /// public virtual Task PurgeAllInstancesAsync( PurgeInstancesFilter filter, PurgeInstanceOptions? options = null, CancellationToken cancellation = default) diff --git a/src/Client/Core/PurgeInstanceOptions.cs b/src/Client/Core/PurgeInstanceOptions.cs index 1c7a7956..e55a974f 100644 --- a/src/Client/Core/PurgeInstanceOptions.cs +++ b/src/Client/Core/PurgeInstanceOptions.cs @@ -4,7 +4,9 @@ namespace Microsoft.DurableTask.Client; /// -/// Options to purge an orchestration. +/// Options to purge an orchestration. +/// Note that recursive purging of suborchestrations is currently not supported. /// -/// The optional boolean value indicating whether to purge sub-orchestrations as well. +/// The optional boolean value indicating whether to purge sub-orchestrations as well. +/// Currently this parameter is not supported. public record PurgeInstanceOptions(bool Recursive = false);