alexkreidler / wiz

An ML platform + package manager.
https://wiz-project.ml/
Apache License 2.0
4 stars 1 forks source link

Minor updates to the Manager #18

Closed alexkreidler closed 4 years ago

alexkreidler commented 4 years ago
  1. Add a -kor -kill option to all manager commands that kill and restart the manager if is running
  2. Track the PID of the manager process in wix/default.yaml and check in maybeStartManager
  3. Move the generated pipeline into the Manager's State pipelines map so it gets serialized. Don't serialize Graph
  4. Extract UUID generation to the utils package so we can replace and slot with any set of ID libraries or even abstract the GenID function to later call a ID service (probably in the Manager API) so it has sole ID generation responsibilities. However, the design of our current UID is fine for distributed use. Also, we could mock the GenID function during testing to make tests more understandable with basic IDs like procID-1 etc.