Refactor DeploymentState creation

1 job for dev in 1 minute and 27 seconds (queued for 3 seconds)