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

stale keyword on PR is stale #387

Closed
iritkatriel opened this issue Dec 22, 2020 · 4 comments
Closed

stale keyword on PR is stale #387

iritkatriel opened this issue Dec 22, 2020 · 4 comments

Comments

@iritkatriel
Copy link
Member

iritkatriel commented Dec 22, 2020

Should the friendly bot remove the "stale" keyword when there is activity on a PR? See python/cpython#23427

@Mariatta
Copy link
Member

We don't maintain the stale-bot. We may need to write our own GH action for it. 😕

I'm thinking it's ok to leave the stale label even after we add comment there, to indicate that this PR has been open for a while and hopefully we can continue paying attention to it until it gets closed.

I personally think it's useful to see how many stale PRs got closed/merged in the end. Keeping the stale label gives that sort of visibility.

@brettcannon
Copy link
Member

I agree with @Mariatta and say we leave it as-is for a little while to see how it feels. If it ends up not feeling right then we can talk about what to do about it.

@hugovk
Copy link
Member

hugovk commented Jan 5, 2022

This was likely a bug in https://github.com/actions/stale, now fixed: actions/stale#441.

This issue can be closed.

To confirm:

This PR python/cpython#29147 was marked as stale on 29 Nov 2021 UTC.

Some hours later a human left a comment.

On the next cron run on 30 Nov 2021 UTC, the stale label was removed.

Here's part of the log:

[#29147] Pull request #29147
  [#29147] Found this pull request last updated at: 2021-11-29T08:47:01Z
  [#29147] The option only-labels (​https://github.com/actions/stale#only-labels​) was not specified
  [#29147] └── Continuing the process for this pull request
  [#29147] Days before pull request stale: 30
  [#29147] The pull request is not closed nor locked. Trying to remove the close label...
  [#29147] ├── The close-pr-label (​https://github.com/actions/stale#close-pr-label​) option was not set
  [#29147] └── Skipping the removal of the close label
  [#29147] This pull request has a stale label
  [#29147] The option any-of-labels (​https://github.com/actions/stale#any-of-labels​) was not specified
  [#29147] └── Continuing the process for this pull request
  [#29147] This pull request has no milestone
  [#29147] └── Skip the milestones checks
  [#29147] This pull request has no assignee
  [#29147] └── Skip the assignees checks
  [#29147] This pull request is already stale
  [#29147] Checking for label on this pull request
  [#29147] Pull request marked stale on: 2021-11-29T00:06:19Z
  [#29147] Checking for comments on pull request since: 2021-11-29T00:06:19Z
  [#29147] Comments that are not the stale comment or another bot: 1
  [#29147] Pull request has been commented on: true
  [#29147] Days before pull request close: -1
  [#29147] Pull request has been updated: false
  [#29147] The option remove-stale-when-updated (​https://github.com/actions/stale#remove-stale-when-updated​) is: true
  [#29147] The stale label should not be removed
  [#29147] Remove the stale label since the pull request has a comment and the workflow should remove the stale label when updated
  [#29147] The pull request is no longer stale. Removing the stale label...
  [#29147] Removing the label "stale" from this pull request...
  [#29147] The label "stale" was removed
  [#29147] Skipping the process since the pull request is now un-stale
  [#29147] 2 operations consumed for this pull request

@iritkatriel
Copy link
Member Author

Thanks.

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

No branches or pull requests

4 participants