-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[incubator-kie-issues#1206] DMN - Remove code path duplication for code gen execution #5978
Merged
Conversation
This file contains 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
…nd Visitor signatures
… Visitor signatures. Reordered Visitor methods
… - All node implemented. Broken
… - All node implemented. Broken
… - fixed FEELDateTimeDurationTest
… - fixed FEELStringOperationsTest
… - fixed FEELStaticTypeTest
… - fixed feel tests
…ed alphanetwork support. ALl tests works
…roved codegen - singleton BASENODE instantiation
…roved codegen - singleton UNARY_TESTS instantiation
Preliminary benchmark comparison of main branch
comparison commit
|
Preliminary benchmark comparison of main branch
comparison commit
|
yesamer
reviewed
Jun 19, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code review (part 1)
kie-dmn/kie-dmn-feel/src/main/java/org/kie/dmn/feel/lang/ast/DashNode.java
Show resolved
Hide resolved
kie-dmn/kie-dmn-feel/src/main/java/org/kie/dmn/feel/lang/ast/CTypeNode.java
Outdated
Show resolved
Hide resolved
kie-dmn/kie-dmn-feel/src/main/java/org/kie/dmn/feel/lang/ast/NameRefNode.java
Outdated
Show resolved
Hide resolved
kie-dmn/kie-dmn-feel/src/test/java/org/kie/dmn/feel/runtime/FEELExpressionsTest.java
Outdated
Show resolved
Hide resolved
...kie-dmn-feel/src/test/java/org/kie/dmn/feel/codegen/feel11/DirectCompilerUnaryTestsTest.java
Outdated
Show resolved
Hide resolved
kie-dmn/kie-dmn-feel/src/main/java/org/kie/dmn/feel/lang/ast/Visitor.java
Outdated
Show resolved
Hide resolved
kie-dmn/kie-dmn-feel/src/main/java/org/kie/dmn/feel/codegen/feel11/ProcessedUnaryTest.java
Outdated
Show resolved
Hide resolved
kie-dmn/kie-dmn-feel/src/main/java/org/kie/dmn/feel/codegen/feel11/ProcessedUnaryTest.java
Outdated
Show resolved
Hide resolved
baldimir
reviewed
Jun 21, 2024
kie-dmn/kie-dmn-feel/src/test/java/org/kie/dmn/feel/util/CompilerUtils.java
Outdated
Show resolved
Hide resolved
baldimir
approved these changes
Jun 24, 2024
yesamer
approved these changes
Jun 24, 2024
rgdoliveira
pushed a commit
to rgdoliveira/drools
that referenced
this pull request
Jul 8, 2024
…de gen execution (apache#5978) * [incubator-kie-issues#1206_reimplement_visitor] Refactored BaseNode and Visitor signatures * [incubator-kie-issues#1206_reimplement_visitor] Restored BaseNode and Visitor signatures. Reordered Visitor methods * [incubator-kie-issues#1206_reimplement_visitor] WIP - broken * [incubator-kie-issues#1206_reimplement_visitor_new_node_approach] WIP - All node implemented. Broken * [incubator-kie-issues#1206_reimplement_visitor_new_node_approach] WIP - All node implemented. Broken * [incubator-kie-issues#1206_reimplement_visitor_new_node_approach] WIP - fixing tests * [incubator-kie-issues#1206_reimplement_visitor_new_node_approach] WIP - fixed FEELDateTimeDurationTest * [incubator-kie-issues#1206_reimplement_visitor_new_node_approach] WIP - fixed FEELStringOperationsTest * [incubator-kie-issues#1206_reimplement_visitor_new_node_approach] WIP - fixed FEELStaticTypeTest * [incubator-kie-issues#1206_reimplement_visitor_new_node_approach] WIP - fixed feel tests * [incubator-kie-issues#1206_reimplement_visitor_new_node_approach] Fixed alphanetwork support. ALl tests works * [incubator-kie-issues#1206_reimplement_visitor_new_node_approach] Improved codegen - singleton BASENODE instantiation * [incubator-kie-issues#1206_reimplement_visitor_new_node_approach] Improved codegen - singleton UNARY_TESTS instantiation * [incubator-kie-issues#1206] Restore log config * [incubator-kie-issues#1206] Removing unused methods/classes * [incubator-kie-issues#1206] Further cleanup/reorganization * [incubator-kie-issues#1206] Managing AliasFEELType * [incubator-kie-issues#1206] Managing AliasFEELType * [incubator-kie-issues#1206] Removing duplication of same nodes in codegen * [incubator-kie-issues#1206] Cleanup * [incubator-kie-issues#1206] Removed unused class * [incubator-kie-issues#1206] Fix as per PR request * [incubator-kie-issues#1206] Small refactoring/improvement --------- Co-authored-by: Gabriele-Cardosi <[email protected]>
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.
Fixes apache/incubator-kie-issues#1206
This PR
Side-note: still WIP - lot of cleanup and verification needed, but wanted to start discussing the approach
How to replicate CI configuration locally?
Build Chain tool does "simple" maven build(s), the builds are just Maven commands, but because the repositories relates and depends on each other and any change in API or class method could affect several of those repositories there is a need to use build-chain tool to handle cross repository builds and be sure that we always use latest version of the code for each repository.
build-chain tool is a build tool which can be used on command line locally or in Github Actions workflow(s), in case you need to change multiple repositories and send multiple dependent pull requests related with a change you can easily reproduce the same build by executing it on Github hosted environment or locally in your development environment. See local execution details to get more information about it.
How to retest this PR or trigger a specific build:
for pull request and downstream checks
for a full downstream build
run_fdb
for Jenkins PR check only
Build Now
button.