Skip to content

Web UI

Location health and sync

Monitor location health verdicts, acknowledge attention items, sync warehouse history, and inspect published SQL.

Monitor code-location health, acknowledge attention items, control how warehouse history syncs into the Web UI, and inspect a node’s published SQL without a local checkout.

The Locations page and each location’s page show one verdict per target naming its worst open problem:

  • Healthy (green): no open problems.
  • Red (stops runs): Not checking in (silent over 90s), Can’t connect (warehouse check failed), or Deploy failed (load failed with no earlier snapshot).
  • Amber (needs attention): runs continue, but something needs action — for example Running previous version, Sync failing, Sync stalled, Not tested, an overdue schedule, a low calendar horizon, a failing sensor, or a lossy event sink.

Open problems also appear as a single banner line across every page except Overview and in the server API (/api/control/locations/{location_id}/targets/{target}/health and /api/control/platform/problems).

Workers and code locations count delivered, failed, and dropped events for project event sinks. A sink that loses events appears on the target’s attention list (for up to 7 days) until a subsequent run or report delivers all events.

Anyone with access to a target’s runs can acknowledge an item on the Overview’s attention list to hide it for everyone viewing the target (recorded in the security audit log):

  • A problem run stays acknowledged until undone.
  • An ongoing condition stays acknowledged until it worsens, clears (which automatically withdraws the acknowledgement), or exceeds [server] attention_snooze (default "24h", "0" for no time limit).

A code location syncs build history, checks, and freshness from the warehouse on start, after each server-started run, and on a timer (sync_at_least_every, default 30m).

To trigger a sync automatically after local sqb build runs, configure [control] in sqlbuild_project.toml and sign in with sqb login:

[control]
server = "https://control.example.com"
location = "orders-warehouse"

You can also click Sync now on the location’s page or run sqb control sync (requires Developer or Admin):

sqb control sync \
--server https://control.example.com \
--location-id "$LOCATION_ID" \
--target development
Setting Environment variable Default Meaning
[control] server SQLBUILD_CONTROL_SERVER None HTTPS server origin
[control] location SQLBUILD_CONTROL_LOCATION None Location name notified by signed-in sqb build
[control] sync_at_least_every SQLBUILD_CONTROL_SYNC_AT_LEAST_EVERY "30m" Max time between automatic syncs ("0" or "off" disables; min "1m"). Ignored on Databricks, ClickHouse, and MotherDuck
— SQLBUILD_CONTROL_CA_CERT None Extra trusted PEM CA certificate
Adapter Reads needing running compute Idle interval sync
Snowflake Only state tables changed since last sync; catalog, stats, and checks use cloud services Every 30m (no warehouse resume if unchanged)
BigQuery Every sync queries each state table (billed for bytes scanned) Every 30m
Databricks Every read runs on the SQL warehouse Off
ClickHouse, MotherDuck Every read wakes/uses compute Off
PostgreSQL, SQL Server Always-on (set sync_at_least_every = "off" for auto-pausing serverless) Every 30m
DuckDB, SQLite Local file only Every 30m

A location is ready to serve lineage, jobs, and code as soon as it compiles and publishes. Plan previews, history, and costs show Syncing warehouse history until the first sync finishes.

  • A running sync with no progress for 10 minutes is flagged Sync stalled.
  • Transient connection errors retry automatically without stopping the sync; 5 consecutive query or permission failures pause syncing until the next run, publish, or Resume click on Overview.
  • On Snowflake, a completed sync also resumes dynamic models whose pausing build has been silent past [dynamic] heartbeat_grace.

Inspect a single node’s raw and compiled SQL from the current publication without a local checkout or warehouse connection (requires Developer, Admin, or a project role with view.sql):

sqb control sql model:orders \
--server https://control.example.com \
--location-id "$LOCATION_ID" \
--target development

The equivalent API endpoint is GET /api/control/locations/{location_id}/targets/{target}/nodes/{node_key}/sql. The node key must be exact (no selectors). Every read is recorded in the security audit log without copying SQL text.