Skip to content

Memo-s not present in listOpenWorkflowExecutions when running with temporal-testing #2480

Open
@rpost

Description

@rpost

Expected Behavior

I'm using temporal-testing and when I query running workflows:

        List<WorkflowExecutionInfo> executions = client.getWorkflowServiceStubs()
                .blockingStub()
                .listOpenWorkflowExecutions(
                        ListOpenWorkflowExecutionsRequest.newBuilder()
                                .setNamespace("default")
                                .build()
                )
                .getExecutionsList();

        executions.forEach(execution -> {
            System.err.println(execution.getExecution().getWorkflowId());
            System.err.println(execution.getMemo());
        });

memo is empty despite being filled in workflow.

Actual Behavior

The same piece of code run with setUseExternalService(true) and temporal server start-dev running outputs memo-s as expected.

Steps to Reproduce the Problem

I prepared reproducer project: https://github.com/rpost/temporal-test-memo/blob/main/src/test/java/rpost/MemoTest.java

Specifications

  • Version: io.temporal:temporal-testing:1.28.4

Metadata

Metadata

Assignees

No one assigned

    Labels

    test serverRelated to the test server

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions