Skip to content

Commit 5389994

Browse files
committed
Add TaskListKind Ephemeral
Add support for Ephemeral TaskLists, which will automatically be deleted once no longer in use. This is behavior already supported by Sticky TaskLists, but non-sticky TaskList scenarios such as sessions and integration tests both require generating dynamic TaskLists. We need similar functionality for these TaskLists. Requests to Start/SignalWithStart a workflow specify a TaskList instance (Name + Kind), so no changes are needed for those. Add a TaskList to the response of DescribeTaskList so that the server can expose the TaskListKind of a given TaskList. The request currently includes a TaskList, but the TaskListKind is not considered part of the identity of a TaskList and so the Kind field there is ignored. As a result there isn't a way to determine the Kind of a TaskList beyond inferring it from the name or looking at the database. Add a TaskListKind field to WorkflowExecutionInfo. This allows for DescribeWorkflow to return the TaskListKind the workflow was started with. Currently this is implicitly TaskListKind NORMAL. Update sqlblobs WorkflowExecutionInfo so that we can store it for SQL persistence types.
1 parent 817eef8 commit 5389994

19 files changed

+2972
-2825
lines changed

go/proto/admin/v1/queue.pb.yarpc.go

Lines changed: 224 additions & 221 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

go/proto/admin/v1/service.pb.yarpc.go

Lines changed: 224 additions & 221 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

go/proto/api/v1/decision.pb.yarpc.go

Lines changed: 224 additions & 221 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

go/proto/api/v1/history.pb.yarpc.go

Lines changed: 224 additions & 221 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

go/proto/api/v1/query.pb.yarpc.go

Lines changed: 224 additions & 221 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

go/proto/api/v1/service_visibility.pb.yarpc.go

Lines changed: 224 additions & 221 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

go/proto/api/v1/service_worker.pb.yarpc.go

Lines changed: 224 additions & 221 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

go/proto/api/v1/service_workflow.pb.go

Lines changed: 227 additions & 165 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

go/proto/api/v1/service_workflow.pb.yarpc.go

Lines changed: 379 additions & 375 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

go/proto/api/v1/tasklist.pb.go

Lines changed: 77 additions & 73 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)