uranusjr commented on code in PR #74789:
URL: https://github.com/apache/airflow/pull/74789#discussion_r4343988045
##########
airflow-core/src/airflow/dag_processing/manager.py:
##########
@@ -1783,11 +1921,16 @@ def _add_files_to_queue(
stats.gauge("dag_processing.file_path_queue_size",
len(self._file_queue))
def max_runs_reached(self):
- """:return: whether all file paths have been processed max_runs
times."""
+ """Return whether all files reached max_runs; failed refreshes are not
parsing attempts."""
Review Comment:
```suggestion
"""
Whether every file has been parsed *max_runs* times.
A file that is still queued, waiting for its bundle source, or being
parsed is not done, even if its stats already show *max_runs*.
Callback-only work is ignored because it does not count as a parse.
"""
```
--
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]