corebot icon indicating copy to clipboard operation
corebot copied to clipboard

Idea: add users request to a queue and allocate envs to the queue (in order) as envs become free

Open zshnr opened this issue 8 years ago • 0 comments

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:

  1. 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 :)

zshnr avatar Feb 08 '18 13:02 zshnr