code: def test_large_file_boundary(shutdown_only, tmp_path, option: str):
      """Check that packages just under the max size work as expected."""
      # To support Windows we do not use 'with tempfile' as that results in a recursion
      # error (See: https://bugs.python.org/issue42796). Instead we use the tmp_path
      # fixture that will clean up the files at a later time.
      with chdir(tmp_path):
          size = GCS_STORAGE_MAX_SIZE - 1024 * 1024
          with open("test_file", "wb") as f:
              f.write(os.urandom(size))
  
          if option == "working_dir":
              ray.init(runtime_env={"working_dir": "."})
          else:
              ray.init(runtime_env={"py_modules": ["."]})
  
          @ray.remote
          class Test:
              def get_size(self):
                  with open("test_file", "rb") as f:
                      return len(f.read())
  
          t = Test.remote()
          assert ray.get(t.get_size.remote()) == size
  
file_path: ray/python/ray/tests/test_runtime_env_working_dir_2.py
imports: import os
  from pathlib import Path
  import sys
  import tempfile
  import pytest
  from ray._private.test_utils import chdir, run_string_as_driver
  import ray
  from ray._private.runtime_env import RAY_WORKER_DEV_EXCLUDES
  from ray._private.runtime_env.packaging import GCS_STORAGE_MAX_SIZE
  from ray.exceptions import RuntimeEnvSetupError
  from ray._private.runtime_env.packaging import get_uri_for_directory, upload_package_if_needed
  from ray._private.utils import get_directory_size_bytes
label_desc: Use image node_id 2 for calling a global function with example usage: test_large_file_boundary(shutdown_only, tmp_path, option) and returns: len