Rails: Support agentk applier errors
MR: !126127 (merged)
Description
This issue tracks the work that needs to be done in Rails backend as a part of the feature to track agentk applier errors
Acceptance Criteria
-
Workspace state transitions to Error
once applier errors are received during reconciliation
Technical Requirements
-
Add logic to carry out state transition to Error
in case errors are received -
Add logic to validate the schema of error details received in the request -
Add spec to verify all of the above changes
Design Requirements
NA
Impact Assessment
- Existing workspaces with applier errors generated before release will not be affected. Only applier errors generated post-deployment will be tracked
- Tracking failures in K8S resources is out of scope for this task
Edited by Hunar Khanna