Skip to content

Commit 66574bd

Browse files
authored
Add rule code and edit signal warning (#317)
1 parent 62da5d6 commit 66574bd

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/Temporalio/Worker/WorkflowInstance.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2264,13 +2264,13 @@ private class Handlers : LinkedList<Handlers.Handler>
22642264
LoggerMessage.Define<string, WarnableSignals>(
22652265
LogLevel.Warning,
22662266
0,
2267-
"Workflow {Id} finished while signal handlers are still running. This may " +
2267+
"[TMPRL1102] Workflow {Id} finished while signal handlers are still running. This may " +
22682268
"have interrupted work that the signal handler was doing. You can wait for " +
22692269
"all update and signal handlers to complete by using `await " +
22702270
"Workflow.WaitConditionAsync(() => Workflow.AllHandlersFinished)`. " +
22712271
"Alternatively, if both you and the clients sending the signal are okay with " +
2272-
"interrupting running handlers when the workflow finishes, and causing " +
2273-
"clients to receive errors, then you can disable this warning via the signal " +
2272+
"interrupting running handlers when the workflow finishes, " +
2273+
"then you can disable this warning via the signal " +
22742274
"handler attribute: " +
22752275
"`[WorkflowSignal(UnfinishedPolicy=HandlerUnfinishedPolicy.Abandon)]`. The " +
22762276
"following signals were unfinished (and warnings were not disabled for their " +
@@ -2280,7 +2280,7 @@ private class Handlers : LinkedList<Handlers.Handler>
22802280
LoggerMessage.Define<string, WarnableUpdates>(
22812281
LogLevel.Warning,
22822282
0,
2283-
"Workflow {Id} finished while update handlers are still running. This may " +
2283+
"[TMPRL1102] Workflow {Id} finished while update handlers are still running. This may " +
22842284
"have interrupted work that the update handler was doing, and the client " +
22852285
"that sent the update will receive a 'workflow execution already completed' " +
22862286
"RpcException instead of the update result. You can wait for all update and " +

0 commit comments

Comments
 (0)