You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Adding Missing Fields to Instance Entity and Fix Blob References (#1272)
* first commit
* added missing properties to other instance entities
* missed a parentheses
* fixed other bugs, added way more tests
* Update src/DurableTask.AzureStorage/Tracking/AzureTableTrackingStore.cs
Co-authored-by: Copilot <[email protected]>
* addressing PR comments
* fixing the tests, adding tests for a nonexistent instance entity
* updated to only extract the executioncompleted and executionstarted events for large input/outputs to extract the blob names
* updated to add better exception handling
---------
Co-authored-by: Sophia Tevosyan <[email protected]>
Co-authored-by: Copilot <[email protected]>
// check if we are replacing a previous execution with blobs; those will be deleted from the store after the update. This could occur in a ContinueAsNew scenario
Copy file name to clipboardExpand all lines: src/DurableTask.AzureStorage/Tracking/ITrackingStore.cs
+5-7Lines changed: 5 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -105,16 +105,15 @@ interface ITrackingStore
105
105
106
106
/// <summary>
107
107
/// Updates the instance status of the specified orchestration instance to match that of <paramref name="runtimeState"/> for a completed orchestration.
108
-
/// Also deletes any orphaned blobs of <paramref name="trackingStoreContext"/>.
109
108
/// This method is meant to be called in the case that there is an inconsistency between the instance and history table due to a failure during a call to
110
109
/// <see cref="UpdateStateAsync"/> for a completing orchestration. If the orchestration is not in a terminal state, the method will immediately return and do nothing.
111
110
/// </summary>
112
111
/// <param name="instanceId">The ID of the orchestration.</param>
113
112
/// <param name="executionId">The execution ID of the orchestration.</param>
114
113
/// <param name="runtimeState">The runtime state of the orchestration.</param>
115
-
/// <param name="trackingStoreContext">Additional context for the execution that is maintained by the tracking store.</param>
114
+
/// <param name="instanceEntityExists">Whether the instance entity already exists in the instance store.</param>
116
115
/// <param name="cancellationToken">The token to monitor for cancellation requests. The default value is <see cref="CancellationToken.None"/>.</param>
0 commit comments