feat: Allow enabled in remote development configuration to be false
Issue: Allow enabled in remote development agent confi... (#425889 - closed)
What does this MR do and why?
Currently the agent cannot be disabled for remote development once the record is created. This change allows the enabled flag to be set even after the agent is created.
Fixes issue 425889
How to set up and validate locally
- Setup remote development and run a local instance of GitLab Agent
- Set the
enabled
flag in the agent configuration to false. - Create a workspace
- It should not get scheduled.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Shekhar Patnaik