You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 04f0b64
Browse filesBrowse the repository at this point in the historyBrowse files
feat!: failing locations impossible to miss, cursor windows per model, folder roots in the UI
Upgrade the server, its schedulers, every location and every worker together:
1. Run `sqb compile` on each project with this release: it now resolves job and sensor
selectors (D017), which a location only checked when publishing.
2. Upgrade the server and schedulers, then every location and worker.
3. Container health checks: use `sqb location health --allow-starting` for liveness, so a
location loading its first snapshot isn't restarted. Deploy readiness checks keep the plain
command and wait for exit 0.
feat!: the server alone computes a location's health state, and serves it
feat: a failing location shows a banner on every page, a "Location failing" item on the Overview, its state on the Locations pages, and a location_failing platform event
fix: resolve job and sensor selectors at compile, as a location does when it publishes
fix(cli): report starting until a restarted location's own first load finishes
fix: order a location's load reports by arrival, so a later publication clears earlier failures
fix: fail plans at once with the load error when a location can't load the current code
fix(cli): a crashed discovered-set check discovers again, so its failure is reported
fix: a location that can't get its next generation number reports a failed load
fix: a full build binds cursor intrinsics to the whole cursor range instead of refusing
fix: one model's planning error no longer fails the whole plan
fix: clamp an explicit cursor window to each model's cursor_start
fix(ui): group the catalog and overview by folders below sql/ and python/nodes/
fix(server): name cost folders as the catalog does and offer only selectable path folders
fix(ui): make each Cost drill one navigation, so Back right after drilling goes up
fix: compute one build status per node on the server and render it on every page
fix(cli): keep publication records off sqb dev's stdout
fix(deps): upgrade to SQLQuack 0.23.1 and SQLClean 0.12.1
test: fix the duckshop benchmark for SQLClean 0.12 findings and the sql/ layout
BREAKING CHANGE: location health and planning report failures they used to hide.
- GET /api/control/locations/{location_id}/targets/{target}/health returns
{"state": ..., "observations": [...]} instead of a bare array of observations.
- `sqb location health` exits 0 only when healthy. discovery_failed, degraded and the new
change_plan_failed exit 1, the new starting state exits 3 (0 with --allow-starting), and 2
still means the state couldn't be read. A location's state is ordered by when its reports
arrived, not by generation number.
- `sqb compile` fails with D017 on a job or sensor selector a location would refuse to publish,
such as a path selector without its sql/models/ or python/nodes/ root.
- `sqb plan` exits 1 when any model can't be planned; that model's row has action "error" with
error {code, message, help}, and the plan has has_errors: true. Builds still refuse a
selection containing a model that can't be planned.
- A non-microbatch full build no longer fails with S204 on __cursor_start()/__cursor_end(): they
bind to the model's cursor_start (or the cursor type's lowest value) and the type's highest
value.
- An explicit --start-cursor-ts/--end-cursor-ts window is clamped to each model's cursor_start,
and a model whose floor is after the window is skipped with a reason; P001 is raised only when
the window leaves nothing to build across the selection.
Refs CHI-1657, CHI-1659, CHI-1660, CHI-1662, CHI-1665, CHI-1666
0 commit comments