ephraimbuddy commented on code in PR #74794:
URL: https://github.com/apache/airflow/pull/74794#discussion_r4585353254
##########
airflow-core/src/airflow/dag_processing/processor.py:
##########
@@ -257,8 +261,11 @@ def _parse_file(msg: DagFileParseRequest, log:
FilteringBoundLogger) -> DagFileP
)
if msg.callback_requests:
+ targets_loaded = any(_is_callback_target_loaded(bag, request) for
request in msg.callback_requests)
Review Comment:
You’re right—`DagCallbacksStarted` already changes the schema, so my earlier
explanation was inaccurate. That message only records that a batch is starting;
it doesn’t report which callbacks ran. Selective retries would require
per-callback outcomes so we can retry missing targets without repeating
completed callbacks. The current implementation still acknowledges the whole
batch when any target loaded, so that limitation remains.
--
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]