Gemini CLI orchestrator adds Firestore locks, dual-agent loops, and a worker entrypoint
joneba-google · ghdev · 2026-07-18
This PR adds the main orchestration layer and container worker entrypoint for the Gemini CLI SSR pipeline.
Key pieces
- Worker entrypoint: initializes config, runs the async orchestrator, filters noisy WebSocket logs, and maps failures to standardized exit codes for Cloud Run monitoring.
- Orchestrator state machine: handles Firestore leasing and concurrency locks, syncs repositories, manages feature branches, and protects internal state files.
- Iterative dual-agent loop: alternates between a coding agent that implements fixes and an evaluation agent that runs ESLint and checks test verdicts.
- Performance optimization: reuses nodemodules through filesystem symlinks to avoid repeated npm ci installs.
- PR publishing: enforces diff limits and automates submission when the loop converges.
The net effect is a full automation backbone for agentic PR generation, with locking, retries, evaluation, and deployment-friendly worker behavior.
More from coding & agent
- Tweaked orchestration skill turns agents into self-policing workflow — pvncher · 2026-07-27
- A practical map of 11 protocols in the modern AI agent stack — TheTuringPost · 2026-07-27
- Qwen Code nightly adds Goal v3 orchestration and workspace channel controls — qwen-code-ci-bot · 2026-07-27
- NVIDIA says Nemotron 3 Ultra hit 97.1% on agentic RTL chip-design tasks — NVIDIAAI · 2026-07-27
- Tokyo Agent Forge hackathon shipped production-ready AI agents in one day — DavidBennett__ · 2026-07-27
- Long-running agents will need immutable event logs, this thread argues — sebpaquet · 2026-07-27