Skip to content

Commit 9b1df21

Browse files
author
Bernd Verst
committed
Make replay regression orchestrator return explicit
Address the automated code-quality finding without changing the test orchestrator's fall-through behavior. Co-authored-by: Copilot App <[email protected]> Copilot-Session: e6b07f3f-b3e1-49dd-9121-318968272d31
1 parent cfa1b0f commit 9b1df21

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎tests/durabletask/test_orchestration_executor.py‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -627,6 +627,7 @@ def orchestrator(ctx: task.OrchestrationContext, _):
627627
if isinstance(error.__cause__, task.TaskCancelledError)
628628
else "other-recovery")
629629
return (yield ctx.call_activity(recovery))
630+
return None
630631

631632
registry = worker._Registry()
632633
name = registry.add_orchestrator(orchestrator)

0 commit comments

Comments
 (0)