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

Set upsert memo capability #3314

Merged
merged 1 commit into from
Sep 7, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ require (
go.opentelemetry.io/otel/metric v0.30.0
go.opentelemetry.io/otel/sdk v1.7.0
go.opentelemetry.io/otel/sdk/metric v0.30.0
go.temporal.io/api v1.11.1-0.20220906182453-3f9531eab1d0
go.temporal.io/api v1.11.1-0.20220907050538-6de5285cf463
go.temporal.io/sdk v1.16.1-0.20220901175455-d1f860c19f89
go.temporal.io/version v0.3.0
go.uber.org/atomic v1.10.0
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -505,8 +505,8 @@ go.opentelemetry.io/proto/otlp v0.16.0/go.mod h1:H7XAot3MsfNsj7EXtrA2q5xSNQ10UqI
go.opentelemetry.io/proto/otlp v0.18.0 h1:W5hyXNComRa23tGpKwG+FRAc4rfF6ZUg1JReK+QHS80=
go.opentelemetry.io/proto/otlp v0.18.0/go.mod h1:H7XAot3MsfNsj7EXtrA2q5xSNQ10UqI405h3+duxN4U=
go.temporal.io/api v1.11.1-0.20220804232755-77e12eef4f2d/go.mod h1:JWI21cif+WGqtgmar+dtxQOfYeGORmZtWUj/6/D0e9k=
go.temporal.io/api v1.11.1-0.20220906182453-3f9531eab1d0 h1:iSLTAuhL60+r035aDbcRFwLj/gdGv+qciecbUAFtanc=
go.temporal.io/api v1.11.1-0.20220906182453-3f9531eab1d0/go.mod h1:yZGA2AVWUri9TUol58DTosjQnQBLEMDnchA4u+v1i6E=
go.temporal.io/api v1.11.1-0.20220907050538-6de5285cf463 h1:ylSAQ8ldG7ZRu/0nuvcHBAvfSEZr/T4I9ZnSWe5xpWQ=
go.temporal.io/api v1.11.1-0.20220907050538-6de5285cf463/go.mod h1:yZGA2AVWUri9TUol58DTosjQnQBLEMDnchA4u+v1i6E=
go.temporal.io/sdk v1.16.1-0.20220901175455-d1f860c19f89 h1:YgBLMeScA/oLIeGOLh9rV26p10KcatcyH46P2MEoI0Q=
go.temporal.io/sdk v1.16.1-0.20220901175455-d1f860c19f89/go.mod h1:XHGK393x654eIHGNf9nXw6DpOJlW4OuvivfLb8n2E34=
go.temporal.io/version v0.3.0 h1:dMrei9l9NyHt8nG6EB8vAwDLLTwx2SvRyucCSumAiig=
Expand Down
1 change: 1 addition & 0 deletions service/frontend/workflow_handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -2844,6 +2844,7 @@ func (wh *WorkflowHandler) GetSystemInfo(ctx context.Context, request *workflows
ActivityFailureIncludeHeartbeat: true,
SupportsSchedules: true,
EncodedFailureAttributes: true,
UpsertMemo: true,
},
}, nil
}
Expand Down
1 change: 1 addition & 0 deletions service/frontend/workflow_handler_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1861,6 +1861,7 @@ func (s *workflowHandlerSuite) TestGetSystemInfo() {
s.True(resp.Capabilities.ActivityFailureIncludeHeartbeat)
s.True(resp.Capabilities.SupportsSchedules)
s.True(resp.Capabilities.EncodedFailureAttributes)
s.True(resp.Capabilities.UpsertMemo)
}

func (s *workflowHandlerSuite) TestStartBatchOperation_Terminate() {
Expand Down