aaron-y-chen opened a new pull request, #77558:
URL: https://github.com/apache/airflow/pull/77558

   13 `TestDurable` tests in the Databricks Genie operator tests fail on 
`main`. [Failing CI 
job](https://github.com/apache/airflow/actions/runs/45408968864/job/138586428931).
   
   Since #76833, the durable execution mixin also writes the reserved 
`__airflow_durable__` task state store key for the logs banner. #76157 was last 
tested before that change and merged after it. Its tests pin the exact store 
contents and write order, so the extra key breaks them.
   
   The record only feeds the UI. The Genie operator never reads it, and Airflow 
3.3 and 3.4 do not write it. The test's `FakeStore` now ignores reserved 
`__airflow_` keys, using `RESERVED_KEY_PREFIX` from `tests_common`. The tests 
keep checking only the operator's own keys, which works the same on every 
Airflow version. No test assertion changes.
   
   Validation with `uv run` on Python 3.14 and Task SDK 1.5.0:
   
   - `test_genie.py` on `main` without the fix: 13 failed and 62 passed, the 
same failures as CI.
   - With the fix: 75 passed. Ruff format and check passed.
   
   ---
   
   ##### Was generative AI tooling used to co-author this PR?
   
   - [X] Yes — Claude Code (Opus 5.5)
   
   Generated-by: Claude Code (Opus 5.5) following [the 
guidelines](https://github.com/apache/airflow/blob/main/contributing-docs/05_pull_requests.rst#gen-ai-assisted-contributions)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to