DevOps
How the Qubital system is built, tested, deployed, observed, and automated. This section covers operational infrastructure — not application features.
Sections
ci/
GitHub Actions pipeline for the Go backend: what runs on a branch push, a ready PR, a merge to main and a prod release, and why each check sits where it does.
deployment/
How each part of the system gets deployed:
| Component | Platform | Trigger |
|---|---|---|
| Go backend (api + Centrifugo broker) | Northflank, through GitOps (qubital-infra) | Staging: every merge to main; prod: the promote workflow |
| Observability agent (alloy) | Northflank, through GitOps (qubital-infra) | A dispatch of qubital-observer's workflow |
| Web app (webapp) | Northflank, through GitOps (qubital-infra) | Staging: every merge to main; prod: the release workflow |
| Desktop app (Windows, Mac) | Cloudflare R2, releases.qubital.space | The release workflow, with the web app |
| Cloudflare Workers (office-router, upload-worker) | Cloudflare Workers | wrangler deploy |
| Recording pipeline (livekit-listener + video-upload-job) | Google Cloud Run | build-publish.yaml workflow (workflow_dispatch) |
observability/
How the system is observed in production:
- Logs — structured JSON logs via
slog, shipped to Betterstack viasamber/slog-betterstack - Metrics — Prometheus metrics exposed at
/metrics, remote-written to Grafana Mimir
automations/
Internal bots and automated workflows that run alongside the development process:
- ClickUp PR bot — creates, promotes, and closes ClickUp tasks based on GitHub PR lifecycle events
- Doc-writer agent — drafts documentation PRs on every code PR merge to
main