testing-dags
Original:🇺🇸 English
Not Translated
Complex DAG testing workflows with debugging and fixing cycles. Use for multi-step testing requests like "test this dag and fix it if it fails", "test and debug", "run the pipeline and troubleshoot issues".
4installs
Added on
NPX Install
npx skill4agent add necatiarslan/airflow-vscode-extension testing-dagsSKILL.md Content
DAG Testing Skill
Use the Airflow VS Code extension tools to test, debug, and fix DAGs in iterative cycles.
First Action: Trigger the DAG
When the user asks to test a DAG, your first action should be:
- with the provided DAG ID and config
trigger_dag_run
Do not do pre-flight checks unless the user asks for them.
Testing Workflow Overview
- Trigger and monitor
- If success, summarize
- If failed, debug
- Fix and retest
Phase 1: Trigger and Monitor
- Trigger:
trigger_dag_run - Monitor:
- Use to check state
get_dag_runs - If a specific run ID is known, use
get_dag_run_detail
- Use
Response Interpretation
- Success: summarize duration and outcome
- Failed: move to Phase 2
- Running: ask whether to keep polling
Phase 2: Debug Failures
- Use for a full analysis of the latest run
analyse_dag_latest_run - If a specific run ID is known, use
get_dag_run_detail - If task logs are needed, open
go_to_dag_log_view
Phase 3: Fix and Retest
- Apply fixes in the DAG or related systems
- Re-trigger with
trigger_dag_run - Re-check with or
get_dag_runsget_dag_run_detail
Notes
- Prefer for fast triage
analyse_dag_latest_run - Use when comparing across days
get_dag_history