npx skills add ...
npx skills add astronomer/agents --skill troubleshooting-astro-deployments
Troubleshoot Astronomer production deployments with Astro CLI. Use when investigating deployment issues, viewing production logs, analyzing failures, or managing deployment environment variables.
npx skills add astronomer/agents --skill troubleshooting-astro-deployments
This skill helps you diagnose and troubleshoot production Astronomer deployments using the Astro CLI.
For deployment management, see the managing-astro-deployments skill. For local development, see the managing-astro-local-env skill.
Start with these commands to get an overview:
Use -c to control log count (default: 500). Log flags cannot be combined — use one component or level flag per command.
View logs from specific Airflow components:
Filter by severity:
Search for specific keywords:
Look for:
Look for:
Look for:
Look for:
Look for:
Follow the complete investigation workflow above, then narrow to the specific DAG:
Note: Variables are available to DAGs as environment variables. Changes require no redeployment.
deployment inspectFocus on these fields when troubleshooting:
min_worker_count, max_worker_countworker_concurrencyworker_type (resource class)--keyword for targeted searches - More efficient than reading all logsinspect command is your health dashboard - Check it firstinspect output - May reveal configuration issues-c based on needs| Symptom | Command |
|---|---|
| Deployment shows UNHEALTHY | astro deployment inspect <ID> + --error logs |
| DAG not appearing | --error logs for import errors, check --scheduler logs |
| Tasks failing | --workers logs + search for DAG with --keyword |
| Slow scheduling | --scheduler logs + check inspect for scheduler resources |
| UI not responding | --webserver logs |
| Connection issues | Check variables, search logs for connection name |
| Import errors | --error --keyword "ImportError" + --scheduler logs |
| Out of memory | inspect for resources + --workers --keyword "memory" |