refactor(work-items): unify typed Todo topology across planning and task graph - #4267
Quality Gate passed
Annotations
Check warning on line 41 in loopx/control_plane/work_items/task_graph.ts
sonarqubecloud / SonarCloud Code Analysis
Complete the task associated to this "TODO" comment.
See more on https://sonarcloud.io/project/issues?id=huangruiteng_loopx&issues=AaCT7lN9i2WmFx-_MtQI&open=AaCT7lN9i2WmFx-_MtQI&pullRequest=4267
Check warning on line 91 in loopx/control_plane/work_items/task_graph.ts
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=AaCT7lN9i2WmFx-_MtQK&open=AaCT7lN9i2WmFx-_MtQK&pullRequest=4267
Check failure on line 69 in loopx/control_plane/work_items/task_graph.ts
sonarqubecloud / SonarCloud Code Analysis
Refactor this function to reduce its Cognitive Complexity from 26 to the 15 allowed.
See more on https://sonarcloud.io/project/issues?id=huangruiteng_loopx&issues=AaCT7lN9i2WmFx-_MtQJ&open=AaCT7lN9i2WmFx-_MtQJ&pullRequest=4267
Check warning on line 114 in loopx/control_plane/work_items/task_graph.ts
sonarqubecloud / SonarCloud Code Analysis
Expected a `for-of` loop instead of a `for` loop with this simple iteration.
See more on https://sonarcloud.io/project/issues?id=huangruiteng_loopx&issues=AaCT7lN9i2WmFx-_MtQL&open=AaCT7lN9i2WmFx-_MtQL&pullRequest=4267