Open lauralindy opened 1 year ago
Thank you for opening your first issue here! 🛠
Also seeing this, with and without sync_nodes being used. @wild-endeavor any thoughts on root cause? Mine seems to sync for a minute or two until the actual map task starts executing, then fails.
Actually just kidding, it only happens with sync_nodes=True
We're in the process of revamping map tasks, this will involve changes in the backend to actually make map tasks more usable (and more extensible). This feature is scheduled to go out in the Flyte 1.8 release as an experimental feature.
Opting-in to this change will require simply importing map_task
from a different package initially and eventually we're going to deprecate the old version of map_task
. All that to say that it doesn't necessarily make sense to fix the flyteremote behavior in the current incarnation of map_task
and instead we're going to wait for ArrayNode-based map tasks to land before we invest time to fix the bug described in this issue.
So will arrayNode-based map tasks be syncable then?
@ggydush kind of ugly but I was able to get it to work using the Swagger API. Making a call like f"https://{self.endpoint}/api/v1/task_executions/{self.project}/{self.domain}/{run_id}/{node_id}-0-{map_node['id']}?limit=10000"
would return back the information for individual map tasks.
Was digging into how the UI was able to get the map task status and this was how they did it I think.
Describe the bug
Can't seem to use FlyteRemote to sync workflows/tasks with map_task
Expected behavior
expect to be able to see the map_task tasks' info
Additional context to reproduce
where task_identifier and node_exe_identifier is for the map_task
or call
on the workflow level.
Screenshots
No response
Are you sure this issue hasn't been raised already?
Have you read the Code of Conduct?