code: def _zipfile_all_runs_f(root):
      if not root or not root.lower().endswith(".zip"):
          return None
      from . import run_zip_proxy
  
      def f():
          try:
              return run_zip_proxy.all_runs(root)
          except Exception as e:
              if log.getEffectiveLevel() <= logging.DEBUG:
                  log.exception("getting runs for zip file %s", root)
              log.error("cannot read from %s: %s", root, e)
              return []
  
      return f
  
imports: import errno
  import functools
  import logging
  import os
  import shutil
  import tempfile
  from guild import config
  from guild import run
  from guild import util
label_desc: Use image node_id 11 for calling a global function with example usage: _zipfile_all_runs_f(root) and returns: f, None, run_zip_proxy, list