Find the bad config and draft the rollback
During a simulated outage, an SRE used Gemini CLI to trace logs, identify a bad config push, and prepare the revert and follow-up work.
- What they did
- An SRE opened Gemini CLI during a simulated incident and let it pull incident details, line up time-series signals, and inspect logs with internal ProdAgent tools. After the agent suggested a restart plan, the SRE approved it, but the restart did not work. The agent then checked the service source and recent edits, spotted a faulty config push, and drafted a changelist to undo it. A custom command also wrote the postmortem and filed action items through MCP.
- How it went
- The bad config push was located in under two minutes. After the SRE approved the revert, it went out and the service recovered. The scenario was simulated, and no other timing details were given.
- Tips
- Keep a person in the loop for every production change. If your stack uses internal tools, you’ll need equivalent typed, policy-checked commands and your own MCP setup.
Try it yourself with Gemini
You are helping with an outage in [service name]. Pull the latest incident data, logs, and time-series signals from [log source], then look for the most recent config change that best explains the failures. Show your evidence and propose a restart or rollback plan. Pause and wait for my approval before you apply any restart, revert, deploy, or other change. After I approve, draft the rollback as [patch / changelist / pull request] and prepare postmortem action items in a format I can review before anything is sent or filed.
Fill in the [brackets]. Agents can make mistakes, so review anything before it is sent, paid or deleted.
Get 3 agent uses like this every morning
With the day's top AI news. Free, and one click to unsubscribe.
Related agent uses
Use Gemini to plan work and audit Claude’s code
A developer asked Gemini to break down a coding task, write short prompts for Claude, and inspect Claude’s output before execution.
Run a backend manager agent with stricter oversight
A user assigned Gemini to backend management in a pipeline, but a routing mix-up led to broken code and a rollback of seven days of work.
Spot flaky tests and trace likely causes
Use an agent to score test instability from JUnit history, then draft a root-cause report for the flaky cases.
Repair a Delete button in a GitHub repo
A developer had Jules fix a broken Delete button, add tests, and leave the branch ready for review.
Port a computer-use tool into another harness
They had Gemini rework Codex’s computer-use tool for Antigravity and finished the port in under 10 minutes.
Map a legacy system without source code
A Thoughtworks team used Gemini to build and check functional blueprints for old systems when source code was unavailable.