Skip to main content

Apache Airflow – Per-Executor Health Reporting

Open Source Contributor

Merged open source contribution to Apache Airflow through the MLH Open Source Fellowship, adding per-executor health reporting so operators can see when the Celery broker or Kubernetes pod manager an executor depends on has gone unhealthy, not just the scheduler itself.

Enterprise

Context

Airflow already reports Scheduler, Triggerer, and DagProcessor health through /api/v2/monitor/health, but executors have no equivalent. A hung executor currently just looks like 'the scheduler is stuck,' which sends operators chasing the wrong component.

Challenge

Designing a mechanism that adds executor visibility without risking the scheduler's main loop: a slow or hung executor health check can't be allowed to block scheduling itself.

Solution

Reused the existing Jobs table instead of a new data model, adding an ExecutorJob row and ExecutorHealth column. The scheduler polls each executor's get_executor_health() in its own worker thread with a timeout and an in-flight guard, so a hung executor can never stall the scheduler loop. Scoped into two pull requests: scaffolding first (no behavior change for existing executors), then a CeleryExecutor proof of concept.

Technology stack

backend

PythonApache Airflow scheduler internalsJobs table / SQLAlchemy models

Impact & results

Proposal posted to dev@airflow.apache.org as a DISCUSS thread after several rounds of design review with Airflow maintainer Dennis Ferruzzi; maintainer Vincent Beck voiced support

PR #76410 (scaffolding) merged into apache/airflow:main after roughly twelve rounds of review from Dennis Ferruzzi, Vincent Beck, and reviewer o-nikolas

Design scoped to keep PR1 a no-behavior-change scaffold, de-risking review for a first-time contribution to a major Apache project

Technologies

PythonApache Airflow

More projects

Enterprise

Apache Airflow TypeScript SDK: Trial, Feedback and Fix

Open Source Contributor

Tested the new Apache Airflow TypeScript SDK on a real project, reported what was missing, and fixed a bug in it. The feedback led a maintainer to plan local testing for TypeScript Dags.

View project
Blockchain / Web3

Aegis Protocol – AI Agent Accountability Layer

Lead Developer

On-chain accountability layer for AI agents built at ETHGlobal Open Agents (Ghent, May 2026). Any agent can prove what it decided, why it decided it, and face consequences if it was wrong — using 0G Storage, Gensyn AXL mesh, ENS CCIP-read, and KeeperHub automation.

View project

Interested in similar work?

Get in touch to talk through scope and fit.