temporalio / temporalio/temporal

Cannot load Archived Workflows on UI even archived are present in S3

Open
#7,894 2 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

potential-bug
Dominant language
Go
Stars
23.2k
Forks
1.9k
Avg merge
2d 8h
Merged PRs (30d)
228

Description

Problem Statement

We have archived 10K plus workflows then not able see archived worflows

Expected Behavior

When we check archived workflows on UI, it should show all workflows from S3

Actual Behavior

No workflows are retrieved from S3 and it says "No Workflows running in this Namespace". When I inspect the call, observed below API throwing 504.

https://workflow-temporal-ui-stratus.api.itg-thor-ue1.hpip-internal.com/api/v1/namespaces//archived-workflows?query=

Steps to Reproduce the Problem

  1. archived 10K plus workflows
  2. check archived workflows from UI

Specifications

Temporal Server Version | 1.27.2
Temporal UI Version | 2.37.1

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the archived-workflows API request with more than 10K archived workflows and inspect why the endpoint returns 504. Trace the request from the archived-workflows UI view through the API and S3 retrieval path; done means the UI loads and displays the archived workflows without the 504.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
backend-api-design, distributed-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.