Remove call to DesiredConfig::Main from DesiredConfigFetcher
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
MR: Pending
Description
DesiredConfigFetcher was a temporary class created to fetch desired_config during the shadow run. This class fetches desired_config stored in workspace_agentk_states table. In case it is not found, the desired_config is generated on the fly.
Once the BBM to backfill workspace_agentk_states is finalized, we can remove this class and the replace the call to it in response_payload_builder.rb to simply fetch desired_config from the database.
Acceptance criteria
-
Remove all the temporary logic written for shadow run this includes the class DesiredConfigFetcherand the logic inresponse_payload_builder.rb -
Ensure workspaces are created as expected
Implementation plan
- Delete class
DesiredConfigFetcher - Replace the call in
response_payload_builder.rbwithworkspace.workspace_agentk_state - Update all the specs.
[Provide a high-level plan for implementation of this issue, including relevant technical and/or design details.]
Edited by 🤖 GitLab Bot 🤖