Skip to content

Workflows archived to gcloud are listed twice in the UI #9324

@uromahn

Description

@uromahn

Expected Behavior

Workflows that have been archived to gcloud storage should be listed on the Archive page in the UI only once.

Actual Behavior

When listing archived workflows in gcloud storage, each record is shown twice on the UI.

Steps to Reproduce the Problem

  1. Configure a Google Cloud Storage account and create a bucket.
  2. Configure a local Temporal instance to enable archiving in gcloud storage
  3. Start all dependencies locally and run the temporal server
  4. Start a sample workflow multiple time
  5. The workflows are correctly shown in the UI
  6. Wait several minutes until all closed workflows have been archived in gcloud
  7. Click on the link to show the archive
  8. Each workflow will be listed twice

Specifications

  • Version: all versions - tested in 1.29.3 and also the latest main branch
  • Platform: Mac OSX (not actually relevant)

Investigation of the bug

This is a bug in the visibility_archiver.go file on line 217. A bug fix and additional unit test for this issue has been prepared and a PR will be created soon.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions