Skip to content

Testing server continue-as-new doesn't carry search attributes #2655

@jasonmchan

Description

@jasonmchan

Expected Behavior

When using ContinueAsNew with the testing server, the requested Search Attributes should be propagated into the new workflow execution.

This is what the production Temporal server does.

Actual Behavior

The search attributes in the command are dropped. See here for where the start request is constructed—the search attributes are not extracted from the ContinueAsNewWorkflowExecutionCommandAttributes.

Steps to Reproduce the Problem

  1. Start a testing server
  2. Run a workflow that uses continue-as-new with search attributes

Specifications

  • Version: v1.31.0
  • Platform: all

Metadata

Metadata

Assignees

No one assigned

    Labels

    test serverRelated to the test server

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions