Open VMois opened 2 years ago
In addition, r-job-controller
is returning started
JobStatus which is not listed in reana-db
, https://github.com/reanahub/reana-job-controller/issues/337.
Related issue reanahub/reana-workflow-controller/issues/204 which lists adding enums to r-commons as a possible solution.
Currently,
JobStatus
(enumeration of possible job statuses) andRunStatus
(enumeration of possible workflow statuses) reside in reana-db repo. But, the values that represent job and workflow statuses are used by workflow-engines and, as of now, are duplicated in each of them. The engines do not depend onreana-db
so they cannot import those enums.What do you think if we move
JobStatus
andRunStatus
enums fromreana-db
toreana-commons
repo? How will it affect future maintenance of engines,reana-db
andreana-commons
repositories?Originated in this PR