mirror of
https://github.com/hanzoai/tasks.git
synced 2026-10-30 14:56:19 +00:00
## What changed? The PR adds a workflowTaskQueueName parameter to `ValidateAndNormalizeEmbeddedActivity` and uses it as the parentTaskQueue to leverage the existing CheckInternalPerNsTaskQueueAllowed check. This blocks normal workflows from scheduling activities on temporal-sys-per-ns-tq while allowing internal per-ns-tq workflows to do so. ## Why? Activities cannot be scheduled in the internal per-ns-tq unless they are initiated from an internal workflow. ## How did you test it? - [x] built - [x] run locally and tested manually - [x] covered by existing tests - [x] added new unit test(s) - [x] added new functional test(s) ## Potential risks may potentially break features or tests (need to carefully run regression