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
There are two common situations where the server task start time (activities and workflows) could be different than SDK side when the SDK starts processing the task (not when polled unless it's the same in the SDK language):
Clock skew - server clock is different than worker clock
Worker slowdown between poll response and processing - so for Python for instance, could be enqueued on a thread pool executor instead of processed immediately
We should issue a warning if the difference in these times is significant. TBD the exact values, but early thoughts are "if the task start time is +/- 1 minute from current worker system time when task is started". For Core SDKs, this needs to be done in lang because it's important to check when the task is actually being worked on and not when it's received from server, and only lang knows that. It's TBD on whether this users need to be able to disable/customize this.
cretz
changed the title
Warn when the server-provided task start time is fairly different than time SDK begins processes task
Warn when the server-provided task start time is fairly different than time SDK begins processing the task
Apr 18, 2025
Uh oh!
There was an error while loading. Please reload this page.
Describe the solution you'd like
There are two common situations where the server task start time (activities and workflows) could be different than SDK side when the SDK starts processing the task (not when polled unless it's the same in the SDK language):
We should issue a warning if the difference in these times is significant. TBD the exact values, but early thoughts are "if the task start time is +/- 1 minute from current worker system time when task is started". For Core SDKs, this needs to be done in lang because it's important to check when the task is actually being worked on and not when it's received from server, and only lang knows that. It's TBD on whether this users need to be able to disable/customize this.
Per-SDK Tickets
The text was updated successfully, but these errors were encountered: