corebot
corebot copied to clipboard
Idea: add users request to a queue and allocate envs to the queue (in order) as envs become free
Usually we end up asking on a slack channel whether an env is free. Maybe we can add a request command that would add the username of the requesting user into a queue and then as soon someone evicts or returns an env, allocate that freed env to the user. Do this in order to the whole queue.
One caveat that immediately comes to mind:
- Is if someone currently using the environment frees it with the intention of passing it onto a team member (this happens more often than we think).
A workaround would be to obviously ask the team member to have themselves be in the queue (but it wouldn't guarantee that they are the first in the queue)
Happy to try and implement a poc of this command and get feedback :)