Would it be possible to model dependencies between jobs using this? I.e. only run job X if job Y succeeds?
We're building an in house CI system (we have some weird requirements and can't use off the shelf ones) and we'd love to add an entire job graph to this queue and be able to query the state of it.
It is possible, but explicitly through workers. You can have a worker block on the "result" command (it allows for a wait-timeout) and wait for the successfully completion of Job X and enqueue Job Y.
There is no way to define the dependency automatically, the workers can create any type of workflow though, including if Job X fails.
We're building an in house CI system (we have some weird requirements and can't use off the shelf ones) and we'd love to add an entire job graph to this queue and be able to query the state of it.