feat: complete Phase 3 QueryIR cutover and deprecation track#106
Merged
Conversation
Cut query execution over to QueryIR envelopes end-to-end so the runtime no longer depends on legacy QueryDef JSON on core paths. Add operator-style predicate deprecation warnings with migration docs and synchronize Phase 3 roadmap/migration evidence to keep issue and roadmap state aligned. Co-authored-by: Cursor <cursoragent@cursor.com>
Clarify that Phase 7 is the public upgrade release with compatibility support and move hard deprecated-path removal to v0.13.0 (Phase 8). Update warning text, query docs, and migration/roadmap guidance to keep policy and user messaging synchronized. Co-authored-by: Cursor <cursoragent@cursor.com>
Introduce a dedicated pytest marker for temporary operator-path compatibility tests, migrate low-risk incidental operator-style tests to lambda predicates, and update roadmap/migration docs to explicitly track inventory in Phase 7 and removal in Phase 8 (v0.13.0). Co-authored-by: Cursor <cursoragent@cursor.com>
This was referenced Jun 19, 2026
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.
Summary
fetch_filtered/count_filtered/update_filtered/delete_filtered, removing legacy QueryDef JSON from the core hot pathwhere(lambda t: ...)andcol()), plus warning assertions in tests#84-#87Test plan
uv run pytest tests/test_static_contracts.py tests/test_query_builder.py tests/test_query_typing.py tests/test_shadow_reports.py -quv run pytest tests/test_ir_vectors_contract.py -quv run pytest tests/test_docs_examples.py -qcargo test --no-default-features --features testing query_ir_roundtrip_preserves_semantics_signatureMade with Cursor