Repository navigation
Commit 49b4934
authored
feat!: runs say what failed and how to rerun it, unit tests run locally in DuckDB, health that works through outages (#1628)
Upgrade the server, its schedulers, every location and every worker together:
1. The server's control database migration 0012 rewrites stored `partial` run outcomes as
`failed`, and sensors watching `partial` now watch `failed`.
2. Projects declaring `RunEventKind.PARTIAL` must use `RunEventKind.FAILED`.
3. `sqb scenario test --local` and `--strict` are removed: use `--run-on local`.
4. Container health checks can use `/livez` (process) or `/api/health` (dependencies).
feat!: a run with any failure is failed; the partial outcome and RunEventKind.PARTIAL are removed
feat!: unit tests and scenarios run locally in DuckDB when SQLQuack can convert them (--run-on auto|local|warehouse), falling back to the warehouse otherwise
feat: run_failed events and alerts carry the run URL, the run-level error, failed audits with their warehouse error, duration, trigger and counts
feat: audit:, run:, failed: and skipped: selectors in plan, build, test, audit and check, from local history or a server
feat: the rerun page runs its selection as sqb build, with no hidden rerun state
feat: a singular audit whose reads the target doesn't have is not run, counted on its own, instead of failing the job
feat: the run page leads with what failed, one text filter for the log, quieter header and Details drawer
feat(server): name the control database's real cause, and health that answers without it (/livez, /api/health, /status)
feat(ui): health and outages in the shell, a public Status page
feat(location): run-history sync retries within a minute and never stops for an unreached warehouse
feat: failing event sinks, webhooks and run-history syncs are attention items
fix: an audit whose query couldn't run keeps the warehouse's error
fix(worker): sqb audit reports a singular audit under its own check
fix(cli): an audit that isn't run shows only its NOT RUN row
fix: Started execution is published before the Python phase, and no warehouse connection opens when the SQL phase has nothing to run
fix(cli): the plan line leaves out zero counts
build: pin SQLQuack 0.24.11 parent 41eab04 commit 49b4934
782 files changed
Lines changed: 22822 additions & 3424 deletions
File tree
- benchmarks/duckshop
- edge_cases/orchestration
- project/orchestration/sensors/edge_cases
- clients/typescript/src
- crates
- sqlbuild-analysis/src
- compiler
- _helpers/sql_tests
- main
- graph
- _helpers
- main
- tests
- job_settings
- planner_fixtures
- _helpers
- main
- tests
- python_selection/_helpers
- sqlbuild-cli
- src
- adhoc
- _helpers
- tests
- argv
- dev_session/_helpers
- dispatch
- _helpers
- main
- tests
- native_commands
- _helpers
- command
- location
- main
- tests
- person_login
- _helpers
- main
- run_selectors
- main
- tests/native_commands
- sqlbuild-config/src
- effective
- project
- _helpers
- sqlbuild-core/src
- audit_command/main
- build_aggregate
- main
- build_progress
- _helpers
- main
- cli_text
- _helpers
- tests
- format_command
- _helpers
- main
- lifecycle_events
- plan_display
- main
- tests
- progress
- _helpers
- main
- tests
- run_on
- _helpers
- main
- tests
- scenario_command
- main
- tests
- seed_command/main
- test_command
- main
- tests
- sqlbuild-host/src
- entries
- _helpers
- tests
- sqlbuild-orchestration
- src
- api
- _helpers
- authentication
- resources
- main
- declarations
- health
- _helpers
- main
- node_states
- _helpers
- main
- platform
- _helpers
- health
- location
- maintenance
- main
- health
- person_reads
- run_output/main
- runs
- _helpers
- groups
- lifecycle
- requests
- main
- execution
- requests
- scheduler
- main
- sensors
- _helpers/events
- store_migrations
- _helpers
- sql
- store
- main
- warehouse_history
- _helpers
- main
- checks
- costs
- maintenance
- runs
- warehouse_metadata
- _helpers
- webhooks
- _helpers
- main
- tests
- api
- denials
- credentials
- health
- platform
- run_output
- runs
- claims
- failure_events
- scheduler
- ticks
- sensors
- store
- schema
- sqlbuild-python-base/src
- boundary/main
- build_progress
- event_exporting
- _helpers
- main
- invocation_phases
- _helpers
- main
- native_host/_helpers
- records
- _helpers
- contract_records
- planner_records
- main/fields
- sqlbuild-python-compile/src
- analysis
- _helpers
- main
- compile_driver
- _helpers/setup
- main
- jobs
- setup
- sqlbuild-python-front/src/command_runtime/main
- sqlbuild-python-output/src
- build_progress
- _helpers
- main
- event_exporting/main
- result_output
- _helpers/results
- main/results
- sqlbuild-python-planner/src
- plan_output
- _helpers
- main
- planner_entries
- _helpers
- entries
- plans
- planner_phases
- _helpers
- inputs
- outputs
- main/outputs
- planner_strategy
- _helpers
- main/audit_entries
- sqlbuild-python-project
- src
- graph/_helpers/python_nodes
- planner_scope
- _helpers
- planner_selection
- _helpers
- main
- planner_strategy
- _helpers/fixtures
- main
- project_snapshot
- _helpers/snapshot
- sql_test_glue/_helpers/plan
- sqlbuild-python/src/bindings/_helpers
- audit_command
- build_command
- change_selection
- cli
- command_runtime
- dbt_interop
- location_command
- native_host
- review_command
- scenario_command
- sql_test_command
- sqlbuild-recall/src/store
- main
- sqlbuild-state/src/runs
- main
- tests
- scripts/compiler_differential
- src/sqlbuild
- .agents/skills/sqlbuild/references
- docs
- cli
- concepts
- adapters
- compiler
- auditing
- sql_analysis
- _helpers
- main
- errors/contracts
- executor
- auditing/_helpers
- build
- _helpers
- classes
- local
- _helpers
- classes
- main
- pipeline
- _helpers
- main
- scenario
- _helpers/local
- main
- testing
- main
- orchestration_declarations
- runtime/observability
- classes
- tests
- e2e/src/sqlbuild/cli/commands/main
- bigquery
- build
- no_tests_no_audits
- compile
- databricks
- postgres
- scenario
- snowflake
- sqlite
- sqlserver
- test
- goldens/compiler/failure
- integration/src/sqlbuild
- cli
- commands/main
- statement_counts
- recall
- compiler/compiled_project
- publication
- unit/src/sqlbuild
- cli
- commands/main/entry
- output/main
- build_execution_json
- plan
- project_metadata
- compiler
- planner/_helpers/sql_test_assembly
- sql_analysis/main
- executor
- build/_helpers
- local
- _helpers
- pipeline
- _helpers
- main
- scenario/_helpers
- ui
- e2e
- support
- src
- lib
- api
- mock
- types
- components
- graph
- selection
- shell
- timeline
- ui/button
- format
- lineage
- platform
- selection
- state
- routes
- plan/rerun
- utils
- runs
- [id]
- utils
- utils
- status
- website/src/content/docs/docs
- cli
- concepts
- adapters
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
215 | 215 | | |
216 | 216 | | |
217 | 217 | | |
218 | | - | |
| 218 | + | |
219 | 219 | | |
220 | | - | |
| 220 | + | |
221 | 221 | | |
222 | | - | |
| 222 | + | |
223 | 223 | | |
224 | | - | |
| 224 | + | |
225 | 225 | | |
226 | | - | |
227 | | - | |
228 | | - | |
229 | | - | |
230 | | - | |
231 | | - | |
232 | | - | |
233 | | - | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
234 | 234 | | |
235 | 235 | | |
236 | 236 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
61 | | - | |
| 61 | + | |
| 62 | + | |
62 | 63 | | |
63 | 64 | | |
64 | 65 | | |
| |||
219 | 220 | | |
220 | 221 | | |
221 | 222 | | |
| 223 | + | |
222 | 224 | | |
223 | 225 | | |
224 | 226 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | | - | |
5 | | - | |
| 4 | + | |
| 5 | + | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
13 | 13 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
8 | | - | |
| 7 | + | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| |||
0 commit comments