Skip to content

Backend: update workspace creation with agent_config version

MR - Add column workspaces_agent_config_version and ... (!165912 - merged)

Updated

The below MR is closed due to our discussions. Will include changes for this issue into the issue here, and make a single MR for both changes.

When the linked MR is merged, i will close off both issues.

MR: Update Workspace Creation Flow With New Version (!164016 - closed)

Description

During the workspace creation, we will find the latest agent_config version, and set it to workspace workspaces_agent_config_version.

This code needs extra check on if the table has workspace_agent_config_version defined, if does not, then we skip the code. The reason is, we could make this MR independent of this migration issue.

Acceptance Criteria

  • populate the field workspaces_agent_config_version during workspace creation.
  • add additional check on if column workspace_agent_config_version exists
  • update unit testings as needed
Edited by zli