Skip to content
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

Review transactions #813

Merged
merged 38 commits into from
Dec 28, 2024
Merged

Review transactions #813

merged 38 commits into from
Dec 28, 2024

Conversation

andrykonchin
Copy link
Member

@andrykonchin andrykonchin commented Oct 6, 2024

Changes:

  • changed new public methods to be closer to the existing non-transactional methods
  • removed some transactional methods that don't have non-transactional counterparts or cannot be atomic
  • moved documentation to the main README.md file
  • added more specs

Follow-up for #688 and #718

@andrykonchin andrykonchin marked this pull request as draft October 9, 2024 14:01
@andrykonchin andrykonchin changed the title [WIP] Review transactions Review transactions Oct 9, 2024
@andrykonchin andrykonchin force-pushed the ak/review-transactions branch from 04c4f4c to 83b6d50 Compare October 17, 2024 22:32
@andrykonchin andrykonchin force-pushed the ak/review-transactions branch 3 times, most recently from 851be13 to 3f7e154 Compare November 1, 2024 17:52
@andrykonchin andrykonchin force-pushed the ak/review-transactions branch 3 times, most recently from c42d3c0 to 7a35e94 Compare November 3, 2024 14:34
Copy link

codecov bot commented Nov 3, 2024

Codecov Report

Attention: Patch coverage is 98.29684% with 7 lines in your changes missing coverage. Please review.

Project coverage is 91.44%. Comparing base (191ecff) to head (75a55b2).
Report is 11 commits behind head on master.

Files with missing lines Patch % Lines
lib/dynamoid/transaction_write/base.rb 58.82% 7 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #813      +/-   ##
==========================================
+ Coverage   91.18%   91.44%   +0.25%     
==========================================
  Files          73       75       +2     
  Lines        3496     3645     +149     
==========================================
+ Hits         3188     3333     +145     
- Misses        308      312       +4     

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

@andrykonchin andrykonchin marked this pull request as ready for review November 3, 2024 14:48
@andrykonchin andrykonchin force-pushed the ak/review-transactions branch from 7a35e94 to 7208702 Compare November 3, 2024 14:57
@andrykonchin andrykonchin force-pushed the ak/review-transactions branch from 75a55b2 to 14a28de Compare December 28, 2024 11:11
@andrykonchin andrykonchin force-pushed the ak/review-transactions branch from 96a9884 to f9a4994 Compare December 28, 2024 11:35
Copy link

Code Coverage

Package Line Rate Health
dynamoid 91%
Summary 91% (3342 / 3654)

Minimum allowed line rate is 90%

@andrykonchin andrykonchin merged commit 312421b into master Dec 28, 2024
57 of 58 checks passed
@andrykonchin andrykonchin deleted the ak/review-transactions branch December 28, 2024 11:46
@andrykonchin
Copy link
Member Author

@ckhsponge

Finally I am ready to release this new transactions API. Thank you for your contribution!

There are still a few small items in my TODO list for the next release so it will take some time.

@ckhsponge
Copy link
Contributor

@andrykonchin I'm looking forward to it! I have some projects running now that use transactions and I'd be happy to test a release candidate if you want.

@andrykonchin
Copy link
Member Author

Yeah, it will be great!

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