andyhuangdev opened a new pull request, #12067:
URL: https://github.com/apache/ozone/pull/12067

   ## What changes were proposed in this pull request?
   
   coverage.sh extracts classes only from jars matching hdds-*.jar or 
ozone-*.jar, which excludes rocksdb-checkpoint-differ. Its generated-code 
exclusions also miss org.apache.hadoop.ipc_.protobuf because they match 
directories named proto.
   
   This patch:
   
   - Renames the checkpoint differ module and artifact to 
hdds-rocksdb-checkpoint-differ so the existing jar selection includes its 
classes.
   - Updates Maven dependency references and the distribution jar inventory.
   - Excludes generated IPC protobuf classes from coverage while retaining 
handwritten IPC classes.
   
   These changes correct the classes included in the JaCoCo report. Sonar 
coverage-scope alignment remains a separate task.
   
   ## What is the link to the Apache JIRA
   
   [HDDS-17836](https://issues.apache.org/jira/browse/HDDS-17836)
   
   ## How was this patch tested?
   
   - Built the renamed module and its dependencies, and packaged the 
distribution, with -DskipTests -DskipShade -DskipRecon.
   - Passed Checkstyle, Bats, Bash syntax validation, and git diff --check.
   - Ran a focused fixture using the coverage script’s extraction and exclusion 
commands. It verified that the renamed jar is included, generated protobuf 
classes are excluded, and handwritten IPC classes remain.
   - Ran RAT: the renamed module passed; the overall check reported existing 
license issues in Bats helper and build-output directories.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to