Skip to content

Update platform functionality and resolve merge conflicts - #3478

Open
hhhhsc701 wants to merge 3 commits into
developfrom
dev/jiuwen_all
Open

Update platform functionality and resolve merge conflicts#3478
hhhhsc701 wants to merge 3 commits into
developfrom
dev/jiuwen_all

Merge branch 'develop' into dev/jiuwen_all

14d5c90
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis failed Jul 22, 2026 in 1m 34s

Quality Gate failed

Failed conditions
D Security Rating on New Code (required ≥ A)
C Reliability 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 293 in frontend/hooks/agent/useSaveGuard.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Extract this nested ternary operation into an independent statement.

See more on https://sonarcloud.io/project/issues?id=ModelEngine-Group_nexent&issues=AZ-H9ldvW84QZDlVSpR7&open=AZ-H9ldvW84QZDlVSpR7&pullRequest=3478

Check warning on line 51 in backend/services/agent_runtime/providers/openjiuwen_in_process.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rename this field "LocalFunction" to match the regular expression ^[_a-z][_a-z0-9]*$.

See more on https://sonarcloud.io/project/issues?id=ModelEngine-Group_nexent&issues=AZ-H9lfMW84QZDlVSpSJ&open=AZ-H9lfMW84QZDlVSpSJ&pullRequest=3478

Check failure on line 400 in test/backend/services/test_agent_service.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this expression; used as a condition it will always be constant.

See more on https://sonarcloud.io/project/issues?id=ModelEngine-Group_nexent&issues=AZ-H9lapW84QZDlVSpR4&open=AZ-H9lapW84QZDlVSpR4&pullRequest=3478

Check warning on line 798 in test/backend/services/agent_runtime/test_openjiuwen_in_process.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this comprehension with passing the iterable to the collection constructor call

See more on https://sonarcloud.io/project/issues?id=ModelEngine-Group_nexent&issues=AZ-H9lY4W84QZDlVSpR0&open=AZ-H9lY4W84QZDlVSpR0&pullRequest=3478

Check warning on line 413 in test/backend/services/test_agent_service.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use asynchronous features in this function or remove the `async` keyword.

See more on https://sonarcloud.io/project/issues?id=ModelEngine-Group_nexent&issues=AZ-H9lapW84QZDlVSpR5&open=AZ-H9lapW84QZDlVSpR5&pullRequest=3478

Check failure on line 65 in backend/services/agent_version_service.py

See this annotation in the file changed.

@sonarqubecloud 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=ModelEngine-Group_nexent&issues=AZ-H9lhUW84QZDlVSpSY&open=AZ-H9lhUW84QZDlVSpSY&pullRequest=3478

Check warning on line 58 in backend/services/agent_runtime/providers/openjiuwen_in_process.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rename this field "UserMessage" to match the regular expression ^[_a-z][_a-z0-9]*$.

See more on https://sonarcloud.io/project/issues?id=ModelEngine-Group_nexent&issues=AZ-H9lfMW84QZDlVSpSA&open=AZ-H9lfMW84QZDlVSpSA&pullRequest=3478

Check warning on line 47 in backend/services/agent_runtime/providers/openjiuwen_in_process.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rename this field "Runner" to match the regular expression ^[_a-z][_a-z0-9]*$.

See more on https://sonarcloud.io/project/issues?id=ModelEngine-Group_nexent&issues=AZ-H9lfMW84QZDlVSpR_&open=AZ-H9lfMW84QZDlVSpR_&pullRequest=3478

Check warning on line 234 in test/backend/services/agent_runtime/test_openjiuwen_in_process.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this exception test to have only one invocation possibly throwing an exception.

See more on https://sonarcloud.io/project/issues?id=ModelEngine-Group_nexent&issues=AZ-H9lY4W84QZDlVSpRu&open=AZ-H9lY4W84QZDlVSpRu&pullRequest=3478

Check warning on line 55 in backend/services/agent_runtime/providers/openjiuwen_in_process.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rename this field "ModelRequestConfig" to match the regular expression ^[_a-z][_a-z0-9]*$.

See more on https://sonarcloud.io/project/issues?id=ModelEngine-Group_nexent&issues=AZ-H9lfMW84QZDlVSpSD&open=AZ-H9lfMW84QZDlVSpSD&pullRequest=3478

Check failure on line 2437 in backend/services/agent_service.py

See this annotation in the file changed.

@sonarqubecloud 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=ModelEngine-Group_nexent&issues=AZ-H9lgdW84QZDlVSpSX&open=AZ-H9lgdW84QZDlVSpSX&pullRequest=3478

Check warning on line 69 in test/backend/services/agent_runtime/test_openjiuwen_in_process.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use asynchronous features in this function or remove the `async` keyword.

See more on https://sonarcloud.io/project/issues?id=ModelEngine-Group_nexent&issues=AZ-H9lY4W84QZDlVSpRq&open=AZ-H9lY4W84QZDlVSpRq&pullRequest=3478

Check failure on line 590 in test/backend/services/agent_runtime/test_openjiuwen_in_process.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Make sure publicly writable directories are used safely here.

See more on https://sonarcloud.io/project/issues?id=ModelEngine-Group_nexent&issues=AZ-H9lY4W84QZDlVSpRx&open=AZ-H9lY4W84QZDlVSpRx&pullRequest=3478

Check warning on line 54 in backend/services/agent_runtime/providers/openjiuwen_in_process.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rename this field "ModelClientConfig" to match the regular expression ^[_a-z][_a-z0-9]*$.

See more on https://sonarcloud.io/project/issues?id=ModelEngine-Group_nexent&issues=AZ-H9lfMW84QZDlVSpSC&open=AZ-H9lfMW84QZDlVSpSC&pullRequest=3478

Check warning on line 209 in test/backend/services/agent_runtime/test_openjiuwen_in_process.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use asynchronous features in this function or remove the `async` keyword.

See more on https://sonarcloud.io/project/issues?id=ModelEngine-Group_nexent&issues=AZ-H9lY4W84QZDlVSpRr&open=AZ-H9lY4W84QZDlVSpRr&pullRequest=3478

Check warning on line 62 in test/backend/services/agent_runtime/test_openjiuwen_in_process.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use asynchronous features in this function or remove the `async` keyword.

See more on https://sonarcloud.io/project/issues?id=ModelEngine-Group_nexent&issues=AZ-H9lY4W84QZDlVSpRo&open=AZ-H9lY4W84QZDlVSpRo&pullRequest=3478

Check failure on line 1361 in backend/services/agent_service.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Save this task in a variable to prevent premature garbage collection.

See more on https://sonarcloud.io/project/issues?id=ModelEngine-Group_nexent&issues=AZ-H9lgdW84QZDlVSpSW&open=AZ-H9lgdW84QZDlVSpSW&pullRequest=3478

Check warning on line 17 in test/backend/services/agent_runtime/test_registry.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use asynchronous features in this function or remove the `async` keyword.

See more on https://sonarcloud.io/project/issues?id=ModelEngine-Group_nexent&issues=AZ-H9lZCW84QZDlVSpR3&open=AZ-H9lZCW84QZDlVSpR3&pullRequest=3478

Check failure on line 863 in backend/services/agent_runtime/providers/openjiuwen_in_process.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

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

See more on https://sonarcloud.io/project/issues?id=ModelEngine-Group_nexent&issues=AZ-H9lfNW84QZDlVSpST&open=AZ-H9lfNW84QZDlVSpST&pullRequest=3478

Check failure on line 657 in backend/services/agent_runtime/providers/openjiuwen_in_process.py

See this annotation in the file changed.

@sonarqubecloud 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=ModelEngine-Group_nexent&issues=AZ-H9lfNW84QZDlVSpSS&open=AZ-H9lfNW84QZDlVSpSS&pullRequest=3478

Check warning on line 61 in backend/services/agent_runtime/providers/openjiuwen_in_process.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rename this field "AgentCallbackEvent" to match the regular expression ^[_a-z][_a-z0-9]*$.

See more on https://sonarcloud.io/project/issues?id=ModelEngine-Group_nexent&issues=AZ-H9lfMW84QZDlVSpR-&open=AZ-H9lfMW84QZDlVSpR-&pullRequest=3478

Check failure on line 878 in test/backend/services/agent_runtime/test_openjiuwen_in_process.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Ensure that the asyncio.CancelledError exception is re-raised after your cleanup code.

See more on https://sonarcloud.io/project/issues?id=ModelEngine-Group_nexent&issues=AZ-H9lY4W84QZDlVSpR1&open=AZ-H9lY4W84QZDlVSpR1&pullRequest=3478

Check warning on line 53 in backend/services/agent_runtime/providers/openjiuwen_in_process.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rename this field "McpServerConfig" to match the regular expression ^[_a-z][_a-z0-9]*$.

See more on https://sonarcloud.io/project/issues?id=ModelEngine-Group_nexent&issues=AZ-H9lfMW84QZDlVSpSH&open=AZ-H9lfMW84QZDlVSpSH&pullRequest=3478

Check warning on line 58 in test/backend/services/agent_runtime/test_openjiuwen_in_process.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use asynchronous features in this function or remove the `async` keyword.

See more on https://sonarcloud.io/project/issues?id=ModelEngine-Group_nexent&issues=AZ-H9lY4W84QZDlVSpRn&open=AZ-H9lY4W84QZDlVSpRn&pullRequest=3478

Check failure on line 581 in test/backend/services/agent_runtime/test_openjiuwen_in_process.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Make sure publicly writable directories are used safely here.

See more on https://sonarcloud.io/project/issues?id=ModelEngine-Group_nexent&issues=AZ-H9lY4W84QZDlVSpRw&open=AZ-H9lY4W84QZDlVSpRw&pullRequest=3478