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 8 months ago • 2 comments

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