fix(lark): preserve context without granting Turn authority - #4319
Quality Gate failed
Failed conditions
E Security 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 47 in loopx/extensions/lark/manager_reply_delivery.py
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=huangruiteng_loopx&issues=AaCegaGZXpLjPgdS9SrQ&open=AaCegaGZXpLjPgdS9SrQ&pullRequest=4319
Check failure on line 223 in loopx/extensions/lark/manager_context.py
sonarqubecloud / SonarCloud Code Analysis
Refactor this function to reduce its Cognitive Complexity from 25 to the 15 allowed.
See more on https://sonarcloud.io/project/issues?id=huangruiteng_loopx&issues=AaCegabuXpLjPgdS9SrR&open=AaCegabuXpLjPgdS9SrR&pullRequest=4319
Check failure on line 217 in loopx/extensions/lark/manager_context.py
sonarqubecloud / SonarCloud Code Analysis
Path Traversal via unsanitized user input
See more on https://sonarcloud.io/project/issues?id=huangruiteng_loopx&issues=AaCegabuXpLjPgdS9SrU&open=AaCegabuXpLjPgdS9SrU&pullRequest=4319
Check failure on line 465 in loopx/extensions/lark/turn_start_sync.py
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=huangruiteng_loopx&issues=AaCZ6_Srk0u9GTZljpfr&open=AaCZ6_Srk0u9GTZljpfr&pullRequest=4319
Check warning on line 255 in loopx/extensions/lark/manager_context.py
sonarqubecloud / SonarCloud Code Analysis
Replace with dict fromkeys method call
See more on https://sonarcloud.io/project/issues?id=huangruiteng_loopx&issues=AaCegabuXpLjPgdS9SrT&open=AaCegabuXpLjPgdS9SrT&pullRequest=4319
Check warning on line 254 in loopx/extensions/lark/manager_context.py
sonarqubecloud / SonarCloud Code Analysis
Replace with dict fromkeys method call
See more on https://sonarcloud.io/project/issues?id=huangruiteng_loopx&issues=AaCegabuXpLjPgdS9SrS&open=AaCegabuXpLjPgdS9SrS&pullRequest=4319
Check failure on line 69 in loopx/extensions/lark/manager_reply_delivery.py
sonarqubecloud / SonarCloud Code Analysis
Define a constant instead of duplicating this literal "manager delivery context material ids are invalid" 3 times.
See more on https://sonarcloud.io/project/issues?id=huangruiteng_loopx&issues=AaCegaGZXpLjPgdS9SrP&open=AaCegaGZXpLjPgdS9SrP&pullRequest=4319