feat: Implement Model Lifecycle Manager - Systemd-based LLM service management #234
Quality Gate failed
Failed conditions
2 Security Hotspots
Annotations
Check failure on line 68 in cortex/kernel_features/model_lifecycle.py
sonarqubecloud / SonarCloud Code Analysis
Define a constant instead of duplicating this literal "/health" 5 times.
See more on https://sonarcloud.io/project/issues?id=cortexlinux_cortex&issues=AZrn7261Tmn1wGm3II39&open=AZrn7261Tmn1wGm3II39&pullRequest=234
Check warning on line 336 in cortex/kernel_features/model_lifecycle.py
sonarqubecloud / SonarCloud Code Analysis
Either merge this branch with the identical one on line "334" or change one of the implementations.
See more on https://sonarcloud.io/project/issues?id=cortexlinux_cortex&issues=AZrn7261Tmn1wGm3II4B&open=AZrn7261Tmn1wGm3II4B&pullRequest=234
Check warning on line 357 in tests/test_model_lifecycle.py
sonarqubecloud / SonarCloud Code Analysis
Replace the unused loop index "i" with "_".
See more on https://sonarcloud.io/project/issues?id=cortexlinux_cortex&issues=AZrn7288Tmn1wGm3II4E&open=AZrn7288Tmn1wGm3II4E&pullRequest=234
Check failure on line 860 in cortex/kernel_features/model_lifecycle.py
sonarqubecloud / SonarCloud Code Analysis
Define a constant instead of duplicating this literal "Model name" 9 times.
See more on https://sonarcloud.io/project/issues?id=cortexlinux_cortex&issues=AZrn7261Tmn1wGm3II3-&open=AZrn7261Tmn1wGm3II3-&pullRequest=234
Check failure on line 502 in cortex/kernel_features/model_lifecycle.py
sonarqubecloud / SonarCloud Code Analysis
Refactor this function to reduce its Cognitive Complexity from 17 to the 15 allowed.
See more on https://sonarcloud.io/project/issues?id=cortexlinux_cortex&issues=AZrn7261Tmn1wGm3II4C&open=AZrn7261Tmn1wGm3II4C&pullRequest=234
Check failure on line 839 in cortex/kernel_features/model_lifecycle.py
sonarqubecloud / SonarCloud Code Analysis
Refactor this function to reduce its Cognitive Complexity from 21 to the 15 allowed.
See more on https://sonarcloud.io/project/issues?id=cortexlinux_cortex&issues=AZrn7261Tmn1wGm3II4D&open=AZrn7261Tmn1wGm3II4D&pullRequest=234