-
Notifications
You must be signed in to change notification settings - Fork 22
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
What are you really trying to do?
I have upgraded sdk-ruby from v0.5.0 to v0.6.0 and ran benchmark workflow locally in dev env.
Describe the bug
Benchmark workflow consistently works fine with v0.5.0, but with v0.6.0 it consistently gets stuck with error [TMPRL1101] Potential deadlock detected: workflow didn't yield within 2.0 second(s)..
Minimal Reproduction
- Start worker
- Start workflow
- Wait
- Get error
Environment/Versions
- OS and processor: M3 MacBook
- Temporal Version: 1.18
- Temporal server running on Docker
Additional context
Workflow:
class Benchmarks::AsyncActivityTemporalioWorkflow < TemporalioWorkflow
def execute(iterations = 1000)
futures = iterations.times.map do |i|
Temporalio::Workflow::Future.new do
TemporalioExt::Activities.execute(HelloWorldActivityV2, "Test #{i}")
end
end
Temporalio::Workflow::Future.all_of(*futures).wait
true
end
endActivity:
class HelloWorldActivityV2 < TemporalioActivity
def execute(name)
"Hello #{name}"
end
endjeromepl
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working