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

Infra: Increase operations-per-run in stale action to 100 #9529

Merged
merged 2 commits into from
Jan 22, 2024

Conversation

manuzhang
Copy link
Contributor

@manuzhang manuzhang commented Jan 20, 2024

With the default value 30 of operations-per-run, actually only 15 issues can be checked daily for staleness.

Starting the stale action process...
Processing the batch of issues  #1  containing  100  issues...
[#41] Issue #41
[#44] Issue #44
[#76] Issue #76
[#81] Issue #81
[#96] Issue #96
[#116] Issue #116
[#118] Issue #118
[#127] Issue #127
[#128] Issue #128
[#168] Issue #168
[#189] Issue #189
[#193] Issue #193
[#257] Issue #257
[#274] Issue #274
[#345] Issue #345
Warning: No more operations left! Exiting...
Warning: If you think that not enough issues were processed you could try to increase the quantity related to the  operations-per-run (​[https://github.com/actions/stale#operations-per-run​)](https://github.com/actions/stale#operations-per-run%E2%80%8B))  option which is currently set to  30
Statistics:
Processed issues: 15
New stale issues: 2
Added issues labels: 2
Added issues comments: 2
Fetched items: 100
Fetched items events: 14
Fetched items comments: 14
Operations performed: 33
Github API rate used: 33
Github API rate remaining: 14966; reset at: Sat Jan 20 2024 01:11:25 GMT+0000 (Coordinated Universal Time)

Given the large amount of backlog and we are still checking issues in 2019, I propose to increase operations-per-run to 100 to accelerate the process.

@github-actions github-actions bot added the INFRA label Jan 20, 2024
@manuzhang manuzhang changed the title Increase operations-per-run to 100 Infra: Increase operations-per-run in stale action to 100 Jan 20, 2024
@manuzhang
Copy link
Contributor Author

@ajantha-bhat @nastra we also need to increase the rate limit to clean up stale issues.

@ajantha-bhat
Copy link
Member

@ajantha-bhat @nastra we also need to increase the rate limit to clean up stale issues.

Yep. This is what I asked in the previous PR.

I don't have an issue with bumping this number to 100. But I am not sure whether someone will have time to comment on the issues to keep it open or not (if too many issues are marked). If no one comments, it will get closed :(

Is it possible to give multiple remainders (once in 4 days until 14 days?) ? Instead of one remainder and closing after 2 weeks?

@nastra nastra merged commit a847921 into apache:main Jan 22, 2024
41 checks passed
geruh pushed a commit to geruh/iceberg that referenced this pull request Jan 26, 2024
adnanhemani pushed a commit to adnanhemani/iceberg that referenced this pull request Jan 30, 2024
@manuzhang manuzhang deleted the patch-3 branch June 4, 2024 11:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants