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 17873f55864 Fix task-sdk-integration-tests not running when only test
files change (#58715)
17873f55864 is described below
commit 17873f558641346390ffd59eed68381fd3470db5
Author: Amogh Desai <[email protected]>
AuthorDate: Wed Nov 26 16:03:37 2025 +0530
Fix task-sdk-integration-tests not running when only test files change
(#58715)
* Fix task-sdk-integration-tests not running when only test files change
* Fix task-sdk-integration-tests not running when only test files change
* Fix task-sdk-integration-tests not running when only test files change
* Fix task-sdk-integration-tests not running when only test files change
---
dev/breeze/src/airflow_breeze/utils/selective_checks.py | 1 +
dev/breeze/tests/test_selective_checks.py | 2 +-
.../tests/task_sdk_tests/test_task_sdk_health.py | 4 +---
3 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/dev/breeze/src/airflow_breeze/utils/selective_checks.py
b/dev/breeze/src/airflow_breeze/utils/selective_checks.py
index 5efa6953992..976726b7e19 100644
--- a/dev/breeze/src/airflow_breeze/utils/selective_checks.py
+++ b/dev/breeze/src/airflow_breeze/utils/selective_checks.py
@@ -945,6 +945,7 @@ class SelectiveChecks:
self.run_unit_tests
or self.docs_build
or self.run_kubernetes_tests
+ or self.run_task_sdk_integration_tests
or self.run_helm_tests
or self.run_ui_tests
or self.pyproject_toml_changed
diff --git a/dev/breeze/tests/test_selective_checks.py
b/dev/breeze/tests/test_selective_checks.py
index 6fb161dc000..2a99b4d1e3d 100644
--- a/dev/breeze/tests/test_selective_checks.py
+++ b/dev/breeze/tests/test_selective_checks.py
@@ -630,7 +630,7 @@ def assert_outputs_are_printed(expected_outputs: dict[str,
str], stderr: str):
"all-python-versions-list-as-string":
DEFAULT_PYTHON_MAJOR_MINOR_VERSION,
"python-versions":
f"['{DEFAULT_PYTHON_MAJOR_MINOR_VERSION}']",
"python-versions-list-as-string":
DEFAULT_PYTHON_MAJOR_MINOR_VERSION,
- "ci-image-build": "false",
+ "ci-image-build": "true",
"prod-image-build": "true",
"run-api-tests": "false",
"run-helm-tests": "false",
diff --git
a/task-sdk-integration-tests/tests/task_sdk_tests/test_task_sdk_health.py
b/task-sdk-integration-tests/tests/task_sdk_tests/test_task_sdk_health.py
index 3909ad607dd..77882b7a845 100644
--- a/task-sdk-integration-tests/tests/task_sdk_tests/test_task_sdk_health.py
+++ b/task-sdk-integration-tests/tests/task_sdk_tests/test_task_sdk_health.py
@@ -21,10 +21,8 @@ from task_sdk_tests import console
def test_task_sdk_health(sdk_client, task_sdk_api_version):
"""Test Task SDK health check using session setup."""
- client = sdk_client
-
console.print("[yellow]Making health check request...")
- response = client.get("health/ping", headers={"Airflow-API-Version":
task_sdk_api_version})
+ response = sdk_client.get("health/ping")
console.print(" Health Check Response ".center(72, "="))
console.print(f"[bright_blue]Status Code:[/] {response.status_code}")