Skip to content

Prevent cycles in WorkerRun graph

It should not be possible to add a Worker run as a parent so that it makes a cycle.

The worker run serializer must implement validate_parents so that no new parents makes a cycle.

Have fun : https://en.wikipedia.org/wiki/Cycle_detection