temporal
temporal copied to clipboard
Cannot load archived (s3 provider) workflow history on UI
From my basic research (with no real context into the code) it seems like DescribeWorkflowExecution in frontend workflow_handler does not take into account that a workflow can be archived. In which case it needs to do special logic.
GetWorkflowExecutionHistory on the other hand, handles archived workflows perfectly.
This results in the UI not being able to show workflow run page because describe request fails with 404.
Expected Behavior
Be able to open a workflow run from Archived page and get the detailed history for history archival.
Actual Behavior
404 on openning the page.
Steps to Reproduce the Problem
- Create a namespace with short retention and archival s3 enabled
- run a workflow and let archival happen
- let retention time pass
- try to open workflow from Archived UI page
Specifications
- Version:
- Server: 1.23.1
- UI: 2.27.0
- Postgres: 14
- Archival: s3
- Platform:
Looks like this is a duplicate of the following: https://github.com/temporalio/ui/issues/1174 https://github.com/temporalio/ui/issues/1702
and an attempt to fix https://github.com/temporalio/temporal/pull/5117
I'll just add that I think this issue is related to the web-ui. This used to work in web ui v1. It also works from the cli
ya. its broken in web-ui, used to work with old ui. @mfateev can some one prioritize this, this is long pending issue.