@@ -2778,7 +2778,7 @@ def _make_unfinished_update_handler_message(
2778
2778
handler_executions : List [HandlerExecution ],
2779
2779
) -> str :
2780
2780
message = """
2781
- Workflow finished while update handlers are still running. This may have interrupted work that the
2781
+ [TMPRL1102] Workflow finished while update handlers are still running. This may have interrupted work that the
2782
2782
update handler was doing, and the client that sent the update will receive a 'workflow execution
2783
2783
already completed' RPCError instead of the update result. You can wait for all update and signal
2784
2784
handlers to complete by using `await workflow.wait_condition(lambda:
@@ -2797,12 +2797,12 @@ def _make_unfinished_signal_handler_message(
2797
2797
handler_executions : List [HandlerExecution ],
2798
2798
) -> str :
2799
2799
message = """
2800
- Workflow finished while signal handlers are still running. This may have interrupted work that the
2800
+ [TMPRL1102] Workflow finished while signal handlers are still running. This may have interrupted work that the
2801
2801
signal handler was doing. You can wait for all update and signal handlers to complete by using
2802
2802
`await workflow.wait_condition(lambda: workflow.all_handlers_finished())`. Alternatively, if both
2803
2803
you and the clients sending the signal are okay with interrupting running handlers when the workflow
2804
- finishes, and causing clients to receive errors, then you can disable this warning via the signal
2805
- handler decorator: `@workflow.signal(unfinished_policy=workflow.HandlerUnfinishedPolicy.ABANDON)`.
2804
+ finishes, then you can disable this warning via the signal handler decorator:
2805
+ `@workflow.signal(unfinished_policy=workflow.HandlerUnfinishedPolicy.ABANDON)`.
2806
2806
""" .replace ("\n " , " " ).strip ()
2807
2807
names = collections .Counter (ex .name for ex in handler_executions )
2808
2808
return (
0 commit comments