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

Support user metadata on activities and child/scheduled workflows #1719

Merged
merged 3 commits into from
Nov 21, 2024

Conversation

Quinn-With-Two-Ns
Copy link
Contributor

Support user metadata on activities and child/scheduled workflows

closes #1673

@Quinn-With-Two-Ns Quinn-With-Two-Ns requested a review from a team as a code owner November 21, 2024 15:55
Copy link
Member

@cretz cretz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, but may have to wait for a 1.26 server release for temporalio/temporal#6412. Not sure why activity metadata test is failing though.

@Quinn-With-Two-Ns
Copy link
Contributor Author

@cretz temporalio/temporal#6412 is already in 1.25, the unit tests ere failing because I forgot to update them

@@ -727,6 +731,7 @@ func (d *childWorkflowCommandStateMachine) getCommand() *commandpb.Command {
command := createNewCommand(enumspb.COMMAND_TYPE_START_CHILD_WORKFLOW_EXECUTION)
command.Attributes = &commandpb.Command_StartChildWorkflowExecutionCommandAttributes{StartChildWorkflowExecutionCommandAttributes: d.attributes}
command.UserMetadata = d.startMetadata
fmt.Println("command.UserMetadata", command.UserMetadata)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

want to remove before merging?


options.StaticDetails = workflowOptionsFromCtx.StaticDetails
options.StaticSummary = workflowOptionsFromCtx.StaticSummary
fmt.Println("$$$$$ options", options)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this one too?

@Quinn-With-Two-Ns Quinn-With-Two-Ns merged commit 643c803 into temporalio:master Nov 21, 2024
13 checks passed
ReyOrtiz pushed a commit to ReyOrtiz/temporal-sdk-go that referenced this pull request Dec 5, 2024
…mporalio#1719)

Support user metadata on activities and child/scheduled workflows
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

Successfully merging this pull request may close these issues.

Support user metadata on activities and child/scheduled workflows
3 participants