Skip to content

Remove deprecated remote_development_agent_config references

Issue: Remove deprecated API references to remote_deve... (#480769 - closed)

What does this MR do and why?

This is a followup to Switch from remote_development_agent_configs ta... (#480135 - closed) where we renamed the table to workspaces_agent_config.

With this MR we are removing all references for remote_development_agent_config since it is not used anymore.

References

Please include cross links to any resources that are relevant to this MR. This will give reviewers and future readers helpful context to give an efficient review of the changes introduced.

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

  • Remaining code related to remote_development_agent_config API references is deleted.
  • Search for any remaining doc references across various doc repos
  • Rename any old references if required - e.g. !163846 (comment 2079457470)

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests. This MR does not contain any UI changes

Before After
Screenshot_2025-03-05_at_12.27.20_PM Screenshot_2025-03-05_at_12.35.15_PM

How to set up and validate locally

Validate agent updates still work

  • In local dev environment, ensure you have an agent set up and enabled for remote development: https://gitlab.com/gitlab-org/workspaces/gitlab-workspaces-docs/-/blob/main/doc/local-development-environment-setup.md
  • Open the rails console bin/rails c and search for the agent config RemoteDevelopment::WorkspacesAgentConfig.last
  • Update the workspaces_quota in the config.yaml file in your agent configuration project or through the rails console
  • Navigate to http://gdk.test:3000/-/remote_development/workspaces/ and create a new workspace
  • In the rails console check that the new workspace has the updated agent configurations
    reload!
    
    RemoteDevelopment::Workspace.last.workspaces_agent_config

Validate workspace creation and reconcile still work

Edited by Daniyal Arshad

Merge request reports

Loading