generated from coulomb/repo-seed
Align activity-core scope boundaries
This commit is contained in:
@@ -18,7 +18,7 @@ extension point `af654abb`).
|
||||
| Queue name | Registered workers |
|
||||
|---|---|
|
||||
| `orchestrator-tq` | `RunActivityWorkflow` and all its activities (`load_activity_definition`, `resolve_context`, `log_run`) |
|
||||
| `task-execution-tq` | `TaskExecutorWorkflow` and all concrete task type workflows |
|
||||
| `task-execution-tq` | `TaskExecutorWorkflow` compatibility stub only; real execution belongs in per-repo workers |
|
||||
|
||||
**Rule:** a workflow and its activities must be registered on the same task queue.
|
||||
Cross-queue activity calls require an explicit `task_queue` argument on
|
||||
@@ -60,6 +60,12 @@ A single process may run workers for multiple task queues, but each `Worker`
|
||||
instance is bound to one task queue. Use separate `Worker` instances for
|
||||
`orchestrator-tq` and `task-execution-tq`.
|
||||
|
||||
`TaskExecutorWorkflow` is not a production execution surface for activity-core.
|
||||
It exists only as a compatibility/idempotency stub that writes a synthetic
|
||||
`task_instances` row in older tests and dev flows. Do not add concrete task
|
||||
execution logic here; execution ownership belongs to per-repo workers or a
|
||||
future execution-owned repo/workplan.
|
||||
|
||||
---
|
||||
|
||||
## Search attributes
|
||||
|
||||
Reference in New Issue
Block a user