This is an automated email from the ASF dual-hosted git repository.
dabla 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 11e0bf3daeb Fix Databricks Genie tests broken by the durable execution
record (#77558)
11e0bf3daeb is described below
commit 11e0bf3daeb7ca935474a12ecf0ae0141cc22c68
Author: Aaron Chen <[email protected]>
AuthorDate: Tue Nov 24 12:23:36 2026 -0800
Fix Databricks Genie tests broken by the durable execution record (#77558)
---
providers/databricks/tests/unit/databricks/operators/test_genie.py | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/providers/databricks/tests/unit/databricks/operators/test_genie.py
b/providers/databricks/tests/unit/databricks/operators/test_genie.py
index a159a46f7af..b21607ae92b 100644
--- a/providers/databricks/tests/unit/databricks/operators/test_genie.py
+++ b/providers/databricks/tests/unit/databricks/operators/test_genie.py
@@ -27,6 +27,7 @@ from airflow.providers.databricks.hooks.genie import
DatabricksGenieHook
from airflow.providers.databricks.operators.genie import
DatabricksGenieOperator
from airflow.providers.databricks.triggers.genie import
DatabricksGenieMessageTrigger
+from tests_common.test_utils.task_state import RESERVED_KEY_PREFIX
from tests_common.test_utils.version_compat import AIRFLOW_V_3_3_PLUS
SPACE_ID = "space/1"
@@ -88,6 +89,9 @@ class FakeStore:
return self.data.get(key, default)
def set(self, key, value, *, retention=None):
+ # Airflow 3.5+ also writes the logs banner record; only the operator's
own keys are under test.
+ if key.startswith(RESERVED_KEY_PREFIX):
+ return
self.journal.append(("set", key))
self.data[key] = value