code: def test_shortcut(workflow_start_regular):
      @ray.remote
      def recursive_chain(x):
          if x < 100:
              return workflow.continuation(recursive_chain.bind(x + 1))
          else:
              return 100
  
      assert (
          workflow.run(recursive_chain.bind(0), workflow_id="shortcut")
          == 100
      )
  
      from ray._private.client_mode_hook import client_mode_wrap
  
      # the shortcut points to the task with output checkpoint
      @client_mode_wrap
      def check():
          store = workflow_storage.WorkflowStorage("shortcut")
          task_id = store.get_entrypoint_task_id()
          output_task_id = store.inspect_task(task_id).output_task_id
          return store.inspect_task(output_task_id).output_object_valid
  
      assert check()
  
imports: import subprocess
  import tempfile
  import time
  from ray.tests.conftest import *
  import pytest
  from filelock import FileLock
  import ray
  from ray._private.test_utils import run_string_as_driver_nonblocking
  from ray import workflow
  from ray.workflow import workflow_storage
  from ray.workflow.storage.debug import DebugStorage
  from ray.workflow.tests import utils
  from ray.workflow.exceptions import WorkflowNotResumableError
label_desc: Use image node_id 14 for calling a global function with example usage: test_shortcut(workflow_start_regular) and returns: store, workflow, int