You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
spored: idle terminate (spawn:terminate-on-idle) sends no notification event #1205
With spawn:terminate-on-idle (spawn service, pool workers), spored's idleTimeoutReached calls terminate() and sends no notification event. The stop path sends idle_stopped, and hibernate sends idle_hibernated. A new idle_terminated event would fail TestSporedNotifyEventsHandledBySporeBot, because spore-bot's vendored list (testdata/spore-bot/spored_events.txt) doesn't have it.
To add it:
In spore-host/spore-host, add idle_terminated to lambda/spore-bot/testdata/spored_events.txt, with a message on every channel.
Re-vendor that list here.
Send idle_terminated from the terminate branch of idleTimeoutReached.
Users logged in to the instance still get spored's terminate warning. Only Slack/Discord/SMS subscribers miss the event.
Activity
fix(plugin,agent): failed state for unresolvable launch plugins, logi…