Skip to content

test(engine): enforce inline clause-bearing query compile conformance#192

Open
Dencyuman wants to merge 5 commits into
mainfrom
test/engine-query-conformance-170
Open

test(engine): enforce inline clause-bearing query compile conformance#192
Dencyuman wants to merge 5 commits into
mainfrom
test/engine-query-conformance-170

Conversation

@Dencyuman

Copy link
Copy Markdown
Contributor

Summary

Close the conformance gap that let the query-clause compile panic ship: the portable compile-parity corpus now contains inline LDL sources (not digest references) for where, relation_where, traverse, and all three combined, exercised by every transport authority indexed by the matrix (in-process Go, packaged stdio, Node WASM, browser WASM, public engine-client). Generator assertions decode the published query-recipe blob and verify predicate trees, operand types/values, and traversal direction, depth, cycle policy, and relation types — not just success flags. Mutation-checked: swapping compile_recipe.go back to its pre-#181 revision fails the matrix.

Fixes #170.

Linked Issues

Contributor Agreement

  • I have read and agree to the LayerDraw Contributor License Agreement 1.0 and confirm that I have the rights and any employer authorization required to submit this Contribution.

Add where, relation_where, traverse, and combined inline-source cases
to the portable compile-parity corpus so shipped transports exercise
the clause paths that digest-referenced fixtures let slip. Generator
assertions decode the published query-recipe blob and verify predicate
trees, operand types and values, and traversal metadata; reverting the
query-clause wire mapping fix makes the matrix fail.
The browser harness pins the transport-neutral corpus closure; teach it
the four inline query-clause cases and the new feature count.
@Dencyuman
Dencyuman force-pushed the test/engine-query-conformance-170 branch from e8840d3 to 41cb33d Compare July 21, 2026 18:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Triage

Development

Successfully merging this pull request may close these issues.

[Feature]: Enforce inline-source query compile conformance through shipped transports

1 participant