Hi Ephraim,
It's great to hear that Dag Processor will be able to use db without
direct access. Although I have two questions:
1. You've mentioned that this will be a breaking change in 3.5 -
although there is an option `[dag_processor] use_execution_api` to
set. Looking at that, I'm not sure if this change will be breaking
or not (for sure it should not be breaking for the feature release)
2. I briefly went throw all of the PRs from the stack couple days ago
and I was wondering if this should go via AIP. The last one
regarding Dag Processor isolation was AIP-92, which was never voted.
Was there a different AIP for this change or the consensus in the
past was that such a change do not require AIP?
I also saw that the last PR contains the changes in the Helm Chart. I
will check it in the upcoming days.
On 04/12/2026 18:45, Michał Modras via dev wrote:
This is super exciting, great work Ephraim!
On Fri, Dec 4, 2026 at 4:21 PM Jarek Potiuk<[email protected]> wrote:
This is SOOO cool finally! And later - with the "parsing on executor"
change we might get rid of provider dependencies for DagProcessor as well
:) ..
J,
On Fri, Dec 4, 2026 at 12:56 PM Ephraim Anierobi< [email protected]>
wrote:
Hi all,
A heads-up on a breaking change planned for Airflow 3.5:
https://github.com/apache/airflow/pull/74796
From 3.5, the Dag processor will no longer connect to the metadata
database. Like workers, it will go through the Execution API, with a
token
scoped to its Dag bundles. The opt-in mode merged in
https://github.com/apache/airflow/pull/74794. #74796
<https://github.com/apache/airflow/pull/74796> will make it the only
mode.
The Dag processor runs Dag authors' code, which until now could read the
database credentials and Fernet key it held. Processors will no longer
need
either.
Deployment managers will need to register bundles with airflow
dag-processor-sync-bundles, give each processor a token from airflow
dag-processor-token, and set [core] execution_api_server_url. The Helm
chart, Docker Compose and airflow standalone will handle the tokens
themselves. With the Helm chart, the processor pod will no longer receive
the global env, secrets or volumes. The full upgrade steps are in the
PR's
core and chart significant newsfragments.
If you run custom deployments, large bundles or multi-team setups, please
try the PR and comment there or here.
This builds on Kaxil's earlier implementation in
https://github.com/apache/airflow/pull/67878.
Thanks, Ephraim