Skip to content

Conversation

funky-eyes
Copy link
Contributor

  • I have registered the PR changes.

Ⅰ. Describe what this PR did

Ⅱ. Does this pull request fix one issue?

Ⅲ. Why don't you add test cases (unit test/integration test)?

Ⅳ. Describe how to verify it

Ⅴ. Special notes for reviews

@funky-eyes funky-eyes requested a review from Copilot May 22, 2025 02:15
@funky-eyes funky-eyes added this to the 2.5.0 milestone May 22, 2025
@funky-eyes funky-eyes added the type: test test case label May 22, 2025
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR updates the build configuration to merge submodule test reports and updates the change logs in both Chinese and English to reflect the change.

  • In pom.xml, a new execution with id "report-aggregate" is added to generate aggregate test reports during the test phase.
  • In changes/zh-cn/2.x.md and changes/en-us/2.x.md, new entries are added to document the merging of submodule test reports.

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
pom.xml Added a new execution for aggregating test reports during tests.
changes/zh-cn/2.x.md Updated the change log with an entry for merged test reports.
changes/en-us/2.x.md Updated the change log with an entry for merged test reports.
Comments suppressed due to low confidence (1)

pom.xml:491

  • Consider verifying whether the 'test' phase is the most appropriate phase for the 'report-aggregate' execution. Typically, aggregating reports is performed in the 'verify' phase to ensure that all tests have completed, which might provide more accurate reporting.
<phase>test</phase>

- [[#7294](https://github.com/apache/incubator-seata/pull/7294)] improved test testGetInsertParamsValue in SqlServerInsertRecognizerTest by splitting and parameterizing
- [[#7295](https://github.com/apache/incubator-seata/pull/7295)] updated 3 tests in StringUtilsTest to use parameterized unit testing
- [[#7205](https://github.com/apache/incubator-seata/issues/7205)] add UT for namingserver module
- [[#7359](https://github.com/apache/incubator-seata/issues/7359)] merge submodule test reports
Copy link
Preview

Copilot AI May 22, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[nitpick] Consider expanding the change log entry to briefly mention how merging submodule test reports improves overall test coverage visibility.

Copilot uses AI. Check for mistakes.

@YongGoose YongGoose self-requested a review May 22, 2025 02:17
Copy link

codecov bot commented May 22, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 58.37%. Comparing base (d6a29b4) to head (de2a576).
Report is 1 commits behind head on 2.x.

Additional details and impacted files
@@             Coverage Diff              @@
##                2.x    #7359      +/-   ##
============================================
+ Coverage     54.92%   58.37%   +3.45%     
+ Complexity     7413      535    -6878     
============================================
  Files          1181     1272      +91     
  Lines         42136    45849    +3713     
  Branches       4945     5519     +574     
============================================
+ Hits          23143    26766    +3623     
+ Misses        16815    16565     -250     
- Partials       2178     2518     +340     

see 285 files with indirect coverage changes

Impacted file tree graph

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Copy link
Member

@YongGoose YongGoose left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍🏻

Test coverage looks perpect

@funky-eyes funky-eyes merged commit f5694b4 into apache:2.x May 22, 2025
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: test test case
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants