Skip to main content

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:

  1. Navigate to the Run Details page
  2. Find the finding you want to fix
  3. Click the Fix button
  4. Review the proposed ChangeSet
  5. Click Confirm (or wait for approval if required)

Fix All

Apply all recommended fixes at once:

  1. From Run Details, click Fix All
  2. Review the combined ChangeSet
  3. 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:

StatusDescription
PendingWaiting in queue or for approval
RunningCurrently executing
CompletedSuccessfully applied
FailedExecution error (view details)
Rolled BackReverted due to issue

Rollback Capability

Every successful fix creates a rollback checkpoint. If issues arise:

  1. Return to Run Details
  2. Click Rollback on the affected item
  3. SmartSRE restores the previous configuration

See Rollbacks for details.

Best Practices

  1. Start with low-risk fixes — Test SmartSRE on simple changes first
  2. Review ChangeSets — Understand what changes will be made
  3. Test in non-production — Validate fixes before production
  4. Monitor after execution — Watch for unexpected behavior

Next Steps