Skip to content

Sitaram - PRs Needed bands, reviewer groups, weekly requirements, History, PR ratings and Process Promotions - #2317

Open
sitaram1921 wants to merge 7 commits into
developmentfrom
sitaram/feature/promotion-eligibility-dashboard-backend
Open

Sitaram - PRs Needed bands, reviewer groups, weekly requirements, History, PR ratings and Process Promotions#2317
sitaram1921 wants to merge 7 commits into
developmentfrom
sitaram/feature/promotion-eligibility-dashboard-backend

feat(promotion-eligibility): bulk read of PR entries for many reviewers

dffee77
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis succeeded Sep 4, 2026 in 9m 45s

Annotations

Check failure on line 751 in src/controllers/promotionEligibilityController.js

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=OneCommunityGlobal_HGNRest&issues=AaAr1xuN8j4L_svuxMP0&open=AaAr1xuN8j4L_svuxMP0&pullRequest=2317

Check warning on line 99 in src/helpers/prEntryHelper.js

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=OneCommunityGlobal_HGNRest&issues=AaAr1xwO8j4L_svuxMP9&open=AaAr1xwO8j4L_svuxMP9&pullRequest=2317

Check warning on line 38 in src/controllers/promotionEligibilityController.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Function has too many parameters (8). Maximum allowed is 7.

See more on https://sonarcloud.io/project/issues?id=OneCommunityGlobal_HGNRest&issues=AaAr1xuN8j4L_svuxMPz&open=AaAr1xuN8j4L_svuxMPz&pullRequest=2317

Check warning on line 62 in src/helpers/teamPlacementHelper.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use the "RegExp.exec()" method instead.

See more on https://sonarcloud.io/project/issues?id=OneCommunityGlobal_HGNRest&issues=AaAr1xwY8j4L_svuxMQA&open=AaAr1xwY8j4L_svuxMQA&pullRequest=2317

Check failure on line 819 in src/controllers/promotionEligibilityController.js

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=OneCommunityGlobal_HGNRest&issues=AaAr1xuN8j4L_svuxMP2&open=AaAr1xuN8j4L_svuxMP2&pullRequest=2317

Check warning on line 207 in src/helpers/reviewerGroupHelper.js

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=OneCommunityGlobal_HGNRest&issues=AaAr1xwi8j4L_svuxMQB&open=AaAr1xwi8j4L_svuxMQB&pullRequest=2317

Check warning on line 63 in src/helpers/prEntryHelper.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use the "RegExp.exec()" method instead.

See more on https://sonarcloud.io/project/issues?id=OneCommunityGlobal_HGNRest&issues=AaAr1xwO8j4L_svuxMP5&open=AaAr1xwO8j4L_svuxMP5&pullRequest=2317

Check warning on line 66 in src/helpers/prEntryHelper.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use the "RegExp.exec()" method instead.

See more on https://sonarcloud.io/project/issues?id=OneCommunityGlobal_HGNRest&issues=AaAr1xwO8j4L_svuxMP7&open=AaAr1xwO8j4L_svuxMP7&pullRequest=2317

Check warning on line 63 in src/helpers/prEntryHelper.js

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=OneCommunityGlobal_HGNRest&issues=AaAr1xwO8j4L_svuxMP6&open=AaAr1xwO8j4L_svuxMP6&pullRequest=2317

Check warning on line 114 in src/helpers/prEntryHelper.js

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=OneCommunityGlobal_HGNRest&issues=AaAr1xwO8j4L_svuxMP-&open=AaAr1xwO8j4L_svuxMP-&pullRequest=2317

Check failure on line 24 in src/controllers/teamController.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

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

See more on https://sonarcloud.io/project/issues?id=OneCommunityGlobal_HGNRest&issues=AaAr1xvm8j4L_svuxMP3&open=AaAr1xvm8j4L_svuxMP3&pullRequest=2317

Check warning on line 776 in src/controllers/promotionEligibilityController.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer `.some(…)` over `.find(…)`.

See more on https://sonarcloud.io/project/issues?id=OneCommunityGlobal_HGNRest&issues=AaAr1xuN8j4L_svuxMP1&open=AaAr1xuN8j4L_svuxMP1&pullRequest=2317

Check warning on line 4 in src/routes/promotionEligibilityRouter.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Function has too many parameters (8). Maximum allowed is 7.

See more on https://sonarcloud.io/project/issues?id=OneCommunityGlobal_HGNRest&issues=AaAr1xpw8j4L_svuxMPy&open=AaAr1xpw8j4L_svuxMPy&pullRequest=2317

Check warning on line 60 in src/helpers/prEntryHelper.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use the "RegExp.exec()" method instead.

See more on https://sonarcloud.io/project/issues?id=OneCommunityGlobal_HGNRest&issues=AaAr1xwO8j4L_svuxMP4&open=AaAr1xwO8j4L_svuxMP4&pullRequest=2317

Check warning on line 66 in src/helpers/prEntryHelper.js

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=OneCommunityGlobal_HGNRest&issues=AaAr1xwO8j4L_svuxMP8&open=AaAr1xwO8j4L_svuxMP8&pullRequest=2317

Check failure on line 59 in src/helpers/teamPlacementHelper.js

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=OneCommunityGlobal_HGNRest&issues=AaAr1xwY8j4L_svuxMP_&open=AaAr1xwY8j4L_svuxMP_&pullRequest=2317