Repository navigation
Commit bb1c502
authored
feat: answer simple commands in sqb, upgrade fensu and accept SharedMergeTree (#1170)
* fix: release the compute log lock before rejecting a write to a finished capture
A write that reached a capture already marked complete built its rejection while still holding
the storage lock. Building it imports Python, which can release the GIL; the main thread then
pruning the logs waited for that lock while holding the GIL, so neither could continue and the
command never exited. The lock is now released before the rejection is raised.
* test: fail a hung E2E command with every thread's stack instead of stalling the job
run_sqb now gives each command ten minutes. A command still running then has its process group
aborted with Python's fault handler enabled, so the failing test reports every thread's stack,
and the group is killed. Standard input ends at once when a test passes none.
* refactor: share project scaffolding and rule listing text outside the Python bindings
* feat: run help, usage errors, init, skills, clean and rules list/show in sqb without Python
* docs: note that Recall does not record commands sqb answers without Python
* fix: resolve native project paths and the home directory as Python does on Windows
* fix: report lost stdout, Ctrl+C, init failures and the version as the Python CLI does
* chore(deps): bump fensu to 0.27
* chore: move function name data under the crate source
* refactor: name large tuple types
* chore: enable fensu dead-code enforcement and remove dead code
* refactor: name large tuple types introduced on main
* chore: satisfy fensu 0.27 in code added on main
* fix(clickhouse): accept ClickHouse Cloud SharedMergeTree engines
Shared* MergeTree engines now pass model validation like their
MergeTree counterparts. Replicated* engines stay rejected. Support is
best effort and untested on ClickHouse Cloud.
* test: pin buffered stdout in broken-pipe parity tests and list the compute log logger
* ci: give native-building verify jobs 45 minutes
* fix(sqlite): switch a new database file to WAL one connection at a time
Opening several connections to a new file at once could fail with A702 at once: SQLite reports
the WAL switch as busy without waiting while another connection switches the same file. The
switch now goes through the per-file writer gate. Also give wheel builds 75 minutes, since the
Intel macOS build reached the 45-minute limit.1 parent 92a526c commit bb1c502
281 files changed
Lines changed: 9000 additions & 3022 deletions
File tree
- .github/workflows
- crates
- sqlbuild-analysis/src
- assembly/analysis_session
- _helpers
- tests
- binding_locations
- main
- tests
- lineage
- tests
- planner_fixtures
- _helpers
- main
- tests
- query_analysis/_helpers
- semantic_checks
- _helpers
- metadata_checks
- resource_sql
- tests
- semantic_usage
- semantic_validation
- _helpers
- main
- tests
- sqlbuild-attachments/src/functions
- _helpers
- main
- sqlbuild-cli
- src
- compute_logs
- main
- launcher
- _helpers
- native_commands
- _helpers
- main
- tests
- sqlbuild-core/src
- dbt_plan/main
- init_command
- main
- lifecycle_events
- main
- sqlbuild-discovery/src/_helpers
- sqlbuild-model-config/src/model_validation
- _helpers
- tests
- sqlbuild-python/src/bindings
- _helpers
- analysis_session
- analysis
- boundary
- command_runtime
- compile_attachment
- compile_delta
- compile_driver
- compile_outputs
- compiled_project
- contracts
- diff_report
- discovery
- graph
- hand_built
- init_command
- lineage
- load
- model_config
- plan_command
- plan_output
- planner_entries
- planner_identity
- planner_phases
- planner_strategy
- planner_warehouse
- project_assembly
- record_behaviours
- refactor
- render
- rules
- scenario_command
- scopes
- semantic_checks
- semantic_shapes
- sql_test_glue
- sqltext
- type_system
- sqlbuild-recall/src
- clickhouse
- store/main
- sqlbuild-refactor/src/refactoring/_helpers/scanning
- sqlbuild-rules/src
- engine
- _helpers
- tests
- fix_verification
- main
- lint_text/_helpers
- rule_catalogue
- main
- sql_lint
- _helpers
- sqlbuild-scopes/src
- scope_index/_helpers
- scope_report/_helpers
- scope_text/_helpers
- sqlbuild-sqltext/src/compiler
- _helpers/sql_interpolation
- tests
- scripts
- cold_compile_performance
- _helpers
- compiler_differential
- _helpers
- analysis_corpus
- comparing
- coverage
- classes
- fensu_policy
- native_module_paths
- _helpers
- planner_differential/_helpers/capturing
- src/sqlbuild
- .agents/skills/sqlbuild/references/docs/concepts
- adapters
- observability
- adapters
- bigquery
- clickhouse
- duckdb/_helpers
- snowflake
- sqlite
- classes
- adapter/contract
- compiler
- frontier
- lineage
- migrations
- planner
- executor
- clone
- python_nodes
- integrations/dagster
- _helpers
- tests
- integration/src/sqlbuild
- adapters/sqlite
- cli/entry
- unit
- scripts/native_module_paths/_helpers
- src/sqlbuild
- adapters/clickhouse
- compiler/frontier
- website/src/content/docs/docs/concepts
- adapters
- observability
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
91 | | - | |
| 91 | + | |
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
255 | 255 | | |
256 | 256 | | |
257 | 257 | | |
258 | | - | |
| 258 | + | |
259 | 259 | | |
260 | 260 | | |
261 | 261 | | |
| |||
342 | 342 | | |
343 | 343 | | |
344 | 344 | | |
345 | | - | |
| 345 | + | |
346 | 346 | | |
347 | 347 | | |
348 | 348 | | |
| |||
379 | 379 | | |
380 | 380 | | |
381 | 381 | | |
382 | | - | |
| 382 | + | |
383 | 383 | | |
384 | 384 | | |
385 | 385 | | |
| |||
415 | 415 | | |
416 | 416 | | |
417 | 417 | | |
418 | | - | |
| 418 | + | |
419 | 419 | | |
420 | 420 | | |
421 | 421 | | |
| |||
468 | 468 | | |
469 | 469 | | |
470 | 470 | | |
471 | | - | |
| 471 | + | |
472 | 472 | | |
473 | 473 | | |
474 | 474 | | |
| |||
499 | 499 | | |
500 | 500 | | |
501 | 501 | | |
502 | | - | |
| 502 | + | |
503 | 503 | | |
504 | 504 | | |
505 | 505 | | |
| |||
524 | 524 | | |
525 | 525 | | |
526 | 526 | | |
527 | | - | |
| 527 | + | |
528 | 528 | | |
529 | 529 | | |
530 | 530 | | |
| |||
572 | 572 | | |
573 | 573 | | |
574 | 574 | | |
575 | | - | |
| 575 | + | |
576 | 576 | | |
577 | 577 | | |
578 | 578 | | |
| |||
717 | 717 | | |
718 | 718 | | |
719 | 719 | | |
720 | | - | |
| 720 | + | |
721 | 721 | | |
722 | 722 | | |
723 | 723 | | |
| |||
788 | 788 | | |
789 | 789 | | |
790 | 790 | | |
791 | | - | |
| 791 | + | |
792 | 792 | | |
793 | 793 | | |
794 | 794 | | |
| |||
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 | |
|---|---|---|---|
| |||
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
93 | | - | |
| 93 | + | |
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| |||
454 | 454 | | |
455 | 455 | | |
456 | 456 | | |
457 | | - | |
| 457 | + | |
| 458 | + | |
| 459 | + | |
| 460 | + | |
| 461 | + | |
| 462 | + | |
| 463 | + | |
| 464 | + | |
| 465 | + | |
| 466 | + | |
458 | 467 | | |
459 | 468 | | |
460 | 469 | | |
| |||
529 | 538 | | |
530 | 539 | | |
531 | 540 | | |
532 | | - | |
533 | | - | |
534 | | - | |
535 | | - | |
536 | | - | |
537 | | - | |
538 | | - | |
539 | | - | |
540 | | - | |
| 541 | + | |
| 542 | + | |
| 543 | + | |
| 544 | + | |
| 545 | + | |
| 546 | + | |
| 547 | + | |
| 548 | + | |
| 549 | + | |
541 | 550 | | |
542 | 551 | | |
543 | 552 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
| 26 | + | |
| 27 | + | |
27 | 28 | | |
28 | 29 | | |
29 | 30 | | |
| |||
1424 | 1425 | | |
1425 | 1426 | | |
1426 | 1427 | | |
1427 | | - | |
1428 | | - | |
| 1428 | + | |
| 1429 | + | |
1429 | 1430 | | |
1430 | | - | |
1431 | | - | |
1432 | | - | |
1433 | | - | |
1434 | | - | |
1435 | | - | |
| 1431 | + | |
| 1432 | + | |
| 1433 | + | |
| 1434 | + | |
| 1435 | + | |
| 1436 | + | |
1436 | 1437 | | |
1437 | 1438 | | |
1438 | 1439 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
192 | 192 | | |
193 | 193 | | |
194 | 194 | | |
195 | | - | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
196 | 201 | | |
197 | 202 | | |
198 | 203 | | |
| |||
309 | 314 | | |
310 | 315 | | |
311 | 316 | | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
312 | 327 | | |
313 | | - | |
314 | | - | |
315 | | - | |
316 | | - | |
| 328 | + | |
317 | 329 | | |
318 | 330 | | |
319 | 331 | | |
320 | 332 | | |
321 | 333 | | |
322 | 334 | | |
323 | 335 | | |
324 | | - | |
325 | | - | |
326 | | - | |
327 | | - | |
328 | | - | |
329 | | - | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
330 | 342 | | |
331 | 343 | | |
332 | 344 | | |
| |||
335 | 347 | | |
336 | 348 | | |
337 | 349 | | |
338 | | - | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
339 | 356 | | |
340 | 357 | | |
341 | 358 | | |
| |||
651 | 668 | | |
652 | 669 | | |
653 | 670 | | |
654 | | - | |
655 | | - | |
656 | | - | |
657 | | - | |
658 | | - | |
659 | | - | |
660 | | - | |
661 | | - | |
662 | | - | |
| 671 | + | |
| 672 | + | |
| 673 | + | |
| 674 | + | |
| 675 | + | |
| 676 | + | |
| 677 | + | |
| 678 | + | |
| 679 | + | |
| 680 | + | |
| 681 | + | |
| 682 | + | |
| 683 | + | |
| 684 | + | |
| 685 | + | |
| 686 | + | |
| 687 | + | |
| 688 | + | |
| 689 | + | |
| 690 | + | |
663 | 691 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| 39 | + | |
39 | 40 | | |
40 | | - | |
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
230 | 230 | | |
231 | 231 | | |
232 | 232 | | |
233 | | - | |
| 233 | + | |
234 | 234 | | |
235 | 235 | | |
236 | 236 | | |
| |||
0 commit comments