Skip to content

What should happen to connected workers that have just been disabled

Situation:

  • worker-xxx is approved and is connected to the Debusine server
  • Debusine admin does debusine-admin manage_worker disable worker-xxx

What happens (I haven't tested it but we don't have any code to prevent this):

  • Worker remains connected and will keep receiving work requests (we check the token status on connection only)
  • The next time that the worker connects it will be rejected

Questions:

  • Should the debusine server disconnect the worker if its token gets disabled?
  • Is this part of milestone 1? (I've assigned it to milestone 1 to keep track of this while we decide)
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information