-
Notifications
You must be signed in to change notification settings - Fork 894
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
initial prototype: update metadata #7206
Conversation
@@ -7,7 +7,7 @@ retract ( | |||
v1.26.0 // Published accidentally. | |||
) | |||
|
|||
replace go.temporal.io/api => go.temporal.io/api v1.43.2-0.20250130194036-6d83c927eaed | |||
replace go.temporal.io/api => go.temporal.io/api v1.43.2-0.20250131172531-3415eb526334 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
pointing to my feature branch on api-go: will change once my API PR gets in
request := &historyservice.UpdateActivityOptionsRequest{ | ||
UpdateRequest: &workflowservice.UpdateActivityOptionsByIdRequest{ | ||
ActivityOptions: &activitypb.ActivityOptions{ | ||
TaskQueue: &taskqueuepb.TaskQueue{Name: "task_queue_name"}, | ||
}, | ||
UpdateMask: &fieldmaskpb.FieldMask{ | ||
Paths: []string{ | ||
"TaskQueue.Name", | ||
}, | ||
}, | ||
}, | ||
} | ||
|
||
s.mockMutableState.EXPECT().IsWorkflowExecutionRunning().Return(true) | ||
s.mockMutableState.EXPECT().GetActivityByActivityID(gomock.Any()).Return(nil, false) | ||
_, err := updateActivityOptions(s.validator, s.mockMutableState, request) | ||
s.Error(err) | ||
s.ErrorAs(err, &consts.ErrActivityNotFound) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
removed unrelated tests for now since they require a merge from main - for now, ignoring this and shall fix it when we merge this branch into main
cc - @carlydf
this is merged in versioning-3.1-merge branch 4f38677 |
What changed?
Why?
How did you test it?
Potential risks
Documentation
Is hotfix candidate?