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

feat(robo): new update and update-aborted lifecycle hooks #201

Open
Pkmmte opened this issue Feb 4, 2024 — with Volta.net · 0 comments
Open

feat(robo): new update and update-aborted lifecycle hooks #201

Pkmmte opened this issue Feb 4, 2024 — with Volta.net · 0 comments

Comments

Copy link
Member

Pkmmte commented Feb 4, 2024

These will be extremely lightweight (like start and stop) hooks that are called whenever a specific signal is sent to the process. That's it, really.

Use case

Robos hosted on RoboPlay would be notified of new updates to themselves. This would enable:

  • Developer: statuses to be marked as "Updating..." by end-user
  • Discord.js Plugin: Stop accepting new commands and events
  • Server Plugin: Continue accepting requests; act as pre-drain

This would create for a seamless update experience. Of course, this would also be callable in self-hosted environments.

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

1 participant