Skip to content

fix(eval): cache custom-coded evaluator modules instead of leaking sys.modules - #1821

Open
adrian-badea wants to merge 1 commit into
mainfrom
fix/custom-evaluator-module-leak
Open

fix(eval): cache custom-coded evaluator modules instead of leaking sys.modules#1821
adrian-badea wants to merge 1 commit into
mainfrom
fix/custom-evaluator-module-leak

fix(eval): cache custom-coded evaluator modules instead of leaking sy…

d7835b8
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis failed Jul 20, 2026 in 37s

Quality Gate failed

Failed conditions
C Security Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

Annotations

Check warning on line 165 in packages/uipath/src/uipath/eval/evaluators/evaluator_factory.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Change this code to not construct the path from user-controlled data.

See more on https://sonarcloud.io/project/issues?id=UiPath_uipath-python&issues=AZ9wfmEPvS7GK8Fk2w1t&open=AZ9wfmEPvS7GK8Fk2w1t&pullRequest=1821