temporal icon indicating copy to clipboard operation
temporal copied to clipboard

Cannot load archived (s3 provider) workflow history on UI

Open gootik opened this issue 1 year ago • 3 comments
trafficstars

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

  1. Create a namespace with short retention and archival s3 enabled
  2. run a workflow and let archival happen
  3. let retention time pass
  4. try to open workflow from Archived UI page

Specifications

  • Version:
    • Server: 1.23.1
    • UI: 2.27.0
    • Postgres: 14
    • Archival: s3
  • Platform:

gootik avatar Jun 25 '24 23:06 gootik

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

gootik avatar Jun 28 '24 19:06 gootik

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

jontro avatar Jul 22 '24 21:07 jontro

ya. its broken in web-ui, used to work with old ui. @mfateev can some one prioritize this, this is long pending issue.

kkcmadhu-IBM avatar May 28 '25 14:05 kkcmadhu-IBM