Repository navigation
refactor: host planner warehouse inspection and CLI helpers in Rust - #1110
Merged
Merged
Conversation
Add pure planner decisions for warehouse inspection: physical cursor read grouping and statements, retention directions and change phases, table type copy names, missing source table messages, unknown freshness warnings, full rebuild causes, managed source call scanning, deferral target templates, and the migration fingerprint cache key and entry format, byte-compatible with the stored cache rows.
Move warehouse snapshot gathering, cursor bound reads, source columns, semantic source completion, source table checks, managed source deferral, planner source freshness, the execution planning phases, retention and table type planning, and the migration fingerprint cache into native code. Adapter, catalog and connection calls stay Python callbacks in the same order and count; the fingerprint cache keeps its SQLite file and row format. Delete the replaced Python and move tests of removed internals to integration tests over the native entry points.
…ue natively Parse sqb dbt execution flags with the native argparse engine over an exported parser table, resolve dbt config overrides, vars, plan options, manifest path, interop adapter, dbt-profile connections and the compile-time dbt reference resolver in Rust, and render dbt init progress with a native reporter. The replaced Python modules are deleted.
…ry natively CliNamespace becomes a native class whose defaults come from a Rust table, the offered launch record lives in native context variables read from the leading launch record option, and run_compile builds the reuse request and replays or runs the compile in Rust. The replaced Python modules are deleted.
…r-clone natively Move build cost finalization, Python check run-state recording, dependency relation targets, relevant-check selection and read-side preflight, the offline refactor compile, and the build defer-clone prephase into the native build, check and refactor owners. Executor, adapter and planner traversal callbacks stay in Python; the clone executor entry modules only Rust imports gain a leading underscore. The replaced Python modules and their dead models are deleted.
kvlonge
enabled auto-merge (squash)
October 15, 2026 04:03
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
Continue Rust-hosted planning and CLI execution while preserving adapter overrides, persisted formats, diagnostics and exit codes.
Changes
Verification