Nexus CancelCommand in CHASM (#9288)

Ported command handler for Nexus "cancel" command from HSM to CHASM.

CHASM migration.

- [ ] built
- [ ] run locally and tested manually
- [x] covered by existing tests
- [x] added new unit test(s)
- [ ] added new functional test(s)

---------

Co-authored-by: Roey Berman <roey.berman@gmail.com>
This commit is contained in:
Stephan Behnke
2026-03-11 17:41:38 -07:00
committed by Roey Berman
parent 2c91d997b4
commit 53f08ed47f
16 changed files with 251 additions and 68 deletions

View File

@@ -59,6 +59,7 @@ type Config struct {
HistoryCacheTTL dynamicconfig.DurationPropertyFn
HistoryCacheNonUserContextLockTimeout dynamicconfig.DurationPropertyFn
HistoryCacheBackgroundEvict dynamicconfig.TypedPropertyFn[dynamicconfig.CacheBackgroundEvictSettings]
ChasmEnabled dynamicconfig.BoolPropertyFnWithNamespaceFilter
EnableWorkflowExecutionTimeoutTimer dynamicconfig.BoolPropertyFn
EnableUpdateWorkflowModeIgnoreCurrent dynamicconfig.BoolPropertyFn
EnableTransitionHistory dynamicconfig.BoolPropertyFnWithNamespaceFilter
@@ -474,6 +475,7 @@ func NewConfig(
HistoryCacheTTL: dynamicconfig.HistoryCacheTTL.Get(dc),
HistoryCacheNonUserContextLockTimeout: dynamicconfig.HistoryCacheNonUserContextLockTimeout.Get(dc),
HistoryCacheBackgroundEvict: dynamicconfig.HistoryCacheBackgroundEvict.Get(dc),
ChasmEnabled: dynamicconfig.EnableChasm.Get(dc),
EnableWorkflowExecutionTimeoutTimer: dynamicconfig.EnableWorkflowExecutionTimeoutTimer.Get(dc),
EnableUpdateWorkflowModeIgnoreCurrent: dynamicconfig.EnableUpdateWorkflowModeIgnoreCurrent.Get(dc),
EnableTransitionHistory: dynamicconfig.EnableTransitionHistory.Get(dc),