-
Notifications
You must be signed in to change notification settings - Fork 37
Closed
Labels
Milestone
Description
Why
When polling workflow state it is often helpful to monitor the progress of a given task over time. Unfortunately there currently is no guarantee that any identifier present in the task_logs or list returned by the /tasks endpoint and you can never be sure that the task you are looking at is the same one from the preview retrieval
Additionally, Since merging: #177 into the spec the goal is to make individual tasks addressable in the future.
Proposal
- We can add a new
task_idattribute within theLogobject. I prefer this approach since it can be an easy transition to presentingTESinformation. If we do not want to return TES objects directly, we could also include a linktes_urlto the task definition if we ever wanted to go that way.. but that is all for future consideration, adding an ID is minor bridge there - We can add verbage stating the
nameof the task should be Unique across all runs. IMO this is the inferior option, since the name often has some sort of meaning to the end user. Requiring this attribute to be unique now may require the engine to obscure the original name