Repository navigation
fix: Compare batch_source in KafkaSource and KinesisSource equality - #6926
Open
Rodrigo-Palma wants to merge 1 commit into
Open
Rodrigo-Palma wants to merge 1 commit into
Rodrigo-Palma wants to merge 1 commit into
Conversation
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #6926 +/- ##
=======================================
Coverage 54.26% 54.27%
=======================================
Files 467 467
Lines 59041 59041
Branches 8712 8712
=======================================
+ Hits 32040 32045 +5
+ Misses 24837 24835 -2
+ Partials 2164 2161 -3
... and 1 file with indirect coverage changes Continue to review full report in Codecov by Harness.
🚀 New features to boost your workflow:
|
Collaborator
|
good catch |
franciscojavierarceo
approved these changes
Nov 26, 2026
Both __eq__ methods ignored batch_source, so apply_data_source treated a stream source whose batch source changed as unchanged and skipped the write. Signed-off-by: Rodrigo-Palma <email.rodrigopalma@gmail.com>
Rodrigo-Palma
force-pushed
the
fix/stream-source-eq-batch-source
branch
from
November 26, 2026 11:58
77343de to
4932f35
Compare
Contributor
Author
|
Rebased onto master to resolve the test-file conflict; no change to the fix. |
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What this PR does / why we need it:
KafkaSource.__eq__andKinesisSource.__eq__ignorebatch_source(PushSource.__eq__checks it).apply_data_sourceskips the write when the stored source is equal, so changing only the batch source of a stream source is silently not persisted.Which issue(s) this PR fixes:
None filed.
Checks
git commit -s)Testing Strategy
Misc
New test fails on master for both sources (unequal check and registry round trip) and passes with the fix.