I'm working on a plugin to use imagespec to build from dockerfiles. https://github.com/flyteorg/flytekit/pull/1926
When I pyflyte run a workflow once, and then change my dockerfile, and then pyflyte run the same workflow I get the error:
Copy code
RPC Failed, with Status: StatusCode.INVALID_ARGUMENT
details: task with different structure already exists with id resource_type:TASK project:"flytesnacks" domain:"development" name:"example_pyflyte_script.t1" version:"LMxQheYT9myAmWklNHYD6A=="
This seems like a bug, but it also seems like a design decision at the same time, so just wondering if this is intentional or not? -- also wondering what might be a workaround.
I suppose it really depends how coupled you want tasks and images to be