Make DAGs support and run on snapshots

Title says it all
My thought behind this was, and this is jumping the gun, but when we do validation with jobtasks, it needs to be done before it's expanded in the snapshot otherwise creating the snapshot could have an infinite lioop


Sent from my Verizon Wireless 4G LTE smartphone


-------- Original message --------
From: Travis Thieman
Date:06/17/2014 7:38 PM (GMT-05:00)
To: thieman/dagobah
Cc: "Clough, Ryan"
Subject: Re: [dagobah] Make DAGs support and run on snapshots (#101)


In dagobah/core/core.py:

> @@ -384,6 +384,8 @@ def start(self):
>          if not is_valid:
>              raise DagobahError(reason)
>
> +        self.create_snapshot()


At runtime, we need to validate that the snapshot DAG is correct, not the canonical DAG. This needs to go before the validation lines immediately above it, and that validation should take place on the snapshot.

—
Reply to this email directly or view it on GitHub<https://github.com/thieman/dagobah/pull/101/files#r13892875>.