code: def construct_workflow(length: int):
      results = ["a", "b"]
      for i in range(length):
          x0, x1, x2 = results[-2], results[-1], str(i)
          results.append(scan.bind(x0, x1, x2))
      return results[-1]
  
file_path: ray/python/ray/workflow/tests/test_storage_failure.py
imports: from hashlib import sha1
  import tempfile
  import pytest
  import ray
  from ray import workflow
  from ray.workflow.storage.debug import DebugStorage
  from ray.workflow.workflow_storage import STEP_OUTPUTS_METADATA
  from ray.workflow.common import asyncio_run
  from ray.workflow.storage.filesystem import FilesystemStorageImpl
  from ray.workflow.tests.utils import _alter_storage
label_desc: Use image node_id 6 for calling a global function with example usage: construct_workflow(length) and returns: results