(
private context: ExecutionContext,
private dag: DAG,
private edgeManager: EdgeManager,
private nodeOrchestrator: NodeExecutionOrchestrator
)
| 41 | private execLogger: Logger |
| 42 | |
| 43 | constructor( |
| 44 | private context: ExecutionContext, |
| 45 | private dag: DAG, |
| 46 | private edgeManager: EdgeManager, |
| 47 | private nodeOrchestrator: NodeExecutionOrchestrator |
| 48 | ) { |
| 49 | this.allowResumeTriggers = this.context.metadata.resumeFromSnapshot === true |
| 50 | this.execLogger = logger.withMetadata({ |
| 51 | workflowId: this.context.workflowId, |
| 52 | workspaceId: this.context.workspaceId, |
| 53 | executionId: this.context.executionId, |
| 54 | userId: this.context.userId, |
| 55 | requestId: this.context.metadata.requestId, |
| 56 | }) |
| 57 | this.initializeAbortHandler() |
| 58 | this.subscribeToCancellationChannel() |
| 59 | } |
| 60 | |
| 61 | private subscribeToCancellationChannel(): void { |
| 62 | if (!this.context.executionId) return |
nothing calls this directly
no test coverage detected