Local execution and debugging toolkit for Apache Airflow DAGs that runs entirely in a single Python
The problem it solvesThe standard Airflow development loop is slow: write code → deploy → wait for the scheduler → dig through logs. airflow-local-debug closes that loop: run your DAG locally with one...

The problem it solves
The standard Airflow development loop is slow: write code → deploy → wait for the scheduler → dig through logs. airflow-local-debug closes that loop: run your DAG locally with one command or function call and see the result immediately.
Deterministic local execution — drives dag.test() / dag.run() directly, bypassing the scheduler
Fail-fast mode — custom scheduling loop that zeroes out retries and stops on the first failed task
Partial runs — --task, --start-task, --task-group to execute a subgraph instead of the full DAG
Task mocks — replaces execute() on selected operators via a JSON/YAML rules file, matched by task_id, glob, or operator class
Watch mode — monitors files for changes and re-runs automatically, resuming from the last failed task
XCom collection — dumps all XCom values after a run to JSON
DAG graph — renders ASCII and SVG graphs before execution
Run reports — writes report.md, result.json, tasks.csv, junit.xml to a configurable output directory
Plugin API — before_task / after_task / on_task_error hooks for custom instrumentation
pytest integration — airflow_local_runner fixture for DAG-level tests
Airflow 2 & 3 support — three execution backends with automatic version detection
Actively maintained. Confirmed 1 month ago.
You must be logged in to comment
Sign in to commentNo comments yet
Be the first to share your thoughts!