What problem does it solve?
When a DAG run or task instance fails in Managed Service for Apache Airflow (formerly Cloud Composer), finding the root cause requires digging through scattered logs, task metadata, and remote DAG source code. This Skill provides a deterministic troubleshooting workflow that pinpoints the exact failing task, the verbatim error evidence, and an actionable fix.
Core Features & Use Cases
- Deterministic root cause analysis: Fetches task logs via gcloud logging, task states via gcloud composer, and remote DAG source code from the environment bucket to ground every diagnosis in evidence.
- Known platform issue detection: Matches failures against documented failure modes such as DAG run timeouts, zombie tasks, worker out-of-storage, and BigQuery job failures using targeted Cloud Logging queries.
- Orchestration Pipeline DAG support: Detects DAGs generated by Orchestration Pipelines, retrieves the resolved pipeline YAML, and maps failed tasks back to logical pipeline actions.
- Use Case: A data engineer sees a nightly DAG run marked as failed. The Skill identifies the critical failed task instance, shows the exact BigQuery 404 error from the logs, compares the table ID against the DAG source code, and provides the corrected Python snippet.
Quick Start
Troubleshoot why my DAG run failed in the Managed Airflow environment named my-env in us-central1 and show me the root cause with log evidence.