feat: PR change gating — pre-incident PR risk review (DEV-1252) - #506
Quality Gate passed
Annotations
Check failure on line 23 in server/services/change_gating/diff_utils.py
sonarqubecloud / SonarCloud Code Analysis
Refactor this function to reduce its Cognitive Complexity from 42 to the 15 allowed.
See more on https://sonarcloud.io/project/issues?id=Arvo-AI_aurora&issues=AZ69Oc1A6-8DAyAu-wDW&open=AZ69Oc1A6-8DAyAu-wDW&pullRequest=506
Check failure on line 294 in server/tasks/change_gating.py
sonarqubecloud / SonarCloud Code Analysis
Refactor this function to reduce its Cognitive Complexity from 131 to the 15 allowed.
See more on https://sonarcloud.io/project/issues?id=Arvo-AI_aurora&issues=AZ69Oc2B6-8DAyAu-wDZ&open=AZ69Oc2B6-8DAyAu-wDZ&pullRequest=506
Check failure on line 281 in server/services/change_gating/verdict.py
sonarqubecloud / SonarCloud Code Analysis
Refactor this function to reduce its Cognitive Complexity from 23 to the 15 allowed.
See more on https://sonarcloud.io/project/issues?id=Arvo-AI_aurora&issues=AZ69Oc066-8DAyAu-wDV&open=AZ69Oc066-8DAyAu-wDV&pullRequest=506
Check failure on line 704 in server/tasks/github_webhook_tasks.py
sonarqubecloud / SonarCloud Code Analysis
Refactor this function to reduce its Cognitive Complexity from 24 to the 15 allowed.
See more on https://sonarcloud.io/project/issues?id=Arvo-AI_aurora&issues=AZ69Oc146-8DAyAu-wDY&open=AZ69Oc146-8DAyAu-wDY&pullRequest=506
Check failure on line 126 in server/services/change_gating/diff_utils.py
sonarqubecloud / SonarCloud Code Analysis
Define a constant instead of duplicating this literal "<unknown>" 3 times.
See more on https://sonarcloud.io/project/issues?id=Arvo-AI_aurora&issues=AZ7M2UVjnOeBI9VVEMiZ&open=AZ7M2UVjnOeBI9VVEMiZ&pullRequest=506