stale icon indicating copy to clipboard operation
stale copied to clipboard

daysUntilStale not being strictly enforced, plus surge of notifications within periods of calm

Open gnapse opened this issue 4 years ago • 1 comments

Hi. Thanks for this bot. It really helps.

I've got a question. If I have daysUntilStale=7, why do I often get situations like this, where the stale bot intervenes in an issue a few days after the 7 days mark has passed?

See how in the example below, the bot commented 13 days after the last activity.

image

OTOH we've noticed surges of stale-bot notifications. That is, we have days without any activity, and then days when there's a significant surge. I'd rather have a few notifications coming in daily than having days with all the notifications from the past few days all at once.

gnapse avatar Jun 16 '21 23:06 gnapse

We've noticed the same thing, and ended up switching to a scheduled GitHub action (https://github.com/actions/stale). This is just my personal theory, but I'm suspecting that GitHub changed an API and stale-bot now has to run in intervals instead of continuously like it did before.

GitHub
Marks issues and pull requests that have not had recent interaction - actions/stale

embeddedt avatar Jul 11 '21 21:07 embeddedt