Skip to content

feat(core): emit workflow task duration logging - #1433

Open
jmaeagle99 wants to merge 5 commits into
mainfrom
storage-duration
Open

feat(core): emit workflow task duration logging#1433
jmaeagle99 wants to merge 5 commits into
mainfrom
storage-duration

Conversation

@jmaeagle99

@jmaeagle99 jmaeagle99 commented Jul 30, 2026

Copy link
Copy Markdown
Contributor

What was changed

When a WFT takes longer than 5 seconds, emit a TMPRL1104 warn log with external storage data. Threshold can be configured via the TEMPORAL_WORKFLOW_TASK_DURATION_WARN_SECONDS environment variable.

Why?

Help customers better identify causes of long running workflow tasks.

Checklist

  1. How was this tested: Unit tests, Python SDK PR

  2. Any docs updates needed? No

Comment thread crates/sdk-core/src/worker/workflow/managed_run.rs Outdated
Comment thread crates/sdk-core/src/worker/workflow/managed_run.rs Outdated
@jmaeagle99
jmaeagle99 requested a review from Sushisource July 30, 2026 23:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants