Skip to content

Development#1

Merged
fiqrikm18 merged 89 commits into
masterfrom
development
Jul 13, 2026
Merged

Development#1
fiqrikm18 merged 89 commits into
masterfrom
development

deploy: change go version

8b38233
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis failed Jul 13, 2026 in 28s

Quality Gate failed

Failed conditions
6.4% Duplication on New Code (required ≤ 3%)
C Security Rating on New Code (required ≥ A)
C Reliability 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 failure on line 26 in .github/workflows/cd.yml

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use full commit SHA hash for this dependency.

See more on https://sonarcloud.io/project/issues?id=IDTS-LAB_go-codebase&issues=AZ9cH5qBOFmXP_NXJoKU&open=AZ9cH5qBOFmXP_NXJoKU&pullRequest=1

Check failure on line 42 in internal/authorization/infrastructure/casbin/adapter.go

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

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

See more on https://sonarcloud.io/project/issues?id=IDTS-LAB_go-codebase&issues=AZ9cH5n5OFmXP_NXJoKE&open=AZ9cH5n5OFmXP_NXJoKE&pullRequest=1

Check failure on line 16 in internal/shared/router/web.go

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of duplicating this literal "application/json" 3 times.

See more on https://sonarcloud.io/project/issues?id=IDTS-LAB_go-codebase&issues=AZ9cH5nEOFmXP_NXJoJ9&open=AZ9cH5nEOFmXP_NXJoJ9&pullRequest=1

Check warning on line 2 in internal/infrastructure/email/templates/verification.html

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Add "lang" and/or "xml:lang" attributes to the "<html>" or "<body>" element

See more on https://sonarcloud.io/project/issues?id=IDTS-LAB_go-codebase&issues=AZ9cH5o-OFmXP_NXJoKM&open=AZ9cH5o-OFmXP_NXJoKM&pullRequest=1

Check warning on line 198 in internal/todo/infrastructure/persistence/todo_repository.go

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Make sure using a dynamically formatted SQL query is safe here.

See more on https://sonarcloud.io/project/issues?id=IDTS-LAB_go-codebase&issues=AZ9cH5lLOFmXP_NXJoJz&open=AZ9cH5lLOFmXP_NXJoJz&pullRequest=1

Check warning on line 20 in internal/infrastructure/email/smtp.go

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

This function has 8 parameters, which is greater than the 7 authorized.

See more on https://sonarcloud.io/project/issues?id=IDTS-LAB_go-codebase&issues=AZ9cH5okOFmXP_NXJoKF&open=AZ9cH5okOFmXP_NXJoKF&pullRequest=1

Check warning on line 3 in internal/infrastructure/email/templates/password_reset.html

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Add a <title> tag to this page.

See more on https://sonarcloud.io/project/issues?id=IDTS-LAB_go-codebase&issues=AZ9cH5otOFmXP_NXJoKG&open=AZ9cH5otOFmXP_NXJoKG&pullRequest=1

Check failure on line 65 in internal/todo/infrastructure/persistence/todo_repository.go

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

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

See more on https://sonarcloud.io/project/issues?id=IDTS-LAB_go-codebase&issues=AZ9cH5lLOFmXP_NXJoJ0&open=AZ9cH5lLOFmXP_NXJoJ0&pullRequest=1

Check warning on line 9 in internal/infrastructure/email/templates/password_reset.html

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Text does not meet the minimal contrast requirement with its background.

See more on https://sonarcloud.io/project/issues?id=IDTS-LAB_go-codebase&issues=AZ9cH5otOFmXP_NXJoKI&open=AZ9cH5otOFmXP_NXJoKI&pullRequest=1

Check failure on line 28 in internal/user/infrastructure/persistence/user_repository.go

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

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

See more on https://sonarcloud.io/project/issues?id=IDTS-LAB_go-codebase&issues=AZ9cH5kROFmXP_NXJoJx&open=AZ9cH5kROFmXP_NXJoJx&pullRequest=1

Check failure on line 63 in internal/shared/middleware/middleware.go

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this method to reduce its Cognitive Complexity from 17 to the 15 allowed.

See more on https://sonarcloud.io/project/issues?id=IDTS-LAB_go-codebase&issues=AZ9cH5mLOFmXP_NXJoJ6&open=AZ9cH5mLOFmXP_NXJoJ6&pullRequest=1

Check warning on line 2 in internal/infrastructure/email/templates/password_reset.html

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Add "lang" and/or "xml:lang" attributes to the "<html>" or "<body>" element

See more on https://sonarcloud.io/project/issues?id=IDTS-LAB_go-codebase&issues=AZ9cH5otOFmXP_NXJoKH&open=AZ9cH5otOFmXP_NXJoKH&pullRequest=1

Check warning on line 3 in internal/infrastructure/email/templates/verification.html

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Add a <title> tag to this page.

See more on https://sonarcloud.io/project/issues?id=IDTS-LAB_go-codebase&issues=AZ9cH5o-OFmXP_NXJoKL&open=AZ9cH5o-OFmXP_NXJoKL&pullRequest=1

Check warning on line 3 in internal/infrastructure/email/templates/welcome.html

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Add a <title> tag to this page.

See more on https://sonarcloud.io/project/issues?id=IDTS-LAB_go-codebase&issues=AZ9cH5pGOFmXP_NXJoKO&open=AZ9cH5pGOFmXP_NXJoKO&pullRequest=1

Check failure on line 11 in internal/shared/middleware/formatter.go

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

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

See more on https://sonarcloud.io/project/issues?id=IDTS-LAB_go-codebase&issues=AZ9cH5l4OFmXP_NXJoJ4&open=AZ9cH5l4OFmXP_NXJoJ4&pullRequest=1

Check warning on line 137 in internal/authentication/infrastructure/persistence/user_repository.go

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Make sure using a dynamically formatted SQL query is safe here.

See more on https://sonarcloud.io/project/issues?id=IDTS-LAB_go-codebase&issues=AZ9cH5cGOFmXP_NXJoJs&open=AZ9cH5cGOFmXP_NXJoJs&pullRequest=1

Check warning on line 166 in internal/shared/config/config.go

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Group together these consecutive parameters of the same type.

See more on https://sonarcloud.io/project/issues?id=IDTS-LAB_go-codebase&issues=AZ9cH5mfOFmXP_NXJoJ7&open=AZ9cH5mfOFmXP_NXJoJ7&pullRequest=1

Check warning on line 6 in migrations/010_add_casbin_rule_table.sql

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use VARCHAR2 instead of VARCHAR.

See more on https://sonarcloud.io/project/issues?id=IDTS-LAB_go-codebase&issues=AZ9cH5qJOFmXP_NXJoKa&open=AZ9cH5qJOFmXP_NXJoKa&pullRequest=1

Check failure on line 79 in internal/tenant/interfaces/http/handlers.go

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of duplicating this literal "invalid tenant ID" 3 times.

See more on https://sonarcloud.io/project/issues?id=IDTS-LAB_go-codebase&issues=AZ9cH5phOFmXP_NXJoKR&open=AZ9cH5phOFmXP_NXJoKR&pullRequest=1

Check failure on line 47 in .github/workflows/cd.yml

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use full commit SHA hash for this dependency.

See more on https://sonarcloud.io/project/issues?id=IDTS-LAB_go-codebase&issues=AZ9cH5qBOFmXP_NXJoKX&open=AZ9cH5qBOFmXP_NXJoKX&pullRequest=1

Check warning on line 3 in internal/infrastructure/email/templates/invite.html

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Add a <title> tag to this page.

See more on https://sonarcloud.io/project/issues?id=IDTS-LAB_go-codebase&issues=AZ9cH5o2OFmXP_NXJoKJ&open=AZ9cH5o2OFmXP_NXJoKJ&pullRequest=1

Check warning on line 8 in migrations/010_add_casbin_rule_table.sql

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use VARCHAR2 instead of VARCHAR.

See more on https://sonarcloud.io/project/issues?id=IDTS-LAB_go-codebase&issues=AZ9cH5qJOFmXP_NXJoKc&open=AZ9cH5qJOFmXP_NXJoKc&pullRequest=1

Check warning on line 154 in internal/authentication/infrastructure/persistence/user_repository.go

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Make sure using a dynamically formatted SQL query is safe here.

See more on https://sonarcloud.io/project/issues?id=IDTS-LAB_go-codebase&issues=AZ9cH5cGOFmXP_NXJoJt&open=AZ9cH5cGOFmXP_NXJoJt&pullRequest=1

Check warning on line 45 in internal/shared/utils/handler.go

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

This function has 8 parameters, which is greater than the 7 authorized.

See more on https://sonarcloud.io/project/issues?id=IDTS-LAB_go-codebase&issues=AZ9cH5lmOFmXP_NXJoJ3&open=AZ9cH5lmOFmXP_NXJoJ3&pullRequest=1

Check failure on line 168 in internal/todo/infrastructure/persistence/todo_repository.go

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

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

See more on https://sonarcloud.io/project/issues?id=IDTS-LAB_go-codebase&issues=AZ9cH5lLOFmXP_NXJoJ1&open=AZ9cH5lLOFmXP_NXJoJ1&pullRequest=1