mariofusco commented on PR #6103:
URL: 
https://github.com/apache/incubator-kie-drools/pull/6103#issuecomment-2376361616

   > Thanks, Mario.
   > 
   > GHA kogito-runtimes (and other downstreams):
   > 
   > ```
   > 2024-09-25T16:38:02.4742156Z [ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-compile) 
on project jbpm-flow: Compilation failure
   > 2024-09-25T16:38:02.4744813Z [ERROR] 
/home/runner/work/incubator-kie-drools/incubator-kie-drools/apache_incubator-kie-kogito-runtimes/jbpm/jbpm-flow/src/main/java/org/jbpm/process/instance/DummyKnowledgeRuntime.java:[65,1]
 org.jbpm.process.instance.DummyKnowledgeRuntime is not abstract and does not 
override abstract method <T>execute(org.kie.api.command.Command<T>) in 
org.kie.api.runtime.CommandExecutor
   > ```
   > 
   > `DummyKnowledgeRuntime` needs to implement `execute` or 
`CommandExecutor.execute` should have a default implementation.
   
   This is the result of a **HUGE** technical debt caused by the tight coupling 
between Drools and Kogito's processes that has no longer reason to exist. I 
spent a couple of hours trying to refactor Kogito and lower this coupling, but 
unfortunately this is clearly a multi-days effort, so I gave up for now and 
fixed the issue in the most straightforward way with this pull request 
https://github.com/apache/incubator-kie-kogito-runtimes/pull/3681
   
   That said, I'm still willing to solve this debt with more calm when I will 
have time to dedicate to this, possibly with the help of @elguardian and 
@fjtirado. I already have a very preliminary question for you 2: is that 
`DummyKnowledgeRuntime` still necessary for some reasons (and why) or could it 
be totally removed? I'm asking because this seems to be a hack that it is also 
a source of a big part of the issues that I found during this first refactor 
attempt.
   
   @tkobayas @gitgabrio please review again.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to