Skip to content

Force include all resources logic for workspaces

What does this MR do and why?

Draft: Force include all resources logic for workspaces

Related to #424738 (closed)

How to set up and validate locally

  1. Start the local GDK remote dev environment and create a workspace, wait for it to be in Running state (and terminate all others to reduce noise in logs).
  2. In ee/lib/remote_development/workspaces/reconcile/output/rails_infos_observer.rb, modify the log statement for Returning workspace_rails_infos to not exclude the config_to_apply
  3. In a terminal, start logging the remote development JSON log: tail -f log/remote_development.log| jq
  4. Force a full reconcile (by restarting agentk)
  5. In the log, verify that the secrets are included in the config_to_apply as part of the full reconcile.
  6. Restart the workspace from the Workspaces list UI with the restart button
  7. In the log, verify that the secrets are NOT included in the config_to_apply as part of the partial reconcile.

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 Chad Woolley

Merge request reports