Applying Fixes
Execute SmartSRE's recommended remediations to resolve findings in your GCP environment.
Fix Options
Individual Fix
Apply a single fix to resolve one finding:
- Navigate to the Run Details page
- Find the finding you want to fix
- Click the Fix button
- Review the proposed ChangeSet
- Click Confirm (or wait for approval if required)
Fix All
Apply all recommended fixes at once:
- From Run Details, click Fix All
- Review the combined ChangeSet
- All fixes are batched and executed together
Approval May Be Required
High-impact or high-cost changes trigger the approval workflow. You'll see an "Awaiting Approval" status until an approver responds.
Understanding ChangeSets
When you click Fix, SmartSRE shows the proposed ChangeSet:
{
"service": "cloudrun",
"intent": "Optimize memory allocation",
"steps": [
{
"op": "scale_memory",
"params": {"target_memory": "512Mi"},
"estimated_cost_usd": -15.00,
"impact_score": 20
}
]
}
Equivalent Commands
Each step includes an Equivalent Command showing the gcloud CLI command:
gcloud run services update api-service \
--memory=512Mi \
--region=us-central1 \
--project=my-project
Use this to understand exactly what SmartSRE will do, or to execute manually.
Execution Status
After applying a fix, track progress:
| Status | Description |
|---|---|
| Pending | Waiting in queue or for approval |
| Running | Currently executing |
| Completed | Successfully applied |
| Failed | Execution error (view details) |
| Rolled Back | Reverted due to issue |
Rollback Capability
Every successful fix creates a rollback checkpoint. If issues arise:
- Return to Run Details
- Click Rollback on the affected item
- SmartSRE restores the previous configuration
See Rollbacks for details.
Best Practices
- Start with low-risk fixes — Test SmartSRE on simple changes first
- Review ChangeSets — Understand what changes will be made
- Test in non-production — Validate fixes before production
- Monitor after execution — Watch for unexpected behavior
Next Steps
- Rollbacks — Recover from issues
- Risk Guardrails — Understand approval triggers
- Approvals — Handle approval workflows