Skip to content

Feature expand health endpoint reporting#70416

Draft
JH-A-Kim wants to merge 12 commits into
apache:mainfrom
JH-A-Kim:feature-expand-health-endpoint-reporting
Draft

Feature expand health endpoint reporting#70416
JH-A-Kim wants to merge 12 commits into
apache:mainfrom
JH-A-Kim:feature-expand-health-endpoint-reporting

Conversation

@JH-A-Kim

@JH-A-Kim JH-A-Kim commented Jul 24, 2026

Copy link
Copy Markdown
Contributor

Description

These changes act as an implementation for the suggested changes in the design proposal:

Design propsoal

and from the Discussion from the following thread and lazy consensus on the dev list:

DISCUSS
LAZY CONSENSUS

These changes were co authored by @JH-A-Kim and @Tegh25

The changes are the following:

  • extended monitor.py to support instances and detailed status reporting in the JSON output for the health endpoint
  • added helper functions to get information from the metadata database for running components, aggregate statuses from a list of component instances, and a legacy health reporter.
  • extended get_airlfow_health to include lists of components and report their aggregated status.
  • added aggregated status reporting in a three tier model for detailed_status, healthy > degraded > unhealthy. These are all instances are healthy, at least one instance is healthy and at least one is unhealthy, and then unhealthy is where all instances are down.
Was generative AI tooling used to co-author this PR?
  • Yes (please specify the tool below)

Generated-by: [Sonnet 5] following the guidelines


  • Read the Pull Request Guidelines for more information. Note: commit author/co-author name and email in commits become permanently public when merged.
  • For fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
  • When adding dependency, check compliance with the ASF 3rd Party License Policy.
  • For significant user-facing changes create newsfragment: {pr_number}.significant.rst, in airflow-core/newsfragments. You can add this file in a follow-up commit after the PR is created so you know the PR number.

@boring-cyborg boring-cyborg Bot added area:API Airflow's REST/HTTP API area:CLI area:db-migrations PRs with DB migration area:Triggerer labels Jul 24, 2026
@JH-A-Kim
JH-A-Kim force-pushed the feature-expand-health-endpoint-reporting branch 3 times, most recently from f12ee5d to 0566fa4 Compare July 24, 2026 23:54
@JH-A-Kim
JH-A-Kim force-pushed the feature-expand-health-endpoint-reporting branch from 7f5c472 to 89d2c69 Compare July 25, 2026 17:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:API Airflow's REST/HTTP API area:CLI area:db-migrations PRs with DB migration area:Triggerer

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants