code: def update_hash_manifest(
      config: Config, system: System
  ) -> ActionReturn:
      try:
          system.cd("scripts")
          system.run(f"python sri.py {config.version}")
          system.cd("..")
          config.add_new(f"src/bokeh/_sri/{config.version}.json")
          return PASSED("Updated SRI hash manifest")
      except RuntimeError as e:
          return FAILED(
              "SRI hash manifest update failed", details=e.args
          )
  
imports: from __future__ import annotations
  import json
  from typing import Any, Callable
  from .action import FAILED, PASSED, ActionReturn
  from .config import Config
  from .system import System
  from .util import skip_for_prerelease
label_desc: Use image node_id 12 for calling a global function with example usage: update_hash_manifest(config, system) and returns: PASSED, FAILED