temporalio / temporalio/sdk-python

[Bug] strange workflow task timeout

Open
#778 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Python
Stars
1.2k
Forks
241
Avg merge
3d 21h
Merged PRs (30d)
55

Description

I've set the activity timeout to 3600 seconds in the settings. Most tasks complete normally, but some are not polled and executed by the worker until several hours later.

Below is the event history—I'm unsure what happened. Could anyone help diagnose this issue?

Thanks in advance!

Image

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the attached event history and the activity timeout setting, then trace how the worker polls and executes delayed tasks. Reproduce the several-hour delay if possible and compare affected tasks with those that complete normally. Done means identifying the cause of the delay and defining the expected polling behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend, distributed-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.