-
Spike
-
Resolution: Done
-
Undefined
-
None
-
None
-
False
-
-
False
-
-
Currently, the frontend plugin presents only workflows that are listed in the data-index service and are reachable from the backend plugin.
This mean that if a workflow was successfully registered to the data-index but inaccessible from RHDH for some reason, it will not be shown in the UI.
Reasons for unavailability of a workflow could be an error in workflow pod, network issue, misconfiguration of the workflow and so on.
In this spike we'd like to revisit the decision not to present unavailable workflows and evaluate as an alternative the option to list all of the workflows as shown in the data-index service, with an indication when a workflow cannot be invoked (e.g disable the option to run a workflow, add an icon/hover message) and provide a meaningful information in the logs.
One of the reasons is to maintain integrity between the data-index to the UI, but since the data-index may be unaware of the workflow status, this will be done by the orchestrator (it is already checked today at rhdh-plugins/workspaces/orchestrator/plugins/orchestrator-backend/src/service/WorkflowCacheService.ts), and also to present past runs for that workflow.
- is related to
-
FLPATH-2053 Add workflow status
-
- Closed
-
- links to