Skip to content

Commit 9fa72ac

Browse files
authored
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.
1 parent 97f9daa commit 9fa72ac

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

  • shared/configuration/src/airflow_shared/configuration

shared/configuration/src/airflow_shared/configuration/parser.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -257,6 +257,7 @@ class AirflowConfigParser(ConfigParser):
257257
("scheduler", "ti_metrics_interval"): ("scheduler", "running_metrics_interval", "3.2.0"),
258258
("api", "fallback_page_limit"): ("api", "page_size", "3.2.0"),
259259
("workers", "missing_dag_retries"): ("workers", "missing_dag_retires", "3.1.8"),
260+
("core", "execution_api_server_url"): ("workers", "execution_api_server_url", "3.0"),
260261
}
261262

262263
# A mapping of new section -> (old section, since_version).

0 commit comments

Comments
 (0)