Seen on mw-dev on 2026-09-22 (cell cell-001, mode: shared-pool, no backends).
controlplane/trino_registry.go derives a registered cell's CoordinatorURL/TLSServerName from its first backend. A pool cell declares no backends, so CoordinatorURL stays empty, and controlplane/trino_inputs.go still builds the console observer client from it (admin.NewTrinoCoordinatorClient(cell.CoordinatorURL, ...)). Effects:
- Every 10s on the leader:
Trino usage collection skipped: list queries failed error="GET /v1/query: Get \"/v1/query\": unsupported protocol scheme \"\"" — Trino usage metering is silently off for pool cells.
GET /api/v1/orgs/:id/trino for orgs on the pool cell answers available: false with no reason and connection: null even when state: ready, so the console never advertises the tenant host set by client_url ({database_name}.dw.dev.postwh.com).
prod-us (cell-001 with a blue backend) does not log the warning.
Likely fix: for a pool cell, point the observer at the pool's coordinator service (the blueprint's coordinator_service_port on the pool members, or the Gateway) and skip the cell-level observer when there is no URL rather than constructing one with an empty base. Metering should probably also fail loudly once per cell rather than warn every tick.
🤖 Generated with Claude Code
Seen on mw-dev on 2026-09-22 (cell
cell-001,mode: shared-pool, nobackends).controlplane/trino_registry.goderives a registered cell'sCoordinatorURL/TLSServerNamefrom its first backend. A pool cell declares no backends, soCoordinatorURLstays empty, andcontrolplane/trino_inputs.gostill builds the console observer client from it (admin.NewTrinoCoordinatorClient(cell.CoordinatorURL, ...)). Effects:Trino usage collection skipped: list queries failed error="GET /v1/query: Get \"/v1/query\": unsupported protocol scheme \"\""— Trino usage metering is silently off for pool cells.GET /api/v1/orgs/:id/trinofor orgs on the pool cell answersavailable: falsewith noreasonandconnection: nulleven whenstate: ready, so the console never advertises the tenant host set byclient_url({database_name}.dw.dev.postwh.com).prod-us (
cell-001with a blue backend) does not log the warning.Likely fix: for a pool cell, point the observer at the pool's coordinator service (the blueprint's
coordinator_service_porton the pool members, or the Gateway) and skip the cell-level observer when there is no URL rather than constructing one with an empty base. Metering should probably also fail loudly once per cell rather than warn every tick.🤖 Generated with Claude Code