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

Use parent task queue (Patch Version 77) #77

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

cludden
Copy link
Owner

@cludden cludden commented Aug 27, 2024

Previously, if a task queue default was configured, it would be used for child workflows and activities, regardless of the parent workflow task queue. Going forward, if this patch version is enabled (default behavior), child workflows and activities will attempt to use the appropriate default based on:

  • whether or not the parent workflow task queue has a default and is using an override
  • the child workflow or activity has the same task queue default
  • a patch.NewContextPropagator is configured

@cludden cludden force-pushed the cludden/enable-parent-task-queue-for-child-workflows branch from e798073 to f92507e Compare August 27, 2024 16:10
docs/docs/configuration/service.mdx Outdated Show resolved Hide resolved
@cludden cludden force-pushed the cludden/enable-parent-task-queue-for-child-workflows branch from e82835b to 1cb5f5c Compare August 29, 2024 03:15
@cludden cludden changed the title Add enable_parent_task_queue_for_child_workflows service option Use parent task queue (Patch Version 77) Aug 29, 2024
@cludden cludden force-pushed the cludden/enable-parent-task-queue-for-child-workflows branch from 1cb5f5c to 005c0f3 Compare August 29, 2024 03:29
@cludden cludden force-pushed the cludden/enable-parent-task-queue-for-child-workflows branch from 005c0f3 to fa6af99 Compare August 29, 2024 03:31
@cludden cludden mentioned this pull request Oct 16, 2024
)

func Key[T any](name string, serializable bool) *key {
return &key{name, serializable, reflect.TypeFor[T]()}
Copy link

Choose a reason for hiding this comment

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

You might need to upgrade to go 1.22 to use reflect.TypeFor:

# github.com/cludden/protoc-gen-go-temporal/pkg/ctxkey
pkg/ctxkey/ctxkey.go:22:42: undefined: reflect.TypeFor

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.

2 participants