feat(dql/maps): add runtime query evaluation - #2707
Draft
aofei wants to merge 3 commits into
Draft
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #2707 +/- ##
==========================================
- Coverage 94.26% 94.16% -0.11%
==========================================
Files 32 32
Lines 10570 10590 +20
==========================================
+ Hits 9964 9972 +8
- Misses 431 441 +10
- Partials 175 177 +2 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Contributor
There was a problem hiding this comment.
Code Review
This pull request introduces support for index-based access in DQL queries by adding the XGo_Index method and updates the yieldAnyNode logic. My review highlights potential memory issues with the unbounded evalCache and the eager materialization of results in filterNodeSet. Additionally, I have suggested using strconv.ParseInt instead of strconv.Atoi to support non-decimal integer literals consistently.
aofei
force-pushed
the
dql-eval
branch
4 times, most recently
from
April 15, 2026 09:40
b60c7e9 to
ec0c6cc
Compare
Define framework resource kinds, pack-document discovery, typed scope bindings, and static tool semantics for classfile resources. Specify active project groups and flat project lowering, including shared project types, fragment ordering, field initialization, and callback assembly. Clarify pack-document merging and DQL query fragments relative to implicit discovery roots. Fixes goplus#2704 Updates goplus#2719 Updates goplus#2802 Signed-off-by: Aofei Sheng <aofei@aofeisheng.com>
Add `cl/outline/classfile` to load resource schema from one typed framework package. This reader collects resource kinds, discovery directives, name-discovery directives, handle-bearing types, and `resource-api-scope-binding` directives from Go and XGo source. Also fix `outline.NewPackage` to load Go-file constant expressions when reading package outlines. This makes the schema reader work on real Go framework packages such as spx, not just on synthetic test packages. Updates goplus#2704 Signed-off-by: Aofei Sheng <aofei@aofeisheng.com>
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.
No description provided.