ephraimbuddy commented on code in PR #74794:
URL: https://github.com/apache/airflow/pull/74794#discussion_r4604008039


##########
airflow-core/src/airflow/dag_processing/manager.py:
##########
@@ -797,9 +828,47 @@ def claim_priority_files(self) -> list[DagFileInfo]:
 
         Default implementation reads from the metadata DB; override to source 
requests from an API.

Review Comment:
   I made it one behavior. In both modes, a file that's still being processed 
and has a priority request or callbacks goes back to the front of the queue. 
The queue now also refills when it holds only such files, so they don't hold up 
other bundles. With that, `requires_acknowledgment` is gone. The CLI builds the 
manager with its client and work source once, after the daemon or hot-reload 
fork, and `run_with_api` no longer replaces them (fd4583272f).
   



-- 
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