-
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
Split Beta Nodes #5787 #5788
base: main
Are you sure you want to change the base?
Split Beta Nodes #5787 #5788
Conversation
PR job Reproducerbuild-chain build full_downstream -f 'https://raw.githubusercontent.com/${AUTHOR:apache}/incubator-kie-drools/${BRANCH:main}/.ci/buildchain-config-pr-cdb.yaml' -o 'bc' -p apache/incubator-kie-drools -u #5788 --skipParallelCheckout NOTE: To install the build-chain tool, please refer to https://github.com/kiegroup/github-action-build-chain#local-execution Please look here: https://ci-builds.apache.org/job/KIE/job/drools/job/main/job/pullrequest_jobs/job/drools-pr/job/PR-5788/1/display/redirect Test results:
Those are the test failures: org.drools.compiler.integrationtests.incrementalcompilation.AddRemoveRulesTest.testAddRemoveFacts[KieBase type=CLOUD_IDENTITY]class org.drools.core.reteoo.ExistsRight cannot be cast to class org.drools.core.reteoo.LeftTupleNode (org.drools.core.reteoo.ExistsRight and org.drools.core.reteoo.LeftTupleNode are in unnamed module of loader 'app')org.drools.compiler.integrationtests.incrementalcompilation.AddRemoveRulesTest.testSharedRian2[KieBase type=CLOUD_IDENTITY]class org.drools.core.reteoo.ExistsRight cannot be cast to class org.drools.core.reteoo.LeftTupleNode (org.drools.core.reteoo.ExistsRight and org.drools.core.reteoo.LeftTupleNode are in unnamed module of loader 'app')org.drools.compiler.integrationtests.incrementalcompilation.AddRemoveRulesTest.testSharedRianWithFire[KieBase type=CLOUD_IDENTITY]class org.drools.core.reteoo.ExistsRight cannot be cast to class org.drools.core.reteoo.LeftTupleNode (org.drools.core.reteoo.ExistsRight and org.drools.core.reteoo.LeftTupleNode are in unnamed module of loader 'app')org.drools.compiler.integrationtests.incrementalcompilation.AddRemoveRulesTest.testRemoveRuleWithSharedRia[KieBase type=CLOUD_IDENTITY]class org.drools.core.reteoo.ExistsRight cannot be cast to class org.drools.core.reteoo.LeftTupleNode (org.drools.core.reteoo.ExistsRight and org.drools.core.reteoo.LeftTupleNode are in unnamed module of loader 'app')org.drools.compiler.integrationtests.incrementalcompilation.AddRemoveRulesTest.testReaddRulesSharedRianDoubleNots[KieBase type=CLOUD_IDENTITY]class org.drools.core.reteoo.NotRight cannot be cast to class org.drools.core.reteoo.LeftTupleNode (org.drools.core.reteoo.NotRight and org.drools.core.reteoo.LeftTupleNode are in unnamed module of loader 'app')org.drools.compiler.integrationtests.incrementalcompilation.AddRemoveRulesTest.testSharedRian[KieBase type=CLOUD_IDENTITY]class org.drools.core.reteoo.ExistsRight cannot be cast to class org.drools.core.reteoo.LeftTupleNode (org.drools.core.reteoo.ExistsRight and org.drools.core.reteoo.LeftTupleNode are in unnamed module of loader 'app')org.drools.compiler.integrationtests.incrementalcompilation.AddRemoveRulesTest.testAddRemoveFacts[KieBase type=CLOUD_IDENTITY_MODEL_PATTERN]class org.drools.core.reteoo.ExistsRight cannot be cast to class org.drools.core.reteoo.LeftTupleNode (org.drools.core.reteoo.ExistsRight and org.drools.core.reteoo.LeftTupleNode are in unnamed module of loader 'app')org.drools.compiler.integrationtests.incrementalcompilation.AddRemoveRulesTest.testSharedRian2[KieBase type=CLOUD_IDENTITY_MODEL_PATTERN]class org.drools.core.reteoo.ExistsRight cannot be cast to class org.drools.core.reteoo.LeftTupleNode (org.drools.core.reteoo.ExistsRight and org.drools.core.reteoo.LeftTupleNode are in unnamed module of loader 'app')org.drools.compiler.integrationtests.incrementalcompilation.AddRemoveRulesTest.testSharedRianWithFire[KieBase type=CLOUD_IDENTITY_MODEL_PATTERN]class org.drools.core.reteoo.ExistsRight cannot be cast to class org.drools.core.reteoo.LeftTupleNode (org.drools.core.reteoo.ExistsRight and org.drools.core.reteoo.LeftTupleNode are in unnamed module of loader 'app')org.drools.compiler.integrationtests.incrementalcompilation.AddRemoveRulesTest.testRemoveRuleWithSharedRia[KieBase type=CLOUD_IDENTITY_MODEL_PATTERN]class org.drools.core.reteoo.ExistsRight cannot be cast to class org.drools.core.reteoo.LeftTupleNode (org.drools.core.reteoo.ExistsRight and org.drools.core.reteoo.LeftTupleNode are in unnamed module of loader 'app')org.drools.compiler.integrationtests.incrementalcompilation.AddRemoveRulesTest.testReaddRulesSharedRianDoubleNots[KieBase type=CLOUD_IDENTITY_MODEL_PATTERN]class org.drools.core.reteoo.NotRight cannot be cast to class org.drools.core.reteoo.LeftTupleNode (org.drools.core.reteoo.NotRight and org.drools.core.reteoo.LeftTupleNode are in unnamed module of loader 'app')org.drools.compiler.integrationtests.incrementalcompilation.AddRemoveRulesTest.testSharedRian[KieBase type=CLOUD_IDENTITY_MODEL_PATTERN]class org.drools.core.reteoo.ExistsRight cannot be cast to class org.drools.core.reteoo.LeftTupleNode (org.drools.core.reteoo.ExistsRight and org.drools.core.reteoo.LeftTupleNode are in unnamed module of loader 'app') |
Hi Mark, let's please merge this after we release Apache 10. |
Yes that's fine. |
@@ -201,9 +201,9 @@ public void removeTerminalNode(RuleRemovalContext context, TerminalNode tn, Coll | |||
|
|||
private Collection<BaseNode> removeNodes(AbstractTerminalNode terminalNode, Collection<InternalWorkingMemory> wms, RuleRemovalContext context) { | |||
Map<Integer, BaseNode> stillInUse = new HashMap<>(); | |||
Collection<ObjectSource> alphas = new HashSet<>(); | |||
Collection<ObjectSource> alphas = new ArrayList<>(); |
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.
We used a Set here to be sure of not traversing and processing the same nodes more than once, are you sure that there are no longer duplication and it is now save to use a List instead?
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.
I'll check this, when I rebase again after 10.0 and fix conflicts.
Notes in the issue #5787
#5787
I am not looking to merge this yet; still working on cleaning up the code and changing the names of classes.