Skip to content
Snippets Groups Projects
Commit 2c200831 authored by Charlotte Hausman's avatar Charlotte Hausman
Browse files

make reacquire system not try to launch monitor processes for missing directories

parent a890aee7
No related branches found
Tags 2.5.0-rc2
4 merge requests!1059Catchup 2.7 with main,!1058Draft: Rebase 2.7 on main,!1004Draft: Deleted all unused files from ingest/ingest/,!1001make reacquire system not try to launch monitor processes for missing directories
Pipeline #6023 passed
Pipeline: workspaces

#6025

    Pipeline: workspaces

    #6024

      ......@@ -175,6 +175,8 @@ unit test coverage:
      coverage_report:
      coverage_format: cobertura
      path: coverage.xml
      paths:
      - htmlcov/
      dependencies:
      - unit test workflow
      - unit test capability
      ......
      ......@@ -137,6 +137,7 @@ class MonitorRecover:
      f"Results directory {results_dir} for request #{wf_request.workflow_request_id} "
      f"is not a directory! Skipping."
      )
      # signal not a directory with current location
      return Path(".")
      @staticmethod
      ......@@ -148,7 +149,8 @@ class MonitorRecover:
      :param wf_request: The WorkflowRequest to update
      :return:
      """
      if logfile == Path.cwd():
      # because for some reason these are not the same....
      if logfile == Path.cwd() or logfile == Path("."):
      return
      logger.info("Running wf_monitor.")
      ......
      0% Loading or .
      You are about to add 0 people to the discussion. Proceed with caution.
      Finish editing this message first!
      Please register or to comment