-
Notifications
You must be signed in to change notification settings - Fork 77
feat: Taps can now opt-in to emitting ACTIVATE_VERSION
messages for streams with FULL_TABLE
replication
#2686
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
CodSpeed Performance ReportMerging #2686 will not alter performanceComparing Summary
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #2686 +/- ##
==========================================
+ Coverage 92.01% 92.13% +0.11%
==========================================
Files 62 62
Lines 5298 5312 +14
Branches 682 683 +1
==========================================
+ Hits 4875 4894 +19
+ Misses 297 293 -4
+ Partials 126 125 -1 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
fe4d249
to
722567c
Compare
… streams with `FULL_TABLE` replication
722567c
to
87cff00
Compare
@sourcery-ai review |
Reviewer's GuideThis PR adds an optional File-Level Changes
Assessment against linked issues
Possibly linked issues
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @edgarrmondragon - I've reviewed your changes and they look great!
Here's what I looked at during the review
- 🟡 General issues: 1 issue found
- 🟢 Security: all looks good
- 🟡 Testing: 2 issues found
- 🟢 Documentation: all looks good
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.
def test_countries_to_csv_mapped(csv_config: dict): | ||
@time_machine.travel(DATETIME, tick=False) | ||
@pytest.mark.snapshot | ||
def test_countries_to_csv_mapped( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
suggestion (testing): Consider testing behavior for non-FULL_TABLE
replication streams.
Add a test with a non-FULL_TABLE
replication method (e.g., INCREMENTAL
) to confirm that ACTIVATE_VERSION
messages are not emitted and RECORD
messages lack the new stream version field.
3e0ceb3
to
18de4a8
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @edgarrmondragon - I've reviewed your changes and they look great!
Here's what I looked at during the review
- 🟡 General issues: 2 issues found
- 🟢 Security: all looks good
- 🟢 Testing: all looks good
- 🟢 Documentation: all looks good
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.
Related
ACTIVATE_VERSION
meltano#2463 (https://hub.meltano.com/singer/docs/#activate-version)📚 Documentation preview 📚: https://meltano-sdk--2686.org.readthedocs.build/en/2686/
Summary by Sourcery
Emit ACTIVATE_VERSION messages and attach version metadata for FULL_TABLE replication streams; adjust replication key behavior, batch messages, and sample mapper logic; and bolster snapshot-based tests for tap→mapper→target workflows.
New Features:
Enhancements:
Tests:
Summary by Sourcery
Enable taps to optionally emit ACTIVATE_VERSION messages and include version metadata for FULL_TABLE replication streams, extend core stream and message classes to support version tracking, update sample mapper and capabilities, and add snapshot-driven tests for tap→mapper→target workflows.
New Features:
Enhancements:
emit_activate_version_messages
config property and update tap capabilities to include ACTIVATE_VERSION.Tests:
Chores: