Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewDynamicDagOrchestratorV2 ¶
func NewDynamicDagOrchestratorV2( repo interfaces.AnalysisRepository, workflowRepo interfaces.WorkflowRepository, workflowService interfaces.WorkflowService, containerRepo interfaces.ContainerRepository, dispatcher *dagruntime.NodeDispatcher, fingerprinter dagruntime.NodeArtifactFingerprinter, registry *dagruntime.RunningRegistry, router *dagruntime.EventRouter, bus event.Bus, ) interfaces.DagOrchestrator
NewDynamicDagOrchestratorV2 wires a standalone dynamic scheduler entrypoint. It is intentionally separate from the legacy orchestrator to keep rollout safe.
registry and router are process-wide singletons owned by the DI container: the router is subscribed to the bus exactly once there (event.Bus has no Unsubscribe, so a per-orchestrator subscription would leak a subscriber), and the shared registry keeps duplicate-run and stop lookups consistent across schedulers.
fingerprinter is the only artifact-producing dependency of the scheduler and is used solely to probe cache candidates (see NodeArtifactFingerprinter).
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.