Until we can save a dataset without a body or structure, the Deploy
path is going to handle the "running" of any transforms. In order for
the frontend to coordinate events, it needs to know this runID. If we
detect that we will be "apply"ing a transform during a "save" in a
"deploy", we must create a runID early & pass it to the frontend
through the deploy events ASAP. When we can save a dataset without a
structure or a body, then these pieces can be removed.
Until we can save a dataset without a body or structure, the
Deploy
path is going to handle the "running" of any transforms. In order for the frontend to coordinate events, it needs to know thisrunID
. If we detect that we will be "apply"ing a transform during a "save" in a "deploy", we must create arunID
early & pass it to the frontend through the deploy events ASAP. When we can save a dataset without a structure or a body, then these pieces can be removed.closes #1928 and unblocks qri-io/frontend#258