vatsrahul1001 opened a new pull request, #76039:
URL: https://github.com/apache/airflow/pull/76039

   Backport of #76002 to `v3-4-test`. Auto-backport failed to apply cleanly, so 
this is a manual backport.
   
   Fixes stale queued asset rows (ADRQ) not being cleared in scheduler 
cleanup/readiness — follow-up to #75943 (unbounded IN lists for queued asset 
events).
   
   **Conflict resolution:** the only conflict was in `scheduler_job_runner.py` 
module constants. #76002 adds `_ADRQ_DELETE_CHUNK_SIZE` next to the 
pre-existing `MAX_TI_REFILL_QUERIES_PER_LOOP`. The latter belongs to a 
task-instance-refill feature that is **not** on `v3-4-test` (0 usages there), 
so it was brought in only as context — I kept `_ADRQ_DELETE_CHUNK_SIZE` (used 
by the batched ADRQ delete) and dropped `MAX_TI_REFILL_QUERIES_PER_LOOP` to 
avoid an unused/dead constant. The rest applied cleanly; no test references the 
dropped constant.
   
   (cherry picked from commit 9e662c23fc02739c13215bf1edddbbe12dc1b97f)
   
   ---
   
   ##### Was generative AI tooling used to co-author this PR?
   
   - [X] Yes — Claude Code (Opus 4.8)
   
   Generated-by: Claude Code (Opus 4.8) 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