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

MAT-363 – attempted extra Donation locking #893

Draft
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

NoelLH
Copy link
Contributor

@NoelLH NoelLH commented Jun 13, 2024

WIP. Like #892 plus locks that seemed prudent, but in one case also break integration tests.

@bdsl bdsl force-pushed the MAT-363-extra-locks-wip branch 2 times, most recently from de15aff to 97ecb0c Compare June 18, 2024 12:21
… with ID lookups followed by find with lock

Also hopefully makes the DonationRepo usage a bit more self-documenting
etc
@bdsl bdsl force-pushed the MAT-363-extra-locks-wip branch from 97ecb0c to 0401070 Compare June 18, 2024 12:34
Copy link

codecov bot commented Jun 18, 2024

Codecov Report

Attention: Patch coverage is 56.81818% with 19 lines in your changes missing coverage. Please review.

Project coverage is 76.35%. Comparing base (e269805) to head (0401070).
Report is 13 commits behind head on develop.

Files Patch % Lines
src/Domain/DonationRepository.php 30.76% 18 Missing ⚠️
src/Domain/SalesforceWriteProxyRepository.php 50.00% 1 Missing ⚠️
Additional details and impacted files
@@              Coverage Diff              @@
##             develop     #893      +/-   ##
=============================================
- Coverage      76.43%   76.35%   -0.09%     
- Complexity       966      972       +6     
=============================================
  Files             89       89              
  Lines           4180     4220      +40     
=============================================
+ Hits            3195     3222      +27     
- Misses           985      998      +13     

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

@bdsl
Copy link
Contributor

bdsl commented Oct 15, 2024

@NoelLH is this still relevant?

@NoelLH
Copy link
Contributor Author

NoelLH commented Oct 15, 2024

@NoelLH is this still relevant?

Maybe. I need to review the risk of not locking in the extra places.

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