introduce a shared state for all tasks of a graph

6 jobs for !12 with 3-ignore-proces in 43 seconds (queued for 3 seconds)
latest merge request