Describe the bug
PyAsyncProcessModel starts running (run_async is called) during runtime creation, instead of waiting until a subsequent run mgmt command is sent by the runtime.
To reproduce current behavior
Implement a minimal PyAsyncProcessModel. Print when run_async is called. Use process.create_runtime to show that run_async is called even if process.run is not called.
Expected behavior
PyAsyncProcessModel should not start running until a run mgmt command is sent / until process.run is called.
Describe the bug PyAsyncProcessModel starts running (run_async is called) during runtime creation, instead of waiting until a subsequent run mgmt command is sent by the runtime.
To reproduce current behavior Implement a minimal PyAsyncProcessModel. Print when run_async is called. Use process.create_runtime to show that run_async is called even if process.run is not called.
Expected behavior PyAsyncProcessModel should not start running until a run mgmt command is sent / until process.run is called.