Dependencies between tasks #18
Closed
kirillsalykin
started this conversation in
Ideas
Replies: 1 comment 13 replies
-
I've been working on an extension of the jobs abstraction that has exactly this in mind. If you have time to take a look, I'd love your thoughts about the design in the step functions branch. |
Beta Was this translation helpful? Give feedback.
13 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
hi,
Huge thanks for the
underway
!I've had implemented something similar to the
underway
, but in clojure.We also needed a deps between jobs, for instance - before the email can be sent - pdf document should be generated; maybe this is something useful here as well?
it was pretty straightforward to implement, not complex DAG; based on table like this:
and it also changes how you pull next job - you want to ensure that there are no not completed dependend jobs.
probably it also requires to have something like `enqueue_with_deps(jobs: Vec).
WDYT?
Beta Was this translation helpful? Give feedback.
All reactions