Make system.enableCancelActivityWorkerCommand namespace-scoped (#10632)

## What
Changes `system.enableCancelActivityWorkerCommand` from a global dynamic
config setting to a namespace-scoped setting.

## Why
To control rollout per namespace.

## How did you test it?
Updated unit tests.

---------

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Kannan
2026-06-09 17:11:05 -07:00
committed by GitHub
parent 6c158b3df0
commit 1500725c71
9 changed files with 25 additions and 22 deletions

View File

@@ -372,7 +372,7 @@ type Config struct {
EnableCrossNamespaceCommands dynamicconfig.BoolPropertyFn
EnableActivityEagerExecution dynamicconfig.BoolPropertyFnWithNamespaceFilter
EnableActivityRetryStampIncrement dynamicconfig.BoolPropertyFn
EnableCancelActivityWorkerCommand dynamicconfig.BoolPropertyFn
EnableCancelActivityWorkerCommand dynamicconfig.BoolPropertyFnWithNamespaceFilter
EnableEagerWorkflowStart dynamicconfig.BoolPropertyFnWithNamespaceFilter
NamespaceCacheRefreshInterval dynamicconfig.DurationPropertyFn