Remove parent root from desired_config stored in workspace_agentk_state
Issue: Add a background DB migration to populate the w... (#538360 - closed)
What does this MR do and why?
Backfill workspace_agentk_states for all worksp... (!199102 - merged) added migration logic to backfill workspace_agentk_states table for all the existing workspace. This logic is slightly incorrect. The jsonb which is supposed to be stored inside this table is supposed to have an array and we are saving an object. In other words, root level node is not required in this table. The table below should explain it better.
| Bad jsonb doc | Good |
|---|---|
|
|
References
Screenshots or screen recordings
| Before | After |
|---|---|
How to set up and validate locally
MR acceptance checklist
Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Edited by Ashvin Sharma