Skip to content

Run the Dag processor through the Execution API - #74796

Open
ephraimbuddy wants to merge 1 commit into
dag-processor-activationfrom
dag-processor-deployment
Open

ephraimbuddy wants to merge 1 commit into
dag-processor-activationfrom
dag-processor-deployment

Conversation

@ephraimbuddy

@ephraimbuddy ephraimbuddy commented Oct 15, 2026 •

Copy link
Copy Markdown
Contributor

From Airflow 3.5, the Dag processor no longer connects to the metadata database. This removes [dag_processor] use_execution_api and database mode: airflow dag-processor needs a token file from airflow dag-processor-token and [core] execution_api_server_url, and checks at startup that its bundles are in the catalog airflow dag-processor-sync-bundles provisions. Helm (with airflowVersion 3.5.0 or later), Docker Compose and airflow standalone provision processor tokens themselves. Each Helm processor pod signs its own short-lived token in a sidecar, so several replicas and rolling updates work, and the pods no longer receive database credentials, the Fernet key or the global env and volume settings. The upgrade steps are in the core and chart significant newsfragments.

Stacked on #74794 (base dag-processor-activation), so Files changed shows only this layer.


Was generative AI tooling used to co-author this PR?
  • Yes — Codex (GPT-6), Claude Code (Opus 5.5)

Generated-by: Codex (GPT-6) and Claude Code (Opus 5.5) following the guidelines

🤖 Generated with Claude Code

@boring-cyborg boring-cyborg Bot added area:docker-tests area:helm-chart Airflow Helm Chart area:production-image Production image improvements and fixes kind:documentation labels Oct 15, 2026
@ephraimbuddy
ephraimbuddy added this pull request to stack #74792 October 15, 2026 10:55
@ephraimbuddy
ephraimbuddy force-pushed the dag-processor-deployment branch from 411b576 to 9e44adb Compare October 16, 2026 15:35
@ephraimbuddy
ephraimbuddy force-pushed the dag-processor-deployment branch from 9e44adb to cda461d Compare October 16, 2026 16:59
@ephraimbuddy
ephraimbuddy force-pushed the dag-processor-deployment branch 2 times, most recently from aaf1566 to 0bb1ce3 Compare October 20, 2026 14:15
@ephraimbuddy
ephraimbuddy force-pushed the dag-processor-deployment branch from 0bb1ce3 to 531b187 Compare October 20, 2026 17:06
@ephraimbuddy
ephraimbuddy force-pushed the dag-processor-deployment branch from 531b187 to 810a292 Compare October 20, 2026 17:24
@ephraimbuddy
ephraimbuddy marked this pull request as ready for review October 20, 2026 17:27
@ephraimbuddy
ephraimbuddy force-pushed the dag-processor-deployment branch 2 times, most recently from dae3669 to 7939cf9 Compare October 29, 2026 16:55
@ephraimbuddy
ephraimbuddy force-pushed the dag-processor-deployment branch from 7939cf9 to 8c93ca1 Compare October 30, 2026 15:40
@ephraimbuddy
ephraimbuddy force-pushed the dag-processor-deployment branch from 8c93ca1 to 0eaf120 Compare November 5, 2026 11:44
@ephraimbuddy
ephraimbuddy force-pushed the dag-processor-deployment branch 2 times, most recently from a48a465 to ddfb76a Compare November 6, 2026 09:07
@ephraimbuddy
ephraimbuddy force-pushed the dag-processor-deployment branch from ddfb76a to 9467a8a Compare November 6, 2026 13:28
@ephraimbuddy
ephraimbuddy force-pushed the dag-processor-deployment branch 2 times, most recently from fdfc01c to d4ac3f7 Compare November 9, 2026 18:30
@ephraimbuddy
ephraimbuddy force-pushed the dag-processor-deployment branch from d4ac3f7 to 91bbfd1 Compare November 11, 2026 08:47
@ephraimbuddy
ephraimbuddy force-pushed the dag-processor-deployment branch from 91bbfd1 to 72daf5e Compare November 16, 2026 15:46
@ephraimbuddy
ephraimbuddy force-pushed the dag-processor-deployment branch from 72daf5e to b53b870 Compare November 17, 2026 18:16
@ephraimbuddy
ephraimbuddy force-pushed the dag-processor-deployment branch from b53b870 to c3f057f Compare November 20, 2026 11:03
Dag processors can run outside the metadata database network, so from
Airflow 3.5 every deployment gives a processor a session credential
instead of database access, and finite runs finish once their work is
complete. A processor exits by design when its registration is retired,
so airflow standalone restarts it, and the chart rejects or lists the
global settings a processor no longer receives.
@ephraimbuddy
ephraimbuddy force-pushed the dag-processor-deployment branch from c3f057f to 9ba7a63 Compare November 29, 2026 15:26
@ephraimbuddy ephraimbuddy changed the title Support isolated Dag processors in Helm and Compose Run the Dag processor through the Execution API Nov 29, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:docker-tests area:helm-chart Airflow Helm Chart area:production-image Production image improvements and fixes kind:documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant