Skip to content

mark functions related to weight-based scheduling as deprecated#343

Merged
MoralCode merged 1 commit into
mainfrom
ntdn/deprecate_weight_scheduling
May 27, 2026
Merged

mark functions related to weight-based scheduling as deprecated#343
MoralCode merged 1 commit into
mainfrom
ntdn/deprecate_weight_scheduling

Conversation

@MoralCode

Copy link
Copy Markdown
Contributor

Description
The codebase still includes code for a legacy system of scheduling where "weights" for each repo are calculated and stored.

This PR marks these functions as deprecated in preparation for future removal efforts as part of #106

Notes for Reviewers

Signed commits

  • Yes, I signed my commits.

@@ -252,6 +252,7 @@ def core_task_success_util(self, repo_git):
issue_pr_task_update_weight_util([int(raw_count)],repo_git=repo_git,session=session)

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

[pylint] reported by reviewdog 🐶
E1120: No value for argument 'issue_and_pr_nums' in function call (no-value-for-parameter)

@MoralCode MoralCode added the devops Development Operations label May 27, 2026
Signed-off-by: Adrian Edwards <adredwar@redhat.com>
@MoralCode MoralCode force-pushed the ntdn/deprecate_weight_scheduling branch from 402e8c7 to 2adc481 Compare May 27, 2026 15:29
@MoralCode

Copy link
Copy Markdown
Contributor Author

Annotations should not affect regular operation of CollectOSS, and the smoke tests confirm this. Merging!

@MoralCode MoralCode merged commit b4a1289 into main May 27, 2026
16 checks passed
@MoralCode MoralCode deleted the ntdn/deprecate_weight_scheduling branch May 27, 2026 18:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

devops Development Operations

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant