Skip to content

feat: PR change gating — pre-incident PR risk review (DEV-1252) - #506

Merged
damianloch merged 30 commits into
mainfrom
sms10221/dev-1252-alert-prediction-via-change-gate
Jun 18, 2026
Merged

feat: PR change gating — pre-incident PR risk review (DEV-1252)#506
damianloch merged 30 commits into
mainfrom
sms10221/dev-1252-alert-prediction-via-change-gate

docs: rework GitHub App setup per review; add missing GitHub vars to …

ea76cbf
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis succeeded Jun 18, 2026 in 1m 38s

Annotations

Check failure on line 23 in server/services/change_gating/diff_utils.py

See this annotation in the file changed.

@sonarqubecloud 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

See this annotation in the file changed.

@sonarqubecloud 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

See this annotation in the file changed.

@sonarqubecloud 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

See this annotation in the file changed.

@sonarqubecloud 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

See this annotation in the file changed.

@sonarqubecloud 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