Skip to content

add workflow to close stale issues#1795

Open
lewisjkl wants to merge 1 commit into
series/0.18from
stale-issue-workflow
Open

add workflow to close stale issues#1795
lewisjkl wants to merge 1 commit into
series/0.18from
stale-issue-workflow

Conversation

@lewisjkl
Copy link
Copy Markdown
Contributor

@lewisjkl lewisjkl commented Aug 1, 2025

Raising this PR to be able to discuss the possibility of adding a workflow like this, I noticed we have some old PRs and I think in general it is nice to focus on PRs/Issues that have active interest/contributions.

Let me know your thoughts.

PR Checklist (not all items are relevant to all PRs)

  • Added unit-tests (for runtime code)
  • Added bootstrapped code + smoke tests (when the rendering logic is modified)
  • Added build-plugins integration tests (when reflection loading is required at codegen-time)
  • Added alloy compliance tests (when simpleRestJson protocol behaviour is expanded/updated)
  • Updated dynamic module to match generated-code behaviour
  • Added documentation
  • Updated changelog

@kubukoz
Copy link
Copy Markdown
Member

kubukoz commented Aug 1, 2025

Is there context for "why now"? In the meantime, here's my take:

I generally disagree with this idea. Issues being stale doesn't mean they're no longer there, it's just that whoever encountered them has found a decent workaround... or has given up.

Sometimes I open issues even when I'm not hitting them in real life, to serve as an acknowledgement of there being an issue, and maybe a good reproduction / hints for a solution. Prefer known issues to unknown/forgotten ones :)

Having a lot of open issues doesn't necessarily make a project look buggy - in my opinion, it can show that enough people use it, and care, that they're willing to spend the time crafting a ticket.

As for tickets we legitimately don't care about, we can always close them ourselves due to being out of scope (or whatever reason makes sense in the context).


Happy to continue the conversation, maybe we can run it as a one-time thing, or schedule some time to review the older ones

@lewisjkl
Copy link
Copy Markdown
Contributor Author

lewisjkl commented Aug 1, 2025

why now

Really just because I saw that we have PRs which are 2+ years old and I think in general that just adds clutter as there is virtually no hope for it being "merged" at this point and would need to be redone anyway with how much the codebase evolves over that time span. Plus if it is left unattended (no comments, no commits, etc) for 2+ years, are we ever going to get to it? Do we really need to?

Issues being stale doesn't mean they're no longer there

With issues, I see your point more-so than with PRs. That being said, looking at the old issues (over 3 years old in some cases), I again question their relevance in 2025 and/or their need to ever be done if we've gone 3 years without worrying about it.

To me, that's why the workflow adds a comment saying "this will be closed in 7 days". That's an opportunity for us or whoever raised the issue to take a look at it and check, "is this still relevant? do I still care?" If no, then we do nothing and it is closed. If yes, we just add a comment (hopefully with some explanation as to why this is still relevant and yet has still not been addressed) to the Issue and now it won't be closed as stale. So all that to say, I actually think it is a way to get relevant issues floating to the top, and things that aren't relevant to get out of the way.

Worth noting, the timeframes are arbitrary. I'm fine to change the timeframes to whatever.. e.g. 1 year old receives a comment saying the issue will be closed in 30 days.

All of that being said, I'm not going to die on this hill.. so ultimately I will defer to the other maintainers, including yourself, to vote on / decide.


(or we could just leave this PR open for the next 3 years and it can join the ranks <- me being a troll)

@kubukoz
Copy link
Copy Markdown
Member

kubukoz commented Aug 1, 2025

(I'll probably have more thoughts tomorrow / another day, it's late)

1 year old receives a comment saying the issue will be closed in 30 days.

that doesn't sound so bad. Also, I'd just go ahead and close the multi-year PRs straight away.

@lewisjkl
Copy link
Copy Markdown
Contributor Author

lewisjkl commented Aug 1, 2025

Yeah no worries, it is definitely not urgent at all and I appreciate the discussion in any case 🙏

@yisraelU
Copy link
Copy Markdown
Contributor

yisraelU commented Aug 7, 2025

I agree with the automated workflow for PR's . It provides a reminder for the author and allows the author to respond and say "wait , I'm still working on it".
Issues on the other hand, we really need to set aside time as maintainers monthly, to go through any new issues , and analyze/prioritize them. We can use labels to convey a bit more information (and serve as a reminder for ourselves) , such as not priority ,not affecting users , good idea etc..
This would server to convey more info to the public at large, that

  1. these issues were read and thought about
  2. here is what you can expect

@kubukoz
Copy link
Copy Markdown
Member

kubukoz commented Aug 7, 2025

Some kind of triaging setup definitely sounds reasonable 👍

e.g. an automation that takes new issues and tags them with needs-triage and reminds maintainers if there are any untriaged issues older than N days.

@lewisjkl
Copy link
Copy Markdown
Contributor Author

Yeah I agree with the above, I will look into this more when I get a chance to

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.

3 participants