uranusjr commented on code in PR #74789:
URL: https://github.com/apache/airflow/pull/74789#discussion_r4343994855
##########
airflow-core/src/airflow/dag_processing/manager.py:
##########
@@ -1664,7 +1801,7 @@ def prepare_file_queue(self, known_files: dict[str,
set[DagFileInfo]]):
at_run_limit_keys = {
presence_key
for presence_key, stat in file_stats_by_presence_key.items()
- if stat.run_count == self.max_runs
+ if self.max_runs != -1 and stat.run_count >= self.max_runs
Review Comment:
Changing from `==` to `>=` plus the -1 guard looks unrelated. Which change
here made run_count overshoot max_runs? If none did, split it out.
--
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]