Actual Behavior
After upgrading the Kotlin compiler from 2.2.0 to 2.4.0, replaying existing workflow histories throws a NonDeterministicException when the workflow schedules an async command via a method reference (Async.function(child::emphasize, assignee)) . Scheduling the same command as a lambda (Async.function { child.emphasize(assignee) }) mitigates it.
Steps to Reproduce the Problem
Attached the project with a the reproduction
33996.zip
Specifications
Actual Behavior
After upgrading the Kotlin compiler from 2.2.0 to 2.4.0, replaying existing workflow histories throws a NonDeterministicException when the workflow schedules an async command via a method reference
(Async.function(child::emphasize, assignee)). Scheduling the same command as a lambda(Async.function { child.emphasize(assignee) })mitigates it.Steps to Reproduce the Problem
Attached the project with a the reproduction
33996.zip
Specifications