From 87b5e0ac9e3c98dcd0f41d171c24e04854b07b84 Mon Sep 17 00:00:00 2001 From: Ashvin Sharma Date: Wed, 20 Aug 2025 12:48:28 +0530 Subject: [PATCH] Add instruction to backfill versions table of agent_config when a new field is added in the configuration. --- ee/lib/remote_development/README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ee/lib/remote_development/README.md b/ee/lib/remote_development/README.md index 3eff887accf426..791b86196f589e 100644 --- a/ee/lib/remote_development/README.md +++ b/ee/lib/remote_development/README.md @@ -1388,6 +1388,9 @@ foo.save! # => A new agent version is created bar.reload.workspaces_agent_config # => workspaces_per_user_quota: 10 ``` +### Adding a new config to the agent_config +If a new attribute is added to `agent_config` all the older versions of agent_config stored in `workspaces_agent_config_version` must be backfilled to ensure the current flow does not break due to lack of value. + ## Using the DeclarativePolicy authorization framework ### DeclarativePolicy guidelines -- GitLab