storkit: accept 366_story_bot_sends_shutdown_message_on_server_stop_or_rebuild
This commit is contained in:
@@ -1,20 +0,0 @@
|
||||
---
|
||||
name: "Bot sends shutdown message on server stop or rebuild"
|
||||
---
|
||||
|
||||
# Story 366: Bot sends shutdown message on server stop or rebuild
|
||||
|
||||
## User Story
|
||||
|
||||
As a project owner in a chat room, I want the bot to send a message when the server is shutting down (via ctrl-c or rebuild_and_restart), so that I know the bot is going offline and won't wonder why it stopped responding.
|
||||
|
||||
## Acceptance Criteria
|
||||
|
||||
- [ ] Bot sends a shutdown message to active chat channels when the server receives SIGINT/SIGTERM (ctrl-c)
|
||||
- [ ] Bot sends a shutdown message before rebuild_and_restart kills the current process
|
||||
- [ ] Message indicates the reason (manual stop vs rebuild)
|
||||
- [ ] Message is sent best-effort — shutdown is not blocked if the message fails to send
|
||||
|
||||
## Out of Scope
|
||||
|
||||
- TBD
|
||||
Reference in New Issue
Block a user