Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion temporalio/worker/_activity.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,8 +151,11 @@ async def raise_from_exception_queue() -> NoReturn:
poll_task.cancel()
await exception_task
task = await poll_task

if task.HasField("start"):
# Mimic standalone activity
task.start.workflow_type = ""
task.start.workflow_execution.workflow_id = ""

# Cancelled event and sync field will be updated inside
# _run_activity when the activity function is obtained. Max
# size of 1000 should be plenty for the heartbeat queue.
Expand Down
Loading