Skip to content

refactor(todos): unify authoring scope and explicit global gate intent - #4142

Merged
huangruiteng merged 3 commits into
mainfrom
codex/todo-update-target-admission
Sep 9, 2026
Merged

huangruiteng merged 3 commits into
mainfrom
codex/todo-update-target-admission

test(control-plane): preserve Node 22.6 compatibility

7b21732
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis succeeded Sep 9, 2026 in 3m 3s

Annotations

Check warning on line 101 in loopx/control_plane/todos/authoring_scope.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Extract this nested ternary operation into an independent statement.

See more on https://sonarcloud.io/project/issues?id=huangruiteng_loopx&issues=AaCGYcX1YwIRr2WrNTgO&open=AaCGYcX1YwIRr2WrNTgO&pullRequest=4142

Check failure on line 47 in loopx/control_plane/todos/authoring_scope.ts

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=huangruiteng_loopx&issues=AaCGYcX1YwIRr2WrNTgK&open=AaCGYcX1YwIRr2WrNTgK&pullRequest=4142

Check warning on line 61 in loopx/control_plane/todos/authoring_scope.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this useless assignment to variable "blocks".

See more on https://sonarcloud.io/project/issues?id=huangruiteng_loopx&issues=AaCGYcX1YwIRr2WrNTgL&open=AaCGYcX1YwIRr2WrNTgL&pullRequest=4142

Check warning on line 1 in loopx/control_plane/todos/authoring_scope.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Complete the task associated to this "TODO" comment.

See more on https://sonarcloud.io/project/issues?id=huangruiteng_loopx&issues=AaCGYcX1YwIRr2WrNTgJ&open=AaCGYcX1YwIRr2WrNTgJ&pullRequest=4142

Check failure on line 77 in loopx/control_plane/todos/authoring_scope.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

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

See more on https://sonarcloud.io/project/issues?id=huangruiteng_loopx&issues=AaCGYcX1YwIRr2WrNTgN&open=AaCGYcX1YwIRr2WrNTgN&pullRequest=4142

Check warning on line 61 in loopx/control_plane/todos/authoring_scope.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this useless assignment to variable "global".

See more on https://sonarcloud.io/project/issues?id=huangruiteng_loopx&issues=AaCGYcX1YwIRr2WrNTgM&open=AaCGYcX1YwIRr2WrNTgM&pullRequest=4142

Check warning on line 103 in loopx/control_plane/todos/authoring_scope.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Extract this nested ternary operation into an independent statement.

See more on https://sonarcloud.io/project/issues?id=huangruiteng_loopx&issues=AaCGYcX1YwIRr2WrNTgP&open=AaCGYcX1YwIRr2WrNTgP&pullRequest=4142

Check failure on line 123 in loopx/control_plane/todos/authoring_scope.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

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

See more on https://sonarcloud.io/project/issues?id=huangruiteng_loopx&issues=AaCGYcX1YwIRr2WrNTgQ&open=AaCGYcX1YwIRr2WrNTgQ&pullRequest=4142

Check warning on line 1276 in loopx/todos.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Extract this nested conditional expression into an independent statement.

See more on https://sonarcloud.io/project/issues?id=huangruiteng_loopx&issues=AaCGYdUiYwIRr2WrNTgR&open=AaCGYdUiYwIRr2WrNTgR&pullRequest=4142

Check warning on line 62 in tests/control_plane/test_todo_authoring_scope.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this exception test to have only one invocation possibly throwing an exception.

See more on https://sonarcloud.io/project/issues?id=huangruiteng_loopx&issues=AaCGYdVLYwIRr2WrNTgS&open=AaCGYdVLYwIRr2WrNTgS&pullRequest=4142