Open
Description
Overview
Introduce built-in execution context variables for each DAG execution.
Variables
DAG_SCHEDULER_LOG_PATH
DAG_EXECUTION_LOG_PATH
DAG_REQUEST_ID
Example Usage
handlerOn:
failure:
command: "echo There was an error while doing ${DAG_REQUEST_ID} request"
Requirements
- Extend the DAGContext struct to hold necessary values
- Modify executors to pass required environment variables when running their commands
- Update documents (optional)
Additional Context