Skip to content
New issue

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

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

Already on GitHub? # to your account

reduce the number of issues this action queries #1085

Open
devoncarew opened this issue Aug 30, 2023 · 3 comments · May be fixed by #1084
Open

reduce the number of issues this action queries #1085

devoncarew opened this issue Aug 30, 2023 · 3 comments · May be fixed by #1084
Labels
feature request New feature or request to improve the current logic

Comments

@devoncarew
Copy link

This action currently queries all open issues when looking for stale issues:

https://github.com/actions/stale/blob/main/src/classes/issues-processor.ts#L564

This exhausts the number of github operations for larger repos (we currently have ~7k open issues). I believe this could be made more efficient by qualifying the query (this.client.rest.issues.listForRepo(...)) with the 'stale' label.

@devoncarew devoncarew added feature request New feature or request to improve the current logic needs triage labels Aug 30, 2023
@devoncarew
Copy link
Author

devoncarew commented Aug 30, 2023

This will likely be fixed by #1084.

@marko-zivic-93
Copy link
Contributor

Hello @devoncarew
Thank you for bringing this up. We will take a look and come back to you as soon as we have some news 😃

@dsame dsame linked a pull request Sep 1, 2023 that will close this issue
2 tasks
@mraleph
Copy link

mraleph commented Oct 24, 2023

Any news @dsame? Would be nice to land #1084 if possible.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
feature request New feature or request to improve the current logic
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants