tink icon indicating copy to clipboard operation
tink copied to clipboard

Remove WorkflowData APIs

Open micahhausler opened this issue 3 years ago • 1 comments

Generated from discussion today in the community meeting, but it sounds like the GetWorkflowData/UpdateWorkflowData APIs are no longer needed.

I'm happy to submit a PR removing out these APIs. Is there any consideration to be made about gracefully keeping them? The worker currently calls these APIs, and so workers/worker images would need to be updated before switching over.

CC @nshalman @mmlb @jacobweinstock

micahhausler avatar Mar 15 '22 19:03 micahhausler

Its not that they aren't needed any more, its more like they aren't exercised and have rotted a bit. The use case is multi-machine workflows and needing to shuffle data/state between them. There isn't really a use for them within a single machine workflow as data can be persisted in a bind mounted dir in tmpfs somewhere.

If they're getting in the way of something then I think its fine to drop, but what I think I'd really love to see is an example multi-machine workflow that would require it. PBnJ is the most obvious use of multi-machine workflows but that is hard to make use of in both the vagrant and tf sandbox examples.

mmlb avatar Apr 05 '22 20:04 mmlb

close by https://github.com/tinkerbell/tink/issues/597

jacobweinstock avatar Dec 23 '22 20:12 jacobweinstock