Skip to content

[SG-4917] feat(terraform_plan): name the resource and attribute in result messages (on main) - #287

Open
refeed wants to merge 2 commits into
mainfrom
feat/result-message-context-on-main
Open

[SG-4917] feat(terraform_plan): name the resource and attribute in result messages (on main)#287
refeed wants to merge 2 commits into
mainfrom
feat/result-message-context-on-main

test(terraform_plan): cover a destroy-approval policy over every reso…

f6e823c
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis cancelled Aug 28, 2026 in 29s

SonarQube Cloud analysis failed

❌ The last analysis has failed.

See analysis details on SonarQube Cloud

Annotations

Check warning on line 131 in src/tirith/core/core.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this constructor call with a literal.

See more on https://sonarcloud.io/project/issues?id=StackGuardian_policy-framework&issues=AaBIguwfYwCYu8VoNPU8&open=AaBIguwfYwCYu8VoNPU8&pullRequest=287

Check warning on line 266 in src/tirith/core/core.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this commented out code.

See more on https://sonarcloud.io/project/issues?id=StackGuardian_policy-framework&issues=AaBIguwfYwCYu8VoNPU_&open=AaBIguwfYwCYu8VoNPU_&pullRequest=287

Check warning on line 12 in tests/providers/terraform_plan/test_message_context.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Import "pytest" as a module.

See more on https://sonarcloud.io/project/issues?id=StackGuardian_policy-framework&issues=AaBIguwsYwCYu8VoNPVB&open=AaBIguwsYwCYu8VoNPVB&pullRequest=287

Check warning on line 2 in tests/core/test_core.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Import "pytest" as a module.

See more on https://sonarcloud.io/project/issues?id=StackGuardian_policy-framework&issues=AaBIguw-YwCYu8VoNPVC&open=AaBIguw-YwCYu8VoNPVC&pullRequest=287

Check warning on line 136 in src/tirith/core/core.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this constructor call with a literal.

See more on https://sonarcloud.io/project/issues?id=StackGuardian_policy-framework&issues=AaBIguwfYwCYu8VoNPU9&open=AaBIguwfYwCYu8VoNPU9&pullRequest=287

Check warning on line 60 in src/tirith/providers/terraform_plan/handler.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this commented out code.

See more on https://sonarcloud.io/project/issues?id=StackGuardian_policy-framework&issues=AaBIgutvYwCYu8VoNPU6&open=AaBIgutvYwCYu8VoNPU6&pullRequest=287

Check failure on line 44 in src/tirith/providers/terraform_plan/handler.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

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

See more on https://sonarcloud.io/project/issues?id=StackGuardian_policy-framework&issues=AaBIgutvYwCYu8VoNPU5&open=AaBIgutvYwCYu8VoNPU5&pullRequest=287

Check failure on line 164 in src/tirith/core/core.py

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=StackGuardian_policy-framework&issues=AaBIguwfYwCYu8VoNPU-&open=AaBIguwfYwCYu8VoNPU-&pullRequest=287

Check warning on line 312 in src/tirith/core/core.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace chained "endswith" calls with a single call using a tuple argument.

See more on https://sonarcloud.io/project/issues?id=StackGuardian_policy-framework&issues=AaBIguwfYwCYu8VoNPVA&open=AaBIguwfYwCYu8VoNPVA&pullRequest=287

Check warning on line 7 in src/tirith/providers/common.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this constructor call with a literal.

See more on https://sonarcloud.io/project/issues?id=StackGuardian_policy-framework&issues=AaBIgupUYwCYu8VoNPU4&open=AaBIgupUYwCYu8VoNPU4&pullRequest=287

Check warning on line 126 in src/tirith/core/core.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this constructor call with a literal.

See more on https://sonarcloud.io/project/issues?id=StackGuardian_policy-framework&issues=AaBIguwfYwCYu8VoNPU7&open=AaBIguwfYwCYu8VoNPU7&pullRequest=287