Skip to content

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

  1. Setup remote development and run a local instance of GitLab Agent
  2. Set the enabled flag in the agent configuration to false.
  3. Create a workspace
  4. 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.

Edited by Shekhar Patnaik

Merge request reports