qri-io / qri

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

bug(lib): deploy need to create its own `runID` early so frontend can coordinate #1928

Closed ramfox closed 2 years ago

ramfox commented 2 years ago

layed out this in comment https://github.com/qri-io/frontend/issues/258#issuecomment-928196331

But basically, until we can save without needing a body/structure, during a "Deploy" we have to "run" transforms as part of the "save" path, rather than separately as part of an optional "run".

However, frontend needs to have the RunID ASAP in order to coordinate events.

For now, as soon as we know that a dataset is going to have to save & apply a transform as part of the Deploy, we need to generate a runID and pass it to the frontend through the ETAutomationDeployStart event.