sdk-java icon indicating copy to clipboard operation
sdk-java copied to clipboard

Testing server continue-as-new doesn't carry memo/search attributes

Open jasonmchan opened this issue 4 months ago • 0 comments

Expected Behavior

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

This is what the production Temporal server does.

Actual Behavior

The memo and search attributes in the command are dropped. See here for where the start request is constructed—the memo and 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 / memo

Specifications

  • Version: v1.31.0
  • Platform: all

jasonmchan avatar Sep 08 '25 17:09 jasonmchan