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 94683ca
Browse filesBrowse the repository at this point in the historyBrowse files
feat(compiler): add compiler engine switch and differential harness (#987)
* feat(compiler): add compiler engine switch and engine-namespaced caches
Select the compiler engine with SQLBUILD_COMPILER_ENGINE (python by
default, or native) or the hidden --compiler-engine global option. All
frontier stages run through one compile_frontier seam; the native engine
currently falls back to the Python stages. Compile JSON and sqb debug
report the engine, compile reuse keys include it, and the native engine
keeps its compiler, Rules and lineage stores in -native-v1 directories so
the Python stores stay untouched.
* test(compiler): add compiler engine differential harness and corpora
Compare exit codes, normalised stdout and stderr, the compiled tree,
manifest, DAG and per-model query fingerprints between two engines over
the e2e fixtures, website examples, seeded generated projects, a failure
corpus and dense projects, with optional per-stage captures.
* ci: run the compiler engine differential per pull request and nightly
* fix(compiler): defer stage-capture annotations for Python 3.12
itertools.count is not subscriptable at runtime before Python 3.13, so the
ClassVar annotation failed at import on 3.12.
* test(compile): leave the engine label out of semantic compile fingerprints
* test(cli): match the engine choice error across Python versions
0 commit comments