Skip to content

Add CI check for API since annotation version on branches >= 24 - #14196

Open
Pearl1594 wants to merge 2 commits into
mainfrom
ci-param-cs-version
Open

Pearl1594 wants to merge 2 commits into
mainfrom
ci-param-cs-version

address copilot comment1

58931a5
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis failed Oct 23, 2026 in 2m 24s

Quality Gate failed

Failed conditions
0.0% Coverage on New Code (required ≥ 40%)
C Security Rating on New Code (required ≥ B)

See analysis details on SonarQube Cloud

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

Annotations

Check failure on line 72 in .github/scripts/check_since_annotations.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Command Argument Injection via faulty LLM-supplied CLI arguments in check_since_annotations.git_diff()

See more on https://sonarcloud.io/project/issues?id=apache_cloudstack&issues=AaFo6ct6mnxse-YN7H36&open=AaFo6ct6mnxse-YN7H36&pullRequest=14196

Check failure on line 51 in .github/scripts/check_since_annotations.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Path Traversal via faulty LLM-supplied CLI arguments in check_since_annotations.read_project_version()

See more on https://sonarcloud.io/project/issues?id=apache_cloudstack&issues=AaFo6ct6mnxse-YN7H37&open=AaFo6ct6mnxse-YN7H37&pullRequest=14196

Check failure on line 132 in .github/scripts/check_since_annotations.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this function to reduce its Cognitive Complexity from 35 to the 15 allowed.

See more on https://sonarcloud.io/project/issues?id=apache_cloudstack&issues=AaFo6ct6mnxse-YN7H35&open=AaFo6ct6mnxse-YN7H35&pullRequest=14196

Check warning on line 46 in .github/scripts/check_since_annotations.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Simplify this regular expression to reduce its runtime, as it has super-linear performance due to backtracking.

See more on https://sonarcloud.io/project/issues?id=apache_cloudstack&issues=AaFo6ct6mnxse-YN7H34&open=AaFo6ct6mnxse-YN7H34&pullRequest=14196