Skip to content

Rca prompt v2 comparison - #457

Merged
damianloch merged 11 commits into
mainfrom
rca-prompt-v2-comparison
Jun 1, 2026
Merged

Rca prompt v2 comparison#457
damianloch merged 11 commits into
mainfrom
rca-prompt-v2-comparison

address coderabbit

209f2e0
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis succeeded Jun 1, 2026 in 1m 2s

Annotations

Check failure on line 12 in server/chat/backend/agent/tools/output_sanitizer.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

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

See more on https://sonarcloud.io/project/issues?id=Arvo-AI_aurora&issues=AZ5w2VbWsqj_jw08YIY7&open=AZ5w2VbWsqj_jw08YIY7&pullRequest=457

Check failure on line 25 in server/chat/backend/agent/tools/output_sanitizer.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of duplicating this literal "... [field truncated]" 3 times.

See more on https://sonarcloud.io/project/issues?id=Arvo-AI_aurora&issues=AZ5w2VbWsqj_jw08YIY6&open=AZ5w2VbWsqj_jw08YIY6&pullRequest=457

Check failure on line 118 in server/chat/backend/agent/tools/alert_payload_tool.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

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

See more on https://sonarcloud.io/project/issues?id=Arvo-AI_aurora&issues=AZ51lBnOtNR1yXmdIbio&open=AZ51lBnOtNR1yXmdIbio&pullRequest=457

Check failure on line 462 in server/chat/background/task.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of duplicating this literal "SELECT messages FROM chat_sessions WHERE id = %s" 9 times.

See more on https://sonarcloud.io/project/issues?id=Arvo-AI_aurora&issues=AZ5wm4wwTplNGU-wNam1&open=AZ5wm4wwTplNGU-wNam1&pullRequest=457

Check failure on line 308 in server/chat/background/rca_prompt_builder.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

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

See more on https://sonarcloud.io/project/issues?id=Arvo-AI_aurora&issues=AZ5wm4xTTplNGU-wNam2&open=AZ5wm4xTTplNGU-wNam2&pullRequest=457