Skip to content

Sl 289 db seeding script#160

Open
GabrielFcGoncalves wants to merge 10 commits into
devfrom
SL-289-DB-seeding-script
Open

Sl 289 db seeding script#160
GabrielFcGoncalves wants to merge 10 commits into
devfrom
SL-289-DB-seeding-script

Demo

ae8d664
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis failed Jun 2, 2026 in 49s

Quality Gate failed

Failed conditions
D Maintainability 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 74 in web/src/routes/courses/$courseId/modules/$moduleId.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

This assertion is unnecessary since the receiver accepts the original type of the expression.

See more on https://sonarcloud.io/project/issues?id=PEI-SecureLearning_core&issues=AZ6IzKIYO0gERejSVEVr&open=AZ6IzKIYO0gERejSVEVr&pullRequest=160

Check warning on line 144 in web/src/routes/courses/$courseId/modules/$moduleId.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Handle this exception or don't catch it at all.

See more on https://sonarcloud.io/project/issues?id=PEI-SecureLearning_core&issues=AZ6IzKIYO0gERejSVEVv&open=AZ6IzKIYO0gERejSVEVv&pullRequest=160

Check warning on line 34 in web/src/routes/courses/$courseId/modules/$moduleId.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

This assertion is unnecessary since the receiver accepts the original type of the expression.

See more on https://sonarcloud.io/project/issues?id=PEI-SecureLearning_core&issues=AZ6IzKIYO0gERejSVEVp&open=AZ6IzKIYO0gERejSVEVp&pullRequest=160

Check failure on line 127 in api/src/core/security.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use "logging.exception()" instead.

See more on https://sonarcloud.io/project/issues?id=PEI-SecureLearning_core&issues=AZ6DtnP0DLpd2qK8iTQ7&open=AZ6DtnP0DLpd2qK8iTQ7&pullRequest=160

Check failure on line 88 in api/src/core/security.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use "logging.exception()" instead.

See more on https://sonarcloud.io/project/issues?id=PEI-SecureLearning_core&issues=AZ6DtnP0DLpd2qK8iTQ5&open=AZ6DtnP0DLpd2qK8iTQ5&pullRequest=160

Check warning on line 81 in web/src/routes/courses/$courseId/modules/$moduleId.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Handle this exception or don't catch it at all.

See more on https://sonarcloud.io/project/issues?id=PEI-SecureLearning_core&issues=AZ6IzKIYO0gERejSVEVt&open=AZ6IzKIYO0gERejSVEVt&pullRequest=160

Check failure on line 91 in api/src/core/security.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use "logging.exception()" instead.

See more on https://sonarcloud.io/project/issues?id=PEI-SecureLearning_core&issues=AZ6DtnP0DLpd2qK8iTQ6&open=AZ6DtnP0DLpd2qK8iTQ6&pullRequest=160

Check failure on line 83 in api/src/core/security.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of duplicating this literal "Invalid token" 5 times.

See more on https://sonarcloud.io/project/issues?id=PEI-SecureLearning_core&issues=AZ6DtnP0DLpd2qK8iTQ2&open=AZ6DtnP0DLpd2qK8iTQ2&pullRequest=160

Check failure on line 82 in api/src/core/security.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use "logging.exception()" instead.

See more on https://sonarcloud.io/project/issues?id=PEI-SecureLearning_core&issues=AZ6DtnP0DLpd2qK8iTQ3&open=AZ6DtnP0DLpd2qK8iTQ3&pullRequest=160

Check warning on line 74 in web/src/routes/courses/$courseId/modules/$moduleId.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

This assertion is unnecessary since the receiver accepts the original type of the expression.

See more on https://sonarcloud.io/project/issues?id=PEI-SecureLearning_core&issues=AZ6IzKIYO0gERejSVEVs&open=AZ6IzKIYO0gERejSVEVs&pullRequest=160

Check warning on line 122 in web/src/routes/courses/$courseId/modules/$moduleId.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Handle this exception or don't catch it at all.

See more on https://sonarcloud.io/project/issues?id=PEI-SecureLearning_core&issues=AZ6IzKIYO0gERejSVEVu&open=AZ6IzKIYO0gERejSVEVu&pullRequest=160

Check failure on line 85 in api/src/core/security.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use "logging.exception()" instead.

See more on https://sonarcloud.io/project/issues?id=PEI-SecureLearning_core&issues=AZ6DtnP0DLpd2qK8iTQ4&open=AZ6DtnP0DLpd2qK8iTQ4&pullRequest=160

Check warning on line 35 in web/src/routes/courses/$courseId/modules/$moduleId.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

This assertion is unnecessary since the receiver accepts the original type of the expression.

See more on https://sonarcloud.io/project/issues?id=PEI-SecureLearning_core&issues=AZ6IzKIYO0gERejSVEVq&open=AZ6IzKIYO0gERejSVEVq&pullRequest=160