Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No comments count fetching on PTs #2145

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

peregrineshahin
Copy link
Contributor

when fetching comments using the GitHub API, all the comment in between the two commits of master and SF16 are considered, this number might not be actually be interesting info or representitve, and since we fetch it each time with a refresh since we expect the comments count to update at any time, but not for PTs., that leads to wasteful API rate-limit usage.

Example: https://tests.stockfishchess.org/tests/view/668d79ae5034141ae5999e45

when fetching comments using the GitHub API, all the comment in between the two commits of master and SF16 are considered, this number might not be actually be interesting info or representitve, and since we fetch it each time with a refresh since we expect the comments count to update at any time, but not for PTs., that leads to wasteful API rate-limit usage.

Example: https://tests.stockfishchess.org/tests/view/668d79ae5034141ae5999e45
closes official-stockfish#2123
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant