Skip to content

Add module guidance and shared unordered IT assertions - #19001

Merged
JackieTien97 merged 1 commit into
masterfrom
ty/module-agent-guidance
Oct 23, 2026
Merged

JackieTien97 merged 1 commit into
masterfrom
ty/module-agent-guidance

Add scoped agent guidance and reusable unordered IT assertions

7631362
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis failed Oct 23, 2026 in 5m 32s

Quality Gate failed

Failed conditions
E 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 warning on line 203 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/schemaengine/table/ViewColumnAutoSyncTrigger.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Summary javadoc is missing.

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AaFn8O15gSVACppO2zvg&open=AaFn8O15gSVACppO2zvg&pullRequest=19001

Check failure on line 563 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/load/splitter/AlignedChunkData.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

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

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AaFn8N9EgSVACppO2zu0&open=AaFn8N9EgSVACppO2zu0&pullRequest=19001

Check warning on line 172 in iotdb-core/calc-commons/src/main/java/org/apache/iotdb/calc/execution/operator/process/AnyChildBlocked.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this instanceof check and cast with 'instanceof Error error'

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AaFn8PafgSVACppO2zwA&open=AaFn8PafgSVACppO2zwA&pullRequest=19001

Check warning on line 34 in iotdb-core/node-commons/src/main/java/org/apache/iotdb/commons/exception/table/ColumnInDeletionException.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Line is longer than 100 characters (found 160).

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AaFn8NbsgSVACppO2zuk&open=AaFn8NbsgSVACppO2zuk&pullRequest=19001

Check warning on line 122 in iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/procedure/impl/schema/table/view/AddViewColumnProcedure.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this lambda with method reference 'TagColumnSchema.class::isInstance'.

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AaFn8PicgSVACppO2zwC&open=AaFn8PicgSVACppO2zwC&pullRequest=19001

Check failure on line 2681 in iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/manager/ProcedureManager.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of duplicating this literal "Some other task is operating table with same name." 3 times.

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AaFn8P0dgSVACppO2zwM&open=AaFn8P0dgSVACppO2zwM&pullRequest=19001

Check warning on line 1439 in iotdb-client/subscription/src/main/java/org/apache/iotdb/session/subscription/consumer/base/AbstractSubscriptionConsumer.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this expression which always evaluates to "true"

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AaFn8QNNgSVACppO2zwZ&open=AaFn8QNNgSVACppO2zwZ&pullRequest=19001

Check warning on line 299 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/analyze/PredicateUtils.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Summary javadoc is missing.

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AaFn8OcxgSVACppO2zvF&open=AaFn8OcxgSVACppO2zvF&pullRequest=19001

Check warning on line 348 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/schemaengine/table/TreeToTableViewCache.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Single-line Javadoc comment should be multi-line.

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AaFn8O1sgSVACppO2zvb&open=AaFn8O1sgSVACppO2zvb&pullRequest=19001

Check warning on line 117 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/relational/planner/optimizations/ParallelizeGrouping.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this usage of 'Stream.collect(Collectors.toList())' with 'Stream.toList()' and ensure that the list is unmodified.

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AaFn8ODugSVACppO2zu3&open=AaFn8ODugSVACppO2zu3&pullRequest=19001

Check warning on line 251 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/execution/memory/MemoryPool.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

'method call' child has incorrect indentation level 14, expected level should be 16.

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AaFn8Om8gSVACppO2zvL&open=AaFn8Om8gSVACppO2zvL&pullRequest=19001

Check warning on line 667 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/execution/memory/MemoryPool.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Line is longer than 100 characters (found 116).

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AaFn8Om8gSVACppO2zvO&open=AaFn8Om8gSVACppO2zvO&pullRequest=19001

Check warning on line 250 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/execution/memory/MemoryPool.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

'method call' child has incorrect indentation level 10, expected level should be 14.

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AaFn8Om8gSVACppO2zvK&open=AaFn8Om8gSVACppO2zvK&pullRequest=19001

Check warning on line 378 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/dataregion/DataRegion.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Make this private field "final", it is never reassigned.

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AaFn8NyogSVACppO2zup&open=AaFn8NyogSVACppO2zup&pullRequest=19001

Check warning on line 701 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/conf/IoTDBConfig.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Make this private field "final", it is never reassigned.

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AaFn8PKkgSVACppO2zvx&open=AaFn8PKkgSVACppO2zvx&pullRequest=19001

Check warning on line 1601 in iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/manager/schema/ClusterSchemaManager.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Expected @throws tag for 'MetadataException'.

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AaFn8PxHgSVACppO2zwI&open=AaFn8PxHgSVACppO2zwI&pullRequest=19001

Check warning on line 169 in iotdb-core/calc-commons/src/main/java/org/apache/iotdb/calc/execution/operator/process/AnyChildBlocked.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this instanceof check and cast with 'instanceof Exception exception'

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AaFn8PafgSVACppO2zv_&open=AaFn8PafgSVACppO2zv_&pullRequest=19001

Check warning on line 684 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/execution/memory/MemoryPool.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Line is longer than 100 characters (found 116).

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AaFn8Om8gSVACppO2zvP&open=AaFn8Om8gSVACppO2zvP&pullRequest=19001

Check warning on line 241 in iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/manager/ProcedureManager.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Make this private field "final", it is never reassigned.

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AaFn8P0dgSVACppO2zwO&open=AaFn8P0dgSVACppO2zwO&pullRequest=19001

Check warning on line 1578 in iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/manager/schema/ClusterSchemaManager.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Expected @throws tag for 'MetadataException'.

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AaFn8PxHgSVACppO2zwH&open=AaFn8PxHgSVACppO2zwH&pullRequest=19001

Check warning on line 249 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/execution/memory/MemoryPool.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

'method call' child has incorrect indentation level 10, expected level should be 14.

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AaFn8Om8gSVACppO2zvJ&open=AaFn8Om8gSVACppO2zvJ&pullRequest=19001

Check warning on line 424 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/conf/DataNodeMemoryConfig.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Distance between variable 'timePartitionInfoMemorySize' declaration and its first usage is 4, but allowed 3. Consider making that variable final if you still need to store its value in advance (before method calls that might have side effects on the original value).

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AaFn8PESgSVACppO2zvu&open=AaFn8PESgSVACppO2zvu&pullRequest=19001

Check warning on line 257 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/execution/memory/MemoryPool.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Line is longer than 100 characters (found 113).

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AaFn8Om8gSVACppO2zvM&open=AaFn8Om8gSVACppO2zvM&pullRequest=19001

Check warning on line 4142 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/subscription/broker/consensus/ConsensusPrefetchingQueue.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Invert this negated condition and swap the two branches of the ternary.

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AaFn8O_ogSVACppO2zvo&open=AaFn8O_ogSVACppO2zvo&pullRequest=19001

Check warning on line 1740 in iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/manager/schema/ClusterSchemaManager.java

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=apache_iotdb&issues=AaFn8PxHgSVACppO2zwE&open=AaFn8PxHgSVACppO2zwE&pullRequest=19001