rjgoyln opened a new pull request, #72696: URL: https://github.com/apache/airflow/pull/72696
## Summary The polling loop only exits once the compute profile reaches the status the operation is waiting for. An operation type the trigger does not recognise never leaves it, so the task polls the database until its deferral timeout expires — 20 hours by default. The `Invalid operation` event meant to cover that case sits after the loop, unreachable, as do the two timeout events beside it. Deferral timeouts are the triggerer's job, not this trigger's. - resolve the expected status before polling starts and emit `Invalid operation` there - drop the unreachable post-loop branches Touches the same method as #72695 but different lines; the two merge cleanly in either order. --- ##### 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) 🤖 Generated with [Claude Code](https://claude.com/claude-code) -- 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]
