Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TestWorkflowEnvironment issue with setting search attributes in ContinueAsNewOptions #2364

Open
tsurdilo opened this issue Jan 9, 2025 · 1 comment

Comments

@tsurdilo
Copy link
Contributor

tsurdilo commented Jan 9, 2025

When using TestWorkflowEnvironment setting search attributes in ContinueAsNewOptions does not set them with the continued exec:

ContinueAsNewOptions.newBuilder()
    .setTypedSearchAttributes(
        SearchAttributes.newBuilder()
            .set(CustomTextAttrib, "someValue")
            .build())
        .build());

same issue for setting typed search attributes as well as the deprecated (setSearchAttributes) too

@cretz
Copy link
Member

cretz commented Jan 9, 2025

(related to #2178 but not the same, but should solve both at the same time)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants