mirror of
https://github.com/hanzoai/tasks.git
synced 2026-10-04 02:04:03 +00:00
## What changed? <!-- Describe what has changed in this PR --> Enable Update Workflow (sync and async) by default. Note that I'm leaving the flag and the code checks for now, in case we need to disable it again. ## Why? <!-- Tell your future self why have you made these changes --> For public preview. ## How did you test it? <!-- How have you verified this change? Tested locally? Added a unit test? Checked in staging env? --> ## Potential risks <!-- Assuming the worst case, what can be broken when deploying this change to production? --> ## Documentation <!-- Have you made sure this change doesn't falsify anything currently stated in `docs/`? If significant new behavior is added, have you described that in `docs/`? --> ## Is hotfix candidate? <!-- Is this PR a hotfix candidate or does it require a notification to be sent to the broader community? (Yes/No) -->
Use development-*.yaml file to override the default dynamic config value (they are specified
when creating the service config).
Each key can have zero or more values and each value can have zero or more constraints. There are only three types of constraint: 1. namespace: string 2. taskQueueName: string 3. taskType: int (1:Workflow, 2:Activity) A value will be selected and returned if all its has exactly the same constraints as the ones specified in query filters (including the number of constraints).
Please use the following format:
testGetBoolPropertyKey:
- value: false
- value: true
constraints:
namespace: "global-samples-namespace"
- value: false
constraints:
namespace: "samples-namespace"
testGetDurationPropertyKey:
- value: "1m"
constraints:
namespace: "samples-namespace"
taskQueueName: "longIdleTimeTaskqueue"
testGetFloat64PropertyKey:
- value: 12.0
constraints:
namespace: "samples-namespace"
testGetMapPropertyKey:
- value:
key1: 1
key2: "value 2"
key3:
- false
- key4: true
key5: 2.0