Skip to content

verify I/O before running #37

Description

@Sha-yol

The pipeline takes a long time to run. If I misconfigured the save path, it will take a long time to run, and then crash without saving.
I suggest verifying all I/O endpoints before running, and exiting immediately if any of them fail, with a helpful error message.
Things to check:

  1. redmetrics url
  2. save path
  3. nas connection
  4. any intermediate paths used for saving temp files
  5. Anything else I don't know about

Bonus points: instead of doing this, wrap writing with logic to safe-save to a known available location (preferably OS-independent - home directory?). If fails to save to the specified path, save to the backup location and print helpful warning message.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions