temporalio / temporalio/ui

Starting a workflow from an existing with search attributes shows UI error

Open
#2,516 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
TypeScript
Stars
431
Forks
179
Avg merge
2d 9h
Merged PRs (30d)
71

Description

Describe the bug
When starting a workflow from an existing that has one or more search attributes of type Int or Double, an error is show in the UI.
There's a workaround to expand the search attributes by clicking "More options" before starting the workflow.

To Reproduce

  1. Go to a completed workflow with custom search attributes of Int or Double type
  2. Click on dropdown in top right corner
  3. Click on "Start Workflow Like This One"
  4. Click on "Start Workflow"
  5. See error "invalid value for search attribute X of type Int: Y"

If i then click "More options" which shows the search attributes, then i'm able to start the workflow.

Expected behavior
I expect that the workflow will start

Screenshots

Image

Desktop (please complete the following information):

  • OS: OS X
  • Browser: chrome
  • Version: 2.32.0

Additional context
The issue is not present for the Keyword type (haven't tested with other types)
The issue is not present on 0.31.2.

Contributor guide

No contributing guide indexed for this repository

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

Reproduce the issue through the “Start Workflow Like This One” flow using a completed workflow with Int or Double search attributes. Start by inspecting the UI entry point for that flow and compare the behavior before and after expanding “More options”; done means starting the workflow succeeds without an invalid search-attribute error.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.