rjgoyln opened a new pull request, #70938: URL: https://github.com/apache/airflow/pull/70938
`providers/openai/tests/unit/openai/triggers/test_openai.py` references `self.END_TIME`, a class attribute that no longer exists, so `test_openai_batch_yields_single_terminal_event` fails with `AttributeError` on every job that collects the OpenAI provider tests. This is a semantic merge conflict between two PRs that merged three hours apart on 2026-08-01: - #69506 added `test_openai_batch_yields_single_terminal_event`, constructing the trigger with `end_time=self.END_TIME`. - #69534 renamed `END_TIME` to `LEGACY_END_TIME` (adding `TIMEOUT` alongside it), but was branched off a `main` that predated #69506 and so did not see the new call site. Git merged both without textual conflict, and the dangling reference reached `main` unnoticed. The failing case asserts that a terminal batch emits exactly one event — behaviour unrelated to the deprecated wall-clock deadline — so it is moved to `timeout=self.TIMEOUT`, matching every other behavioural case in the file. `LEGACY_END_TIME` would also make it pass, but would route a terminal-status assertion through the deprecated `end_time` branch for no reason. The `end_time` path remains covered by `test_serialization_with_legacy_end_time`. Verified locally against `providers/openai`: 113 passed (was 112 passed, 1 failed). --- ##### Was generative AI tooling used to co-author this PR? - [X] Yes — Claude Code (Opus 5) Generated-by: Claude Code (Opus 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]
