qri-io / qri

you're invited to a data party!
https://qri.io
GNU General Public License v3.0
1.11k stars 66 forks source link

fix(lib): hack - deploy path needs to create a `runID` #1929

Closed ramfox closed 3 years ago

ramfox commented 3 years ago

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.

closes #1928 and unblocks qri-io/frontend#258