Files
tasks/common/dynamicconfig/config/testConfig.yaml
Alan WuandGitHub 39597a88de Add chasm task type dynamic config filter and standby task discard delay dynamic config flag (#9506)
## What changed?
Add chasm logical task type dynamic config filter and standby task
discard delay dynamic config flag.

## Why?
Standby tasks have a configurable dynamic config (per task type) that
specifies the timeout for discarding the task and running the
post-discard function. Currently, this is not configurable for CHASM
logical tasks. By default, CHASM tasks need a higher discard timeout
since they are not regenerated from pending tasks in MS, which can lead
to abandoned tasks. For tasks that can be safely dispatched to Matching,
they can be configured with a lower value. (See Standalone activity
tasks).

## How did you test it?
- [X] built
- [X] run locally and tested manually
- [X] covered by existing tests
- [ ] added new unit test(s)
- [ ] added new functional test(s)
2026-03-13 00:57:57 -04:00

116 lines
2.6 KiB
YAML

frontend.namespaceCount:
- value:
NamespaceId: 1
constraints: {}
TestCaseInsensitivePropertykEy:
- value: true
constraints: {}
testGetBoolPropertyKey:
- value: false
constraints: {}
- value: true
constraints:
namespace: global-samples-namespace
- value: true
constraints:
namespace: samples-namespace
testGetDurationPropertyKey:
- value: 1m
constraints: {}
- value: wrong duration string
constraints:
namespace: samples-namespace
taskQueueName: longIdleTimeTaskqueue
- value: 2
constraints:
namespace: samples-namespace
- value: true
constraints:
namespace: broken-namespace
testGetFloat64PropertyKey:
- value: 12
constraints: {}
- value: wrong type
constraints:
namespace: samples-namespace
testGetIntPropertyKey:
- value: 1000
constraints: {}
- value: 1000.1
constraints:
namespace: global-samples-namespace
- value: 1001
constraints:
namespace: global-samples-namespace
taskQueueName: test-tq
taskType: Workflow
- value: 1002
constraints:
namespace: global-samples-namespace
taskQueueName: test-tq
taskType: Activity
- value: 1003
constraints:
namespace: global-samples-namespace
taskQueueName: test-tq
- value: 1004
constraints:
namespace: another-namespace
- value: 1005
constraints:
taskQueueName: other-test-tq
testGetMapPropertyKey:
- value:
key1: "1"
key2: 1
key3:
- false
- key4: true
key5: 2.1
constraints: {}
- value: "1"
constraints:
namespace: random-namespace
testGetTypedPropertyKey:
- value:
number: 23.2 # note field is int
days: "6d"
inner:
key1: 12345 # note field is float
key2: true
testGetStringPropertyKey:
- value: some random string
constraints: {}
- value: constrained-string
constraints:
namespace: random-namespace
testGetDurationPropertyFilteredByTaskTypeKey:
- value: 10s
constraints:
historytasktype: ActivityRetryTimer
- value: 10s
constraints:
historytasktype: 1
testGetDurationPropertyFilteredByChasmTaskTypeKey:
- value: 30s
constraints:
chasmtasktype: "activity.dispatch"
- value: 24h
constraints: {}
testGetIntPropertyFilteredByDestinationKey:
- value: 10
constraints: {}
- value: 20
constraints:
namespace: test-namespace
destination: test-destination-1
- value: 30
constraints:
namespace: test-namespace
- value: 40
constraints:
destination: test-destination-1
- value: 50
constraints:
destination: test-destination-2