Skip to content

Fix a race condition which allowed duplicate consultations to be created

Codecov / codecov/project succeeded Aug 19, 2024 in 0s

63.76% (+0.07%) compared to e95d98d

View this Pull Request on Codecov

63.76% (+0.07%) compared to e95d98d

Details

Codecov Report

Attention: Patch coverage is 71.79487% with 22 lines in your changes missing coverage. Please review.

Project coverage is 63.76%. Comparing base (e95d98d) to head (41bdfb3).

Files Patch % Lines
...e/facility/api/serializers/patient_consultation.py 62.50% 11 Missing and 7 partials ⚠️
care/utils/lock.py 84.61% 3 Missing and 1 partial ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #2299      +/-   ##
===========================================
+ Coverage    63.69%   63.76%   +0.07%     
===========================================
  Files          238      239       +1     
  Lines        13384    13411      +27     
  Branches      1908     1909       +1     
===========================================
+ Hits          8525     8552      +27     
- Misses        4509     4510       +1     
+ Partials       350      349       -1     

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