Repository navigation
refactor: run build, audit, scenario, query, dag, contract, init, format and cost natively - #1103
Merged
Merged
Conversation
… fixture nulls natively Interpolation sentinels for lint and formatting (references, macros, templates, hook context and generic-audit parameters), sentinel restoration, interpolation tokens at an offset, reason-required suppressions and the fixture typed-null candidate scan run in the new sqlbuild-rules lint_text module. SQL lint preparation now handles non-ASCII text natively with character offsets, so the Python fallback is gone. Delete the Python token, suppression and candidate modules.
Body ranges by project role, trailing-whitespace and omitted ceremonial SELECT handling, sentinel widths, deduplicated batch formatting, restoration and splicing, and the format-unsafe faults run in sqlbuild-rules. Delete the Python body formatter.
Build the native lint requests (rule selection, thresholds, identifiers, relation keys and the omitted ceremonial SELECT), run them in one deduplicated batch and map every diagnostic, end position and fix back through the expansion passes onto authored source in sqlbuild-rules. Parse failures become authored faults as before. Delete the Python native SQL lint boundary and its engine-response injection tests.
…rs in sqlbuild-core
…ngs and Python-node rows
kvlonge
enabled auto-merge (squash)
October 13, 2026 23:49
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
Rust-hosted SQLBuild port (CHI-585), fourth combined PR: the remaining Phase 3 (CHI-592) command handlers except dbt, plus Phase 1 (CHI-589) lint and format.
Changes
sqb build(planning safety gates and prompts, limits, Python-node lifecycle, execution, completion),audit,scenario test/capture,query,dag,contract,init,format,cost.sqlbuild-core.defer_clone.py, macro expansion, the--fixcompile session, cost allocation/Snowflake parsing.Intentional differences: an absolute
.sqlscenario selector now selects only that scenario; bad[format]TOML raises a different error type; traceback frames; internal Python APIs removed or renamed.Verification
make check-ci.