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
Add support for dedupe statuses in isolated (#3316)
* first commit, will add e2e tests in the next one
* added the e2e tests:
* removing unnecessary changes
* made hellocities more succinct
* missed instance ID assignment
* PR comment updates
* fixing whitespace
* removed linked cancellation token use
* updated the exception handling in the e2e test to only catch OrchestrationAlreadyExistsException
* removing question comments
* removed unnecessary usings
* fixing a comment
* updating the terminating poll to end if the orchestration reaches any terminal status
* updated HTTP request to include cancellation token
* fixing the build bug
* fixed CreateTaskOrchestration overrides to ultimately call the same method
* PR comments:
* updating the termination poll logic to use WaitForOrchestration
* Adding an ArgumentException for invalid dedupe statuses (any running + terminated)
* added support to terminate existing running instances for restart
* Update src/WebJobs.Extensions.DurableTask/HttpApiHandler.cs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Update test/e2e/Tests/Tests/DedupeStatusesTests.cs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Update test/e2e/Tests/Tests/RestartOrchestrationTests.cs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* fixing the typoe
* added log assertions to the tests, removed the huge RestartOrchestrationTests diff, addressed more copilot comments
* Update test/e2e/Apps/BasicJava/src/main/java/com/function/HelloCities.java
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* fixing the build warnings and addressing PR comments
* removing the version specified in one of the package references in VSSample.csproj since we use CPM
* further fixing the nuget build errors
* continuing the nuget attempts, addressing some copilot comments
* fixed the failing test
* updated .NET SDK dependencies
* attempting to fix the e2e dts and mssql errors
* Update test/e2e/Apps/BasicPowerShell/LargeOutputOrchestrator/run.ps1
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* moving the placement of the log checks in the restart tests to try to reduce the flakiness
* added conditional skip on the Suspended status for MSSQL since it doesnt support terminating suspended orchestrations
* changing the logic in the restart test to wait for the restart to complete to remove flakiness
* Update test/e2e/Apps/BasicNode/src/functions/LargeOutputOrchestrator.ts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* more changes to try to fix the flakiness in the tests
* missed a pending case in DedupeStatusesTests
* fixing the ScheduledStartTime typo in the tests
* updated the DTS and MSSQL dependencies which unblocked certain test cases
* updated the mssql dependency to the working package
---------
Co-authored-by: Sophia Tevosyan <stevosyan@microsoft.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
/// <returns>A task that completes when any of the above conditions are reached.</returns>
691
+
/// <exception cref="OperationCanceledException">Thrown if the operation is cancelled via the <paramref name="cancellationToken"/>.</exception>
692
+
/// <exception cref="OrchestrationAlreadyExistsException">Thrown if an orchestration already exists with status in <paramref name="dedupeStatuses"/>.</exception>
693
+
/// <exception cref="ArgumentException">Thrown if <paramref name="dedupeStatuses"/> contains <see cref="OrchestrationStatus.Terminated"/> but allows
694
+
/// at least one running status to be reusable.</exception>
0 commit comments