code: def test_dynamic_workflow_logs(workflow_start_regular):
      script = """
  import ray
  from ray import workflow
  
  ray.init(address='auto')
  
  @ray.remote(**workflow.options(task_id="f3"))
  def f3(x):
      return x+1
  
  @ray.remote(**workflow.options(task_id="f4"))
  def f4(x):
      return f3.bind(x*2)
  
  workflow.run(f4.bind(10), workflow_id="wid2")
      """
      proc = run_string_as_driver_nonblocking(script)
      logs = proc.stdout.read().decode(
          "ascii"
      ) + proc.stderr.read().decode("ascii")
      # on driver
      assert 'Workflow job created. [id="wid2"' in logs
      # # in WorkflowManagementActor's run_or_resume.remote()
      # assert "run_or_resume: wid2" in logs
      # assert "Workflow job [id=wid2] started." in logs
      # in _workflow_task_executor_remote
      assert "Task status [RUNNING]\t[wid2@f3" in logs
      assert "Task status [SUCCESSFUL]\t[wid2@f3" in logs
      assert "Task status [RUNNING]\t[wid2@f4" in logs
      assert "Task status [SUCCESSFUL]\t[wid2@f4" in logs
  
imports: import pytest
  from ray._private.test_utils import run_string_as_driver_nonblocking
label_desc: Use image node_id 3 for calling a global function with example usage: test_dynamic_workflow_logs(workflow_start_regular) without return types