Skip to content

Remove unused num_times_parse_dags attribute from SchedulerJobRunner#48419

Merged
shahar1 merged 2 commits intoapache:mainfrom
shahar1:remove-num-times-parse-dags
Mar 29, 2025
Merged

Remove unused num_times_parse_dags attribute from SchedulerJobRunner#48419
shahar1 merged 2 commits intoapache:mainfrom
shahar1:remove-num-times-parse-dags

Conversation

@shahar1
Copy link
Contributor

@shahar1 shahar1 commented Mar 26, 2025


^ Add meaningful description above
Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in a newsfragment file, named {pr_number}.significant.rst or {issue_number}.significant.rst, in airflow-core/newsfragments.

@shahar1 shahar1 requested review from XD-DENG and ashb as code owners March 26, 2025 21:04
@boring-cyborg boring-cyborg bot added the area:Scheduler including HA (high availability) scheduler label Mar 26, 2025
@shahar1 shahar1 requested review from Copilot and removed request for XD-DENG and ashb March 26, 2025 21:05
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR removes the unused num_times_parse_dags attribute from the SchedulerJobRunner, simplifying the scheduling loop configuration.

  • Removed the num_times_parse_dags parameter from the constructor and its documentation.
  • Eliminated the associated assignment and log message in the _execute method.

@shahar1 shahar1 requested a review from ashb March 26, 2025 21:05
@shahar1 shahar1 added the airflow3.0:breaking Candidates for Airflow 3.0 that contain breaking changes label Mar 26, 2025
@shahar1 shahar1 force-pushed the remove-num-times-parse-dags branch 2 times, most recently from 19b8dc1 to ac20a4d Compare March 26, 2025 21:28
@shahar1 shahar1 force-pushed the remove-num-times-parse-dags branch from ac20a4d to f73823f Compare March 26, 2025 21:30
@shahar1 shahar1 removed the airflow3.0:breaking Candidates for Airflow 3.0 that contain breaking changes label Mar 27, 2025
@shahar1
Copy link
Contributor Author

shahar1 commented Mar 29, 2025

Merging as the failing check relates to the newsfragment, which is irrelevant.

@shahar1 shahar1 merged commit d664a52 into apache:main Mar 29, 2025
44 of 45 checks passed
shubham-pyc pushed a commit to shubham-pyc/airflow that referenced this pull request Apr 2, 2025
apache#48419)

* Remove unused `num_times_parse_dags` attribute from SchedulerJobRunner

* Delete airflow-core/newsfragments/48419.significant.rst
nailo2c pushed a commit to nailo2c/airflow that referenced this pull request Apr 4, 2025
apache#48419)

* Remove unused `num_times_parse_dags` attribute from SchedulerJobRunner

* Delete airflow-core/newsfragments/48419.significant.rst
simonprydden pushed a commit to simonprydden/airflow that referenced this pull request Apr 8, 2025
apache#48419)

* Remove unused `num_times_parse_dags` attribute from SchedulerJobRunner

* Delete airflow-core/newsfragments/48419.significant.rst
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:Scheduler including HA (high availability) scheduler

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants