-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
chore: finetune stale action #9194
Comments
If the next night it runs it finds another 5 or 10, then I think we're ok. Once this stale bot reaches a steady state, 30 could be enough per day. Will be good to hear what the maintainer says. |
I have copy/pasted my questions and the maintainers response in full so we're not missing any context: My questions to the maintainerI still don't understand what the The default setting for the
It's not clear to me if the current configuration examples are meant for repos with say 30 open issues, or also for repos with 700+ open issues? Could we maybe add some more to this PR, like:
Maintainers response
Impressions after 2 stale runsThe first run did not have enough operations to finish the job fully:
The second run did finish, and even was nice enough to print out the full result:
Can we get by with current settings?Looking at the results from the second run, it seems that 30 operations is about enough to process 764 issues/PRs. The maintainer said that the CRON frequency should stay at once a day, as that is the more logical setup. I think we're right on the limit of what the current |
@HonkingGoose do we have open issues matching the criteria that the action is currently missing, even on the second run? i.e. is the concern that the current limits are not enough, or that they might soon be not enough? |
The concern is that the current limits are just about enough for what we have right now. It seems that But we should also consider that we might need those GitHub Action CRUD quota for other things as well. |
I think increasing it to 40 is quite fine if that's enough to address it for now |
764 issues/PRs in 30 operations-per-run points: 25,4 issues/PRs per point. So we should be good for about 1000 total open issues/PRs then. 😄 |
🎉 This issue has been resolved in version 24.89.3 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
What would you like Renovate to be able to do?
The stale action ran, but "runs out of steam" before dealing with all issues, as we can see by the "warning" it raises at the end of the log output:
Warning: Reached max number of operations to process. Exiting.
We now have a log that we can look at to see how the action works on our repo.
It seems to go through the repository issues, most recent issues first, and for each issue do multiple things to determine if that issue fits the criteria or not.
Also I noticed in the "Action" tab of the renovate repository that the name of the action is too long to fit on the screen.
We might want to reduce the name length, if this bothers us?
Did you already have any implementation ideas?
I've asked the maintainer of
actions/stale
about what theoperations-per-run
property does exactly so that I know if we should increase that number or not, or if we should increase the CRON frequency, or do something else.I don't want to cause timeouts on our other GitHub Actions by running the stale action in a excessive way, as that might cause problems for our primary process.
Once I know what
operations-per-run
means, I'll make a PR to improve the stale action some more. 😄The text was updated successfully, but these errors were encountered: