-
Notifications
You must be signed in to change notification settings - Fork 70
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
fix: Finalize and write last state message with dedupe #1708
fix: Finalize and write last state message with dedupe #1708
Conversation
Codecov Report
@@ Coverage Diff @@
## main #1708 +/- ##
==========================================
+ Coverage 86.53% 86.56% +0.02%
==========================================
Files 59 59
Lines 4990 5000 +10
Branches 811 811
==========================================
+ Hits 4318 4328 +10
Misses 476 476
Partials 196 196
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
@kgpayne - I did some digging and found that sdk/singer_sdk/helpers/_state.py Lines 248 to 270 in 5ff3f45
Probably more scope than is needed for a fix of the underlying bug, given that sending an extra Regarding performance of this operation, at least this operation is once-per-state-finalization-option and not once-per-record-write. Otherwise this would be more high-stakes code to update, performance wise. 🤷 |
@aaronsteers the root cause was indeed missing For now I was able to 'fix' the issue @laurentS is seeing in Re: a refactor: we use the FYI @edgarrmondragon - open to all feedback and suggestions 🙂 |
@kgpayne - Yeah, nice. Agreed with all the above. 👍 |
@kgpayne @edgarrmondragon @aaronsteers is it worth bringing some form of the test that fails in |
@laurentS I agree, we should take the opportunity to guard against future regressions 👍 |
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.
Ken's work is 👌 here. I only an automatic test so I'm confident merging.
Closes #1704