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
- Two real 'company brains' opened up live: Gorgias' in-house Cortex vs Slite — femke_plantinga · 2026-09-11
- The browser main thread is expensive: a practical guide to JavaScript and CSS animation cost — jh3yy · 2026-09-11
- Inspired by OpenAI's 10,000-agent run, dev open-sources a crowdsourced agent problem-solving platform — Benjaminsen · 2026-09-11
- Lucid: open-source Mac app keeps your laptop awake only while AI agents run — Pitiful_Hedgehog_600 · 2026-09-11
- banteg's snail project crowdsources AI agents to finish matching Snail Mail's 20 remaining functions — banteg · 2026-09-11
- Alex Townsend posts 200 open problems in numerical linear algebra for humans and AI agents — IgorCarron · 2026-09-11