Hi all, I’d like to kindly request a prompt review of the following pull request:
https://github.com/apache/unomi/pull/720 It addresses two critical issues described in: https://issues.apache.org/jira/browse/UNOMI-897 - Data contamination due to a shared GroovyShell instance, causing potential user data leakage between concurrent threads. - Severe performance and memory overhead from systematic Groovy script recompilation on each execution. The PR fixes both by: - Replacing the shared GroovyShell with isolated script instances per execution. - Introducing pre-compilation and caching of scripts. These issues are currently affecting a customer in production, so a swift review would be greatly appreciated. I’ll take care of the merge once there’s at least one approval. Thanks in advance for your time! Best regards, Serge Huber