Skip to content

Conversation

@gargharsh3134
Copy link
Contributor

@gargharsh3134 gargharsh3134 commented Dec 12, 2025

Description

RemotePublication feature was missing BackWardCompatibility rolling upgrade integration tests which was leading to unintended incompatibilities between versions.

Related Issues

Resolves #[Issue number to be closed when this PR is merged]

Check List

  • Functionality includes testing.
  • API changes companion pull request created, if applicable.
  • Public documentation issue/PR created, if applicable.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

@coderabbitai
Copy link

coderabbitai bot commented Dec 12, 2025

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment

Comment @coderabbitai help to get the list of available commands and usage tips.

@github-actions
Copy link
Contributor

✅ Gradle check result for c6ef629: SUCCESS

@codecov
Copy link

codecov bot commented Dec 12, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 73.19%. Comparing base (66ed5cb) to head (c6ef629).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff              @@
##               main   #20221      +/-   ##
============================================
+ Coverage     72.82%   73.19%   +0.36%     
- Complexity    71315    71730     +415     
============================================
  Files          5795     5795              
  Lines        328297   328302       +5     
  Branches      47282    47283       +1     
============================================
+ Hits         239089   240298    +1209     
+ Misses        69893    68696    -1197     
+ Partials      19315    19308       -7     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link
Contributor

@rajiv-kv rajiv-kv left a comment

Choose a reason for hiding this comment

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

Can you include the build logs (from your local runs / remote jenkins) where the additional tests are able to run successfully with remote publication enabled ?

Comment on lines +48 to +52
if (testFilter == 'exclude') {
exclude '**/RemotePublicationClusterStateIT.class'
} else if (testFilter == 'include') {
include '**/RemotePublicationClusterStateIT.class'
}
Copy link
Contributor

Choose a reason for hiding this comment

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

Can we run this test in disabled mode also ?

private static final String componentTemplateName = "test_component_template";

public void testUpgradeWithRemotePublicationEnabled() throws Exception {
if (CLUSTER_TYPE == ClusterType.OLD) {
Copy link
Contributor

Choose a reason for hiding this comment

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

what will be different b/w old and upgraded cluster ?

include '**/RemotePublicationClusterStateIT.class'
}

extraConfig.delegate = delegate
Copy link
Contributor

Choose a reason for hiding this comment

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

why is this required ? Does the RHS delegate refer to the configureTask method ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants