Skip to content

Stalled Issue action is not working #54425

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

Closed
avivkeller opened this issue Aug 17, 2024 · 3 comments · Fixed by #57630
Closed

Stalled Issue action is not working #54425

avivkeller opened this issue Aug 17, 2024 · 3 comments · Fixed by #57630
Labels
help wanted Issues that need assistance from volunteers or PRs that need help to proceed. meta Issues and PRs related to the general management of the project.

Comments

@avivkeller
Copy link
Member

avivkeller commented Aug 17, 2024

I noticed that #40354 has been labelled stalled for a while. While it's received activity in the past few hours, before that, there was no activity for 2 months (since #40354 (comment)).

Another case is #51567.

The action is set up to close issues after 30 days of no activity after being labelled stale, yet that didn't occur?

@avivkeller avivkeller added the meta Issues and PRs related to the general management of the project. label Aug 17, 2024
@bjohansebas bjohansebas added the help wanted Issues that need assistance from volunteers or PRs that need help to proceed. label Mar 25, 2025
@Trott
Copy link
Member

Trott commented Mar 26, 2025

Another case is #51567.

If I'm not mistaken, #51567 does not (and has never had) a stalled label and has been merged. What makes you say it shows that the Action is not working? Did you mean a different PR perhaps?

@avivkeller
Copy link
Member Author

If I'm not mistaken, #51567 does not (and has never had) a stalled label and has been merged. What makes you say it shows that the Action is not working? Did you mean a different PR perhaps?

I was probably referring to a different issue/PR, but I can't remember which one, I opened this issue 7 months ago 😅

However, if you look at the list of currently open stalled issues/PRs (https://github.com/nodejs/node/pulls?q=is%3Apr+is%3Aopen+label%3Astalled+), you'll see that a large portion of them have been stalled for more than the set 30 days.

For example, #29554 has been stalled for 5 years.

@Trott
Copy link
Member

Trott commented Mar 26, 2025

I believe it is working as designed because we have remove-stale-when-updated set to false. So the stalled label was applied, but someone left a comment within 30 days, and so it won't be closed until the stalled label is removed and reapplied. See the Actions output below.

[#40354] This pull request is already stale
  [#40354] Checking for label on this pull request
  [#40354] Pull request marked stale on: 2024-05-11T18:02:44Z
  [#40354] Checking for comments on pull request since: 2024-05-11T18:02:44Z
  [#40354] Comments that are not the stale comment or another bot: 5
  [#40354] Pull request has been commented on: true
  [#40354] Days before pull request close: 30
  [#40354] The option remove-stale-when-updated (​[https://github.com/actions/stale#remove-stale-when-updated​)](https://github.com/actions/stale#remove-stale-when-updated%E2%80%8B)) is: false
  [#40354] The stale label should be removed if all conditions met
  [#40354] Pull request has been updated since it was marked stale: true
  [#40354] Pull request has been updated in the last 30 days: true
  [#40354] Stale pull request is not old enough to close yet (hasComments? true, hasUpdate? true)
  [#40354] 2 operations consumed for this pull request

Workaround for now is to remove and reapply the stalled label.

I believe the proper fix is to let remove-stale-when-updated be its default value of true. I'll open a PR for that right now.

Trott added a commit to Trott/io.js that referenced this issue Mar 26, 2025
@Trott Trott closed this as completed in 186bbf7 Mar 26, 2025
pandeykushagra51 pushed a commit to pandeykushagra51/node that referenced this issue Mar 28, 2025
Fixes: nodejs#54425
PR-URL: nodejs#57630
Reviewed-By: Jordan Harband <[email protected]>
Reviewed-By: Darshan Sen <[email protected]>
Reviewed-By: Chemi Atlow <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
aduh95 pushed a commit that referenced this issue Mar 28, 2025
Fixes: #54425
PR-URL: #57630
Reviewed-By: Jordan Harband <[email protected]>
Reviewed-By: Darshan Sen <[email protected]>
Reviewed-By: Chemi Atlow <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
RafaelGSS pushed a commit to RafaelGSS/node that referenced this issue Apr 8, 2025
Fixes: nodejs#54425
PR-URL: nodejs#57630
Reviewed-By: Jordan Harband <[email protected]>
Reviewed-By: Darshan Sen <[email protected]>
Reviewed-By: Chemi Atlow <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
RafaelGSS pushed a commit that referenced this issue Apr 14, 2025
Fixes: #54425
PR-URL: #57630
Reviewed-By: Jordan Harband <[email protected]>
Reviewed-By: Darshan Sen <[email protected]>
Reviewed-By: Chemi Atlow <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
RafaelGSS pushed a commit that referenced this issue Apr 14, 2025
Fixes: #54425
PR-URL: #57630
Reviewed-By: Jordan Harband <[email protected]>
Reviewed-By: Darshan Sen <[email protected]>
Reviewed-By: Chemi Atlow <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
aduh95 pushed a commit that referenced this issue Apr 14, 2025
Fixes: #54425
PR-URL: #57630
Reviewed-By: Jordan Harband <[email protected]>
Reviewed-By: Darshan Sen <[email protected]>
Reviewed-By: Chemi Atlow <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
aduh95 pushed a commit that referenced this issue Apr 14, 2025
Fixes: #54425
PR-URL: #57630
Reviewed-By: Jordan Harband <[email protected]>
Reviewed-By: Darshan Sen <[email protected]>
Reviewed-By: Chemi Atlow <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
aduh95 pushed a commit that referenced this issue Apr 15, 2025
Fixes: #54425
PR-URL: #57630
Reviewed-By: Jordan Harband <[email protected]>
Reviewed-By: Darshan Sen <[email protected]>
Reviewed-By: Chemi Atlow <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Issues that need assistance from volunteers or PRs that need help to proceed. meta Issues and PRs related to the general management of the project.
Projects
None yet
3 participants