refactor(query): add logical schema and planner - #2915
Merged
Ahoo-Wang merged 1 commit intoAug 9, 2026
Merged
Conversation
Up to standards ✅🟢 Issues
|
| Metric | Results |
|---|---|
| Complexity | 589 |
NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## agent/query-service-p1b-admission-normalizer #2915 +/- ##
==================================================================================
- Coverage 91.68% 91.07% -0.61%
- Complexity 7092 7348 +256
==================================================================================
Files 997 1007 +10
Lines 27428 28808 +1380
Branches 2890 3169 +279
==================================================================================
+ Hits 25146 26237 +1091
- Misses 1290 1466 +176
- Partials 992 1105 +113
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Base automatically changed from
agent/query-service-p1b-admission-normalizer
to
agent/query-service-architecture-upgrade
August 9, 2026 07:29
Ahoo-Wang
merged commit Aug 9, 2026
3252a1e
into
agent/query-service-architecture-upgrade
11 checks passed
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
QueryTarget, with canonical field aliases, nested search scopes, declared field types/operators/capabilities, and order-independent schema contract idsWhy
The query architecture upgrade needs a deterministic planning boundary between normalized legacy inputs and future backend compilation. Without a logical schema and validated plan, MongoDB/Elasticsearch compilers would still infer field meaning, capabilities, mandatory security filters, pagination stability, and analytics semantics independently.
This PR establishes that boundary without wiring it into production execution.
Compatibility / impact
me.ahoo.wow.query.internalVerification
./gradlew :wow-query:check --rerun-tasks./gradlew :wow-query:test --tests me.ahoo.wow.query.PublicQueryContractCompatibilityTest./gradlew :wow-openapi:test --tests me.ahoo.wow.openapi.snapshot.OpenApiCompatibilitySnapshotTestgit diff --cached --check