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

🐛Hotfix: Dynamic-backend shall work even if resources were initially empty #5205

Merged

Conversation

sanderegg
Copy link
Member

@sanderegg sanderegg commented Dec 22, 2023

What do these changes do?

Sometimes a project service resources are empty due to historical reasons.
This PR allows to use defaults in case this happens and will fill the missing data on the go.

Potentially shall be hotfixed to sim4life.io

Related issue/s

How to test

Dev Checklist

DevOps Checklist

@sanderegg sanderegg added the a:webserver issue related to the webserver service label Dec 22, 2023
@sanderegg sanderegg added this to the Kobayashi Maru milestone Dec 22, 2023
@sanderegg sanderegg self-assigned this Dec 22, 2023
Copy link
Contributor

@matusdrobuliak66 matusdrobuliak66 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🥇

Copy link

codecov bot commented Dec 22, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (c0ba8a2) 85.2% compared to head (8ad7a34) 86.4%.
Report is 1 commits behind head on master.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff            @@
##           master   #5205      +/-   ##
=========================================
+ Coverage    85.2%   86.4%    +1.2%     
=========================================
  Files        1291     320     -971     
  Lines       52913   15381   -37532     
  Branches     1157       0    -1157     
=========================================
- Hits        45083   13302   -31781     
+ Misses       7587    2079    -5508     
+ Partials      243       0     -243     
Flag Coverage Δ
unittests 86.4% <100.0%> (+1.2%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Coverage Δ
...r/projects/_project_nodes_pricing_unit_handlers.py 96.0% <100.0%> (ø)
...simcore_service_webserver/projects/projects_api.py 77.4% <100.0%> (-0.1%) ⬇️

... and 972 files with indirect coverage changes

@sanderegg sanderegg force-pushed the hotfix/allow-empty-initial-resources branch from 495e408 to 8ad7a34 Compare December 22, 2023 10:31
Copy link

Quality Gate Passed Quality Gate passed

Kudos, no new issues were introduced!

0 New issues
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

@sanderegg sanderegg merged commit ce9dc59 into ITISFoundation:master Dec 22, 2023
53 of 54 checks passed
@sanderegg sanderegg deleted the hotfix/allow-empty-initial-resources branch December 22, 2023 10:51
@matusdrobuliak66 matusdrobuliak66 mentioned this pull request Jan 8, 2024
33 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
a:webserver issue related to the webserver service
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants