Blog
AI project spotlight: CloudRunStatus menu-bar monitor
Merges to my monorepo auto-deploy to Google Cloud Run, and I wanted to know when a deploy broke without keeping a console tab open. CloudRunStatus is a tiny native macOS menu-bar app: a cloud icon that stays green while my three services are healthy, turns orange during a deploy, and red with an error count when something fails.

It polls gcloud through a login shell every 30 seconds (5 in fast mode), reusing my existing auth. Each service — lucaslongo-site, adriana-site, campos-site — gets a submenu: open or copy its URL, see the latest revision, copy deploy error details or recent error logs, or tail live logs in Terminal. It also watches the GitHub Actions deploy workflows via gh, showing the current step, elapsed time, and which commit is live versus building, and fires a macOS notification when a deploy fails or a service goes unhealthy.
The tech is deliberately small: one Swift file of SwiftUI and AppKit, compiled by a bare swiftc call in build-app.sh — no Xcode project. The script assembles the bundle, ad-hoc signs it, installs it to /Applications, and registers it as a login item. A companion shell script, cloudrun-status.sh, prints the same status in a terminal.
AI agents built it the way everything here gets built: one GitHub issue per change, an isolated worktree, a PR. The project's BRAIN.md — public at brain.lucaslongo.com — logs the history, from fixing an oversized menu-bar icon to teaching the app the deploy pipeline.
Where it lives: projects/cloudrun-status-bar in my monorepo — a native macOS app, not a website.