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

Production Release; Spetember Week 3 #1613

Merged
merged 15 commits into from
Sep 15, 2023
Merged

Production Release; Spetember Week 3 #1613

merged 15 commits into from
Sep 15, 2023

Conversation

mathew-alex
Copy link
Contributor

No description provided.

yaswanthsaivendra and others added 15 commits September 11, 2023 20:24
* used prefetch_related method to optimize the query performed to fetch a many to many relationship

* Revert "add direnv support (#1304)"

This reverts commit f613661.

* Revert "Revert "add direnv support (#1304)""

This reverts commit 7d410fd.

* Revert "used prefetch_related method to optimize the query performed to fetch a many to many relationship"

This reverts commit 8946d5f.

* used prefetch where we are querying the skills using UserAssigned Serializer

* made neccessary changes to filter for having admitted but no bed assigned

* Revert "used prefetch where we are querying the skills using UserAssigned Serializer"

This reverts commit 7000a38.

* updated the view to handle none option for bed type

* changed value 8 into None for None option

* made use of Q function to write the filter

* made use of in lookup

* fix

* added tests and minor fixes in code

* updated the test to make use of testbase

* minor refactor

Signed-off-by: Aakash Singh <mail@singhaakash.dev>

* add more tests

Signed-off-by: Aakash Singh <mail@singhaakash.dev>

* refactor

---------

Signed-off-by: Aakash Singh <mail@singhaakash.dev>
Co-authored-by: Rithvik Nishad <rithvik.nishad@egovernments.org>
Co-authored-by: Aakash Singh <mail@singhaakash.dev>
Co-authored-by: Vignesh Hari <vichuhari100@gmail.com>
* add field readmission + custom migration

* rebase migration

* fix rebase migration
)

delete duplicate `AssetBed` records of "HL7MONITOR" `asset_class`
* add table to track user facility allocation

* fixed edge cases

* update migration

Signed-off-by: Aakash Singh <mail@singhaakash.dev>

---------

Signed-off-by: Aakash Singh <mail@singhaakash.dev>
* add devcontainer config

Signed-off-by: Aakash Singh <mail@singhaakash.dev>

* add devcontainer config

Signed-off-by: Aakash Singh <mail@singhaakash.dev>

* switch to pipenv

* fix tests

* remove test workflow restriction

* fix concurrency issue

* update deploy workflow

* revert removed step

---------

Signed-off-by: Aakash Singh <mail@singhaakash.dev>
fix conflicting bed logic
@codecov
Copy link

codecov bot commented Sep 15, 2023

Codecov Report

Patch coverage: 85.15% and project coverage change: +10.58% 🎉

Comparison is base (40484cf) 48.49% compared to head (e973e39) 59.08%.
Report is 170 commits behind head on production.

Additional details and impacted files
@@               Coverage Diff               @@
##           production    #1613       +/-   ##
===============================================
+ Coverage       48.49%   59.08%   +10.58%     
===============================================
  Files             683      205      -478     
  Lines           14359    11144     -3215     
  Branches         2518     1587      -931     
===============================================
- Hits             6964     6584      -380     
+ Misses           7182     4360     -2822     
+ Partials          213      200       -13     
Files Changed Coverage Δ
...y/management/commands/load_meta_icd11_diagnosis.py 0.00% <0.00%> (ø)
...e/facility/api/serializers/patient_consultation.py 52.51% <50.00%> (-0.21%) ⬇️
care/facility/api/viewsets/asset.py 69.58% <58.33%> (-1.92%) ⬇️
care/facility/api/viewsets/patient.py 62.19% <81.81%> (+2.63%) ⬆️
care/users/signals.py 94.87% <92.59%> (-5.13%) ⬇️
care/facility/models/asset.py 95.19% <93.33%> (-0.77%) ⬇️
care/facility/api/serializers/asset.py 84.84% <100.00%> (ø)
care/facility/api/serializers/bed.py 84.27% <100.00%> (+17.38%) ⬆️
care/facility/models/meta_icd11_diagnosis.py 95.00% <100.00%> (+0.55%) ⬆️
care/facility/models/patient_consultation.py 95.06% <100.00%> (+0.06%) ⬆️
... and 2 more

... and 489 files with indirect coverage changes

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

@mathew-alex mathew-alex merged commit ffb2d76 into production Sep 15, 2023
16 checks passed
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.

6 participants