Gemini CLI PR adds Cloud Run jobs and Workflows for code-generation pipeline
joneba-google · ghdev · 2026-07-18
What changed
This PR adds the infrastructure needed for the Gemini CLI SSR code generation pipeline:
- A Dockerfile based on python:3.11-slim with Node.js 20, Git, bubblewrap, CA certs, and Python dependencies such as google-genai, google-cloud-firestore, and google-cloud-aiplatform.
- A declarative Cloud Run Job in us-central1 with 2 vCPUs, 8 GiB RAM, a 3600-second timeout, a dedicated service account, Firestore environment variables, and a Gemini API key loaded from Secret Manager.
- A Cloud Workflow triggered by Eventarc/PubSub that decodes issue payloads, derives Firestore document IDs, fetches GitHub auth keys from Secret Manager, passes the workflow execution ID into the container, and handles failures by patching Firestore transactionally.
In short, this is the orchestration layer that lets Gemini CLI run code-gen jobs reliably in Google Cloud.
More from coding & agent
- Resin lets an agent build standalone LLM inference engines; vLLM and SGLang optimize DeepSeek kernels differently — AccBalanced · 2026-10-27
- How I let my cloud Grok Bot code on my Mac mini via Tailscale, no public ports — talkaboutdesign · 2026-10-27
- Context layout is a cost decision: one memory edit can bust your entire agent prompt cache — dscape · 2026-10-27
- Alchemy adds effect/Workflow support across Durable Objects, Workflows and Lambda Durable Functions — samgoodwin89 · 2026-10-27
- Alchemy's Lambda Web Functions run plain Node web servers on Lambda, no OpenNext needed — samgoodwin89 · 2026-10-27
- Alchemy makes all ~2,850 AWS bindings work from any cloud, not just S3/Lambda/DynamoDB — samgoodwin89 · 2026-10-27