generated from coulomb/repo-seed
feat(worker): scaffold activities, workflows, worker entrypoint — T13
src/activity_core/activities.py:
- load_activity_definition, resolve_context, log_run — @activity.defn
stubs (raise NotImplementedError, bodies in T14–T17)
src/activity_core/workflows.py:
- RunActivityWorkflow (orchestrator-tq) — @workflow.defn stub (T18)
- TaskExecutorWorkflow (task-execution-tq) — @workflow.defn stub (T19)
src/activity_core/worker.py:
- Connects to Temporal via TEMPORAL_HOST / TEMPORAL_NAMESPACE env vars
- Spawns two Workers: orchestrator-tq and task-execution-tq
- Runs until cancelled (python -m activity_core.worker)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -56,7 +56,7 @@ tasks:
|
||||
state_hub_task_id: f24662ff-4a26-48bd-b997-57e7586c7f11
|
||||
- id: T13
|
||||
title: Scaffold Python worker project
|
||||
status: todo
|
||||
status: done
|
||||
state_hub_task_id: e0205c56-1d40-4142-952b-e27ff6a44e1d
|
||||
- id: T14
|
||||
title: Implement load_activity_definition activity
|
||||
|
||||
Reference in New Issue
Block a user