Skip to content

feature: add execution framework module with LocalExecutor and CeleryExecutor - #2

Draft
MarcusHsieh wants to merge 4 commits into
develop-2.0from
MarcusHsieh/feature/execution-framework
Draft

feature: add execution framework module with LocalExecutor and CeleryExecutor#2
MarcusHsieh wants to merge 4 commits into
develop-2.0from
MarcusHsieh/feature/execution-framework

Conversation

@MarcusHsieh

Copy link
Copy Markdown
Owner
  • LocalExecutor: Process pool-based local execution with sample expansion
  • CeleryExecutor: Distributed execution using pure chain/group patterns (no chords)
  • SampleExpander: Sample workspace isolation with hierarchical directory structure
  • WorkflowManager: High-level orchestrator that coordinates execution

Execution Module (merlin/execution/):
- base.py: TaskExecutor abstract base class
- models.py: ExecutionContext, TaskResult, TaskStatus
- sample_expander.py: SampleExpander for sample workspace isolation
- local.py: LocalExecutor using ProcessPoolExecutor
- celery.py: CeleryExecutor with chain/group pattern
- workflow_manager.py: WorkflowManager orchestrator

DAG Module (merlin/dag/):
- dag.py: ExecutionDAG with group_tasks() for execution planning
- models.py: ExecutionPlan, ExecutionLevel, TaskChain dataclasses
@MarcusHsieh MarcusHsieh self-assigned this Jan 20, 2026
@MarcusHsieh MarcusHsieh added the enhancement New feature or request label Jan 20, 2026
@MarcusHsieh
MarcusHsieh marked this pull request as draft January 20, 2026 20:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant