Skip to content

About deployment options

The control plane and dashboard are deployed separately. The control plane runs in GitHub Actions; this guide compares where to serve the dashboard and run its queries.

Choosing a deployment option never changes campaign policy, rollout mode, credentials, or target authority. Those settings stay in the reviewed .github/workflows/cao.json file in your control repository. For more information, see Control policy and Roll out a campaign.

No deployment needed for a local dashboard

Section titled “No deployment needed for a local dashboard”

For your own investigation, install the release extension and run gh cao dashboard --repo OWNER/REPOSITORY with your locally authenticated GitHub CLI. It bundles the server, dashboard, and collector, serves on loopback, and automatically refreshes a private canonical PostgreSQL cache on your machine. No CAO cloud deployment, Azure setup, hosted dashboard, Redis, separate Node.js or gh-aw installation, or control-repository setup is required. GitHub remains the online, authenticated evidence source.

Open the printed Dashboard: URL and stop with Ctrl-C; the cache remains. Collection is bounded, not a complete historical backfill. Start with the local quickstart; the hosted choices below are optional, not prerequisites.

Dashboard hosting and collection credentials are separate choices. Production serves the dashboard through the same-origin Go/PostgreSQL host. Local development uses the same Go server and views over a canonical PostgreSQL namespace snapshot. Pages is only a synthetic enterprise demo, never a real-data host. PostgreSQL also provides separate operational state by default.

Option Dashboard host Where queries run Who can sign in Infrastructure you operate
Synthetic enterprise demo GitHub Pages Web Worker over isolated browser IndexedDB No operational sign-in or live services Documentation/demo workflow only; no operational artifacts
On-demand local dashboard Bundled loopback Go server Go over a private PostgreSQL cache Local capability URL; collection uses authenticated gh Docker/Podman, or an explicitly configured provisioned database
Local development Loopback Go server Go over canonical PostgreSQL Private local capability URL Explicitly acquired operational snapshot
Azure Container Apps Container Apps Consumption, one hosted Go replica On the server, over PostgreSQL Explicitly allowed GitHub users, organizations or teams Container Apps environment, PostgreSQL, Key Vault, ACR, jobs and Log Analytics; offline review bundle and separate operator-run deployment

For shared operational hosting, rather than the on-demand local command:

  1. Prepare the control plane and evidence. Follow Set Up CAO, then collect a bounded Activity snapshot. Setup configures monitoring, not Pages.
  2. Choose collection credentials for the scope. Monitoring the control repository and confirmed public targets needs no App/PAT setup. Prefer private GitHub Apps for durable cross-repository access; use fine-grained PATs only when eligible and explicitly accepted. See Choosing a credential profile.
  3. Use Go/PostgreSQL for shared operational hosting. Choose an Azure topology or your own container platform. Use Go/PostgreSQL for local development and snapshot investigations. Use Pages only to explore the synthetic demo.

Azure runs the host-neutral Go service from the server/ directory, with authentication, authorization, cross-site request forgery (CSRF), webhook, rate-limit, and logging protections. You can also deploy that service on your own container platform; you are responsible for secret management, ingress, and delivery.

Server-backed means the Go server serves the dashboard itself. Built HTML and assets, GitHub sign-in, query APIs, and revision events use the same hosted origin. Forward the entire application to the Go handler, not just API paths. Do not publish a separate Pages or static-hosted frontend for hosted mode. The browser uses server-side PostgreSQL queries; a hosted failure does not switch to browser storage or the Pages deployment.

Every option uses the canonical evidence model and declarative views, not a separate demo data model or presenter fixtures. Pages generates synthetic raw samples and passes them through production normalization and worker ingestion; it never consumes operational artifacts. Data ingestion owns the collection, verified payload, retention, and backend-processing details; Data model owns entities and identities. Hosted deployments keep data current with continuous native collection: server-side workers driven by a read-only GitHub App’s webhooks run alongside the hosted dashboard. Generated Azure review bundles deploy that collector; it is the only hosted acquisition path. Optional staged infrastructure is not native collection activation.

  • Evidence is not authority. Viewing a result grants no execution or write permission. Pages is read-only; native maintenance and hosted CLI actions have separate authorization and approval requirements. See Know the boundary.
  • Rebuildable dashboard data. Browser IndexedDB and canonical PostgreSQL hold derived evidence projections. Protected operational state such as audit history, queues, and revocation records is separate and must not be treated as a disposable cache. See the operational-storage contract.
  • Verified payloads. Each payload file is checked against payload-hashes.json before it is parsed. A missing manifest, a hash mismatch, an unsafe path, or a malformed record stops ingestion. Run-bundle deltas always verify their own bytes; unchanged compacted-shard manifests may reuse the already-ingested PostgreSQL snapshot through its durable, source-scoped verification receipt instead of reading unrelated recovery shards. This does not certify current on-disk recovery bytes: explicit full ingestion always verifies them again, and changed shard identities require full shard verification.
  • No exposed secrets. Secrets never appear in the dashboard site, API responses, URLs, or logs.
  • Live data. Operational evidence is only as fresh as its last successful collection and ingestion. The daily Pages demo rebuild is independent and says nothing about operational freshness.
  • Availability. CAO adds no availability service-level agreement (SLA), backup service, or disaster-recovery objective beyond what the underlying platform provides.
  • Compliance records. The dashboard is not a compliance record. For compliance evidence, use GitHub Actions run history, your checked-in policy, your infrastructure definitions, and platform audit logs.
  • Automatic workflow control. Evidence and recommendations do not stop or govern workflows. To stop campaigns, follow Emergency stop.