This is an automated email from the ASF dual-hosted git repository.
potiuk pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/main by this push:
new 9fa72acbaaf Fix missing deprecation for execution_api_server_url
mapping (#63949)
9fa72acbaaf is described below
commit 9fa72acbaafa8d05c5fb6ad62fe09288a7dfe24a
Author: Yashraj Chouhan <[email protected]>
AuthorDate: Sun Apr 5 02:57:39 2026 +0530
Fix missing deprecation for execution_api_server_url mapping (#63949)
When execution_api_server_url was moved from [workers] to [core], the
transition lacked a backward-compatibility deprecation mapping in parser.py.
As a result, Airflow 3 SDK ignores user configurations still placed under
[workers], falling back to an often unresolvable Default URL derived from
api.base_url. This caused Task SDK pods to crash on startup with an
httpcore.ConnectError and prevented the task's hostname from being properly
reported, resulting in Invalid URL log fetch errors in the UI.
This commit adds execution_api_server_url to deprecated_options to restore
proper fallback behavior.
---
shared/configuration/src/airflow_shared/configuration/parser.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/shared/configuration/src/airflow_shared/configuration/parser.py
b/shared/configuration/src/airflow_shared/configuration/parser.py
index 9826afdc40f..1ec7664a509 100644
--- a/shared/configuration/src/airflow_shared/configuration/parser.py
+++ b/shared/configuration/src/airflow_shared/configuration/parser.py
@@ -257,6 +257,7 @@ class AirflowConfigParser(ConfigParser):
("scheduler", "ti_metrics_interval"): ("scheduler",
"running_metrics_interval", "3.2.0"),
("api", "fallback_page_limit"): ("api", "page_size", "3.2.0"),
("workers", "missing_dag_retries"): ("workers", "missing_dag_retires",
"3.1.8"),
+ ("core", "execution_api_server_url"): ("workers",
"execution_api_server_url", "3.0"),
}
# A mapping of new section -> (old section, since_version).