When enabling testing, the gem runs this check on workflows:
|
w_id == workflow_id && disallowed_statuses.include?(execution.status) |
The problem is that disallowed_statuses (at
|
def disallowed_statuses_for(reuse_policy) |
) doesn't consider the valid
terminate_if_running reuse policy, thus crashing at
disallowed_statuses.include?(execution.status) due to it returning
nil.
When enabling testing, the gem runs this check on workflows:
temporal-ruby/lib/temporal/testing/temporal_override.rb
Line 141 in 5d12aa3
The problem is that
disallowed_statuses(attemporal-ruby/lib/temporal/testing/temporal_override.rb
Line 152 in 5d12aa3
terminate_if_runningreuse policy, thus crashing atdisallowed_statuses.include?(execution.status)due to it returningnil.