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

Reconfigure stale-bot GitHub action #249

Closed
waldyrious opened this issue May 7, 2023 · 6 comments
Closed

Reconfigure stale-bot GitHub action #249

waldyrious opened this issue May 7, 2023 · 6 comments

Comments

@waldyrious
Copy link
Member

waldyrious commented May 7, 2023

I'm not sure if this is a new behavior introduced with the upgrade of the Stale action from v3 to to v8 (done by @kbdharun in #245), or if it had always been the case since its introduction (done by @owenvoke in #29), but we need to reconfigure the Stale action so that it doesn't close issues simply because they are stale.

The current behavior is especially bad because the stale-adding action is not accompanied by a comment, so even people watching this repo or the specific issues don't get a notification (I don't think I got one).

In fact, maybe it shouldn't even close PRs that are stale, but simply remind people of them.

Affected issues, which have recently been closed by stale bot (and need to be reopened):

@waldyrious
Copy link
Member Author

waldyrious commented May 7, 2023

Note: #26, #37, #54 and #55 were recently marked as stale, but weren't closed yet; I assume it's just a matter of time if we don't change the bot configuration.

Update: ...aaaand, they're gone. Four more to add to the list above.

@owenvoke
Copy link
Member

@waldyrious, as far as I remember, the original way it was configured was to ignore issues. It would only close PRs. However, I can't find any point where this actually changed, so maybe it has always been this way (unintentionally). 🤔

I have opened #258 to work on these changes.

I agree that perhaps we should only remind people about PRs, and not close them. 🤔 Let me know if I should configure Stale Bot in this way.

@SethFalco
Copy link
Member

Mostly regurgitating what others have said, but just want to push my thoughts forward.

I actually think we shouldn't have stale bot at all. It's just really disrespectful to contributors that invested their time in the project, just to have it thrown away because maintainers didn't review it.

Even if we were to get out of our way to use it, we could add a label or comment once it's stale, but not automatically close issues because it's stale. But I just don't see the value in it that, tbh.

The only time I'd appreciate automatic closing, is if the issue is both stale and had a label applied by a human that suggests we need further information from OP, but they aren't responsive. Like Question or Cannot Reproduce, where the OP is no longer responsive, and so we can't get the context to approve the change.

An issue/PR should be resolved somehow, even if the solution is WONTFIX. I do appreciate dropping a comment asking the OP if the issue/PR is still relevant, and to close is if it's been resolved incidentally. Sometimes things get resolved on their own. However, it should be a human action that results in closing it.

There is no reason to close the issue automatically, unless a human has reviewed and determined that they specifically don't want it as part of the project or that the issue/PR is somehow flawed.

  • WONTFIX: If the idea/PR is being rejected.
  • Help Wanted: If it's a good idea, but as a maintainer, you would rather not invest your time in it.
  • Cannot Reproduce: If you can't reproduce the error.
  • etc

I think there was a conversation in Matrix about it as well, but I can't find it. 🤔


Can someone explain what was our motivation for using this action in the first place? 🤔
Before we consider reconfiguring it, I'd like to know what our motivation for using it is. What are we trying to achieve? Because the PR adding it, has no explanation and links to no external conversations.

@owenvoke
Copy link
Member

Yeah, I too am not a huge fan of the stale approach. I think it was to improve visibility, but it tends to reduce it a lot of the time.

In terms of the addition to here, I think I originally added it to match the core repositorys stale bot (for consistency) (see tldr-pages/tldr#4143, which was an update to the original Probot functionality introduced with tldr-pages/tldr#1360 and tldr-pages/tldr#1350).

@SethFalco
Copy link
Member

SethFalco commented Jun 22, 2023

Hmm, alright, based on the motivation given on tldr-pages/tldr, I can appreciate it more.
Everyone here more or less agrees that issues/PRs shouldn't be closed automatically, so I'll shelve that.

Imo we shouldn't even add the stale label either though. 🤔

Just a comment reminding maintainers to resolve the issue/PR one way or another. If the goal is to remind people, then all we need is the reminder, nothing else.

  • If we asked OP a question, and they aren't responsive, we can close it.
  • If we were waiting on OP to make fixes but aren't responsive, we can take over the PR.
  • If we were waiting for more feedback from other maintainers but no one did, manually request reviews, share it in chat, or just merge it depending on the circumstances.

The label isn't required to adhere to the motivation, which is to ping individuals subscribed to the issue/PR.

I also don't think it's practical, it just makes the issue/PR history a bit noisy. Even if someone wanted to get out of their way to tackle older issues, they'd probably go by date, not filter by the stale label. 🤔

Consider this PR, where more than half the activity is regarding stale bot:

image

@kbdharun
Copy link
Member

kbdharun commented Jun 22, 2023

Sorry for chiming in late, this ping got lost in my endless abyss of notifications 😅 .

I'm not sure if this is a new behavior introduced with the upgrade of the Stale action from v3 to to v8 (done by @kbdharun in #245), or if it had always been the case since its introduction (done by @owenvoke in #29), but we need to reconfigure the Stale action so that it doesn't close issues simply because they are stale.

This behavior wasn't set/triggered by the changes in my PR as the version bump was a backend and Node version update (with additional improvements to the action). This closing behavior has always been the case since its introduction in this PR one year ago [Edit: The general closing behavior was added way before this PR, but this made it more fine-grained ].

The current behavior is especially bad because the stale-adding action is not accompanied by a comment, so even people watching this repo or the specific issues don't get a notification (I don't think I got one).

Yeah

Can someone explain what was our motivation for using this action in the first place? 🤔

I think it was so that inactive issues/PRs aren't open for a long time (see https://ossinsight.io/analyze/tldr-pages/tldr for instance).

I strongly agree that stale actions aren't necessary for both PRs and issues as many good PRs and issues are closed in most cases without us getting a notification. So it is better for us to manually intervene and close old issues rather than it being closed automatically both here and in the main repository.

I agree with @SethFalco's comment too above, it kind of spams comments in major PRs waiting for a maintainer rather than the author in most cases.

I will open a PR to remove it in both repos.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging a pull request may close this issue.

4 participants