You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Workflow Revision API: Get /workflow/workflow/600f50bb6a7d2472a948cbd0/revision/9 API return duplicated records in .config.nodes[].
To Reproduce
Create a Workflow only have 2 steps (exclude the start and end ones)
Check the flow_workflows_revisions collection. In the collection, 2 items in config.node, and 4 items in dag.tasks(include start and end).
3. Invoke Get /workflow/workflow/{workflow Id}/revision/{revision}. check the API reposne. 4 records in ` .config.nodes`, but first one and third one are duplicated, second and forth one are duplicated.
Expected Behavior
API only return 2 items in .config.nodes
The text was updated successfully, but these errors were encountered:
@tlawrie@amhudson hi Tyson, ambudson, pls take a look at this issue. I checked the backend code, the reason which cause duplicated items is .config.nodes returned in API is constructed by both .config.nodes of DB collection + .dag.task.properties of DB collection. pls help to clarify it is a bug, or worked as design?
Also these endpoints should only be used by the Flow App. For other integrations it should be via the API endpoints. Particularly because we don't version these endpoints, only the API ones, so any changes will just happen.
Describe the bug
Workflow Revision API: Get /workflow/workflow/600f50bb6a7d2472a948cbd0/revision/9 API return duplicated records in .config.nodes[].
To Reproduce
start
andend
ones)flow_workflows_revisions
collection. In the collection, 2 items inconfig.node
, and 4 items indag.tasks
(include start and end).3. Invoke Get /workflow/workflow/{workflow Id}/revision/{revision}. check the API reposne. 4 records in ` .config.nodes`, but first one and third one are duplicated, second and forth one are duplicated.
Expected Behavior
API only return 2 items in
.config.nodes
The text was updated successfully, but these errors were encountered: