hussein-awala opened a new pull request, #72848:
URL: https://github.com/apache/airflow/pull/72848

   Callback triggers could be claimed by another healthy triggerer because 
their assignment query omitted the live-owner filter used for task and asset 
triggers. Repeated claims could duplicate callback execution and use selection 
capacity needed by waiting triggers.
   
   Apply the same unassigned-or-unhealthy-owner filter to callbacks. Regression 
coverage verifies stable ownership across two healthy triggerers while 
unassigned callbacks and callbacks owned by stale or finished Jobs are claimed, 
for both default and named queues.
   
   Validation:
   
   - Both new regression cases fail before the fix.
   - Trigger model suite: 46 passed on PostgreSQL 14 and 46 passed on MySQL 8 
through Breeze/Python 3.10.
   - Triggerer suite: 112 passed with SQLite through Breeze/Python 3.10.
   - Regular and manual prek checks passed, including Ruff and airflow-core 
mypy.
   
   Selective checks request the full core CI matrix, which was not run locally. 
An initial combined PostgreSQL model/triggerer run exited with code 137 in the 
2 GB Docker environment; the separate suites above completed successfully.
   
   ---
   
   ##### Was generative AI tooling used to co-author this PR?
   
   - [X] Yes — Codex (GPT-6)
   
   Generated-by: Codex (GPT-6) 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