infoderm / patients

:face_with_thermometer: Patients meteor app
GNU Affero General Public License v3.0
5 stars 2 forks source link

Rewrite `makeObservedQueryPublication` using MongoDB change streams #1003

Open make-github-pseudonymous-again opened 1 month ago

make-github-pseudonymous-again commented 1 month ago

This is progress on #999.

codecov[bot] commented 1 month ago

Codecov Report

Attention: Patch coverage is 59.83607% with 49 lines in your changes missing coverage. Please review.

Project coverage is 66.27%. Comparing base (ab34112) to head (f01a517).

Files Patch % Lines
imports/api/publication/publishCursors.ts 9.52% 19 Missing :warning:
imports/api/publication/stats/frequencyBySex.ts 0.00% 18 Missing :warning:
imports/api/consultations.ts 60.00% 1 Missing and 1 partial :warning:
imports/api/events.ts 0.00% 2 Missing :warning:
imports/api/query/watch.ts 95.12% 1 Missing and 1 partial :warning:
imports/api/createTagCollection.ts 66.66% 1 Missing :warning:
imports/api/makeFilteredCollection.ts 0.00% 1 Missing :warning:
imports/api/makeObservedQueryPublication.ts 85.71% 0 Missing and 1 partial :warning:
imports/api/publication/define.ts 83.33% 1 Missing :warning:
imports/api/publication/events/intersects.ts 0.00% 1 Missing :warning:
... and 1 more
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #1003 +/- ## ========================================== + Coverage 66.26% 66.27% +0.01% ========================================== Files 719 722 +3 Lines 10006 10093 +87 Branches 1349 1356 +7 ========================================== + Hits 6630 6689 +59 - Misses 2915 2936 +21 - Partials 461 468 +7 ``` | [Flag](https://app.codecov.io/gh/infoderm/patients/pull/1003/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=infoderm) | Coverage Δ | | |---|---|---| | [client](https://app.codecov.io/gh/infoderm/patients/pull/1003/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=infoderm) | `46.03% <59.83%> (+0.18%)` | :arrow_up: | | [server](https://app.codecov.io/gh/infoderm/patients/pull/1003/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=infoderm) | `61.94% <17.21%> (-0.67%)` | :arrow_down: | | [test](https://app.codecov.io/gh/infoderm/patients/pull/1003/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=infoderm) | `71.75% <22.58%> (-0.78%)` | :arrow_down: | | [test-app](https://app.codecov.io/gh/infoderm/patients/pull/1003/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=infoderm) | `53.86% <59.83%> (+0.14%)` | :arrow_up: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=infoderm#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.