-
-
Notifications
You must be signed in to change notification settings - Fork 206
Closed
Labels
enhancementNew feature to be implementedNew feature to be implementedgood first issueGood for newcomersGood for newcomers
Description
Overview
Add a timeout field to the DAG configuration to specify the maximum time allowed for a task.
Requirements
When a timeout occurs:
- Mark the entire DAG as errored
- Cancel all steps currently in execution
Implementation
- Modify the DAG configuration schema to include the new timeout field
- Update scheduler logic
Example DAG configuration
timeout: 3600 # Timeout in seconds (1 hour)
steps:
- command: some long work
Testing
- Add unit tests for the timeout functionality
- Create integration tests with DAGs that trigger timeouts
- Ensure proper error handling and logging of timeout events
Metadata
Metadata
Assignees
Labels
enhancementNew feature to be implementedNew feature to be implementedgood first issueGood for newcomersGood for newcomers