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

♻️ fixing mypy issues in director-v2 part3 #4211

Merged
merged 19 commits into from
May 11, 2023

Conversation

GitHK
Copy link
Contributor

@GitHK GitHK commented May 10, 2023

What do these changes do?

  • ♻️ moving scheduler internals around to make mypy and codeclimate happy!
  • 🐛 more typing fixes

Related issue/s

How to test

DevOps Checklist

@GitHK GitHK self-assigned this May 10, 2023
@GitHK GitHK added t:maintenance Some planned maintenance work a:director-v2 issue related with the director-v2 service labels May 10, 2023
@GitHK GitHK added this to the Pastel de Nata milestone May 10, 2023
@GitHK GitHK changed the title ♻️ mypy in director-v2 ♻️ fixing mypy issues in director-v2 part3 May 10, 2023
@codecov
Copy link

codecov bot commented May 10, 2023

Codecov Report

Merging #4211 (815ef7c) into master (3ef87fb) will decrease coverage by 16.2%.
The diff coverage is 82.6%.

Impacted file tree graph

@@            Coverage Diff            @@
##           master   #4211      +/-   ##
=========================================
- Coverage    85.5%   69.4%   -16.2%     
=========================================
  Files         953     394     -559     
  Lines       41354   20510   -20844     
  Branches      953     173     -780     
=========================================
- Hits        35382   14236   -21146     
- Misses       5755    6225     +470     
+ Partials      217      49     -168     
Flag Coverage Δ
integrationtests 61.8% <69.2%> (-6.7%) ⬇️
unittests 85.5% <82.6%> (+3.2%) ⬆️

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

Impacted Files Coverage Δ
...2/src/simcore_service_director_v2/core/settings.py 98.4% <ø> (ø)
...or_v2/models/schemas/dynamic_services/scheduler.py 96.2% <ø> (-2.5%) ⬇️
...ector_v2/modules/dynamic_sidecar/scheduler/_abc.py 100.0% <ø> (ø)
...e_service_director_v2/modules/projects_networks.py 74.4% <0.0%> (-0.9%) ⬇️
...ynamic_sidecar/scheduler/_core/_scheduler_utils.py 77.5% <67.5%> (-22.5%) ⬇️
...ules/dynamic_sidecar/scheduler/_core/_scheduler.py 80.9% <94.8%> (+2.3%) ⬆️
...-v2/src/simcore_service_director_v2/cli/_client.py 100.0% <100.0%> (ø)
...ore_service_director_v2/models/schemas/clusters.py 98.8% <100.0%> (-0.1%) ⬇️
...ctor_v2/models/schemas/dynamic_services/service.py 100.0% <100.0%> (ø)

... and 745 files with indirect coverage changes

@GitHK GitHK marked this pull request as ready for review May 10, 2023 14:02
@GitHK GitHK requested review from sanderegg and pcrespov as code owners May 10, 2023 14:02
@GitHK GitHK requested a review from matusdrobuliak66 May 10, 2023 14:02
Copy link
Member

@pcrespov pcrespov left a comment

Choose a reason for hiding this comment

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

Please consider my comments. thx

Copy link
Member

@sanderegg sanderegg left a comment

Choose a reason for hiding this comment

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

Please modify the changes in cluster.py so I can drop them in my PR. thanks

Copy link
Member

@sanderegg sanderegg left a comment

Choose a reason for hiding this comment

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

Please modify the changes in cluster.py so I can drop them in my PR. thanks

@GitHK GitHK requested a review from sanderegg May 11, 2023 06:48
Copy link
Member

@sanderegg sanderegg left a comment

Choose a reason for hiding this comment

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

thanks!

Copy link
Member

@sanderegg sanderegg left a comment

Choose a reason for hiding this comment

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

thanks!

@GitHK GitHK enabled auto-merge (squash) May 11, 2023 06:56
@GitHK GitHK disabled auto-merge May 11, 2023 06:56
@GitHK GitHK enabled auto-merge (squash) May 11, 2023 06:57
@codeclimate
Copy link

codeclimate bot commented May 11, 2023

Code Climate has analyzed commit 815ef7c and detected 0 issues on this pull request.

View more on Code Climate.

@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.1% 0.1% Duplication

@GitHK GitHK merged commit 5346f61 into ITISFoundation:master May 11, 2023
@GitHK GitHK deleted the pr-osparc-mypy-director-v2-partx branch May 11, 2023 07:37
@matusdrobuliak66 matusdrobuliak66 mentioned this pull request May 30, 2023
24 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
a:director-v2 issue related with the director-v2 service t:maintenance Some planned maintenance work
Projects
None yet
Development

Successfully merging this pull request may close these issues.

director-v2 mypy Part 3 followup
4 participants