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

♻️Fixed Unit test director v2 #6733

Conversation

sanderegg
Copy link
Member

@sanderegg sanderegg commented Nov 15, 2024

What do these changes do?

  • fixes tests in dv-2
    the fix for the clusters is ugly, but these will disappear soon.

The issue arise because the ClusterGet is the same as the internal model and the webserver likes to have them frozen (after validators cannot run in frozen models).
since this is pretty much unused I will not waste any more time on this.

Related issue/s

How to test

Dev-ops checklist

@sanderegg sanderegg added the t:maintenance Some planned maintenance work label Nov 15, 2024
@sanderegg sanderegg added this to the Event Horizon milestone Nov 15, 2024
@sanderegg sanderegg self-assigned this Nov 15, 2024
Copy link

codecov bot commented Nov 15, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 82.69%. Comparing base (44bc9f7) to head (b4565b3).
Report is 3 commits behind head on pydantic_v2_migration_do_not_squash_updates.

Additional details and impacted files
@@                               Coverage Diff                                @@
##           pydantic_v2_migration_do_not_squash_updates    #6733       +/-   ##
================================================================================
+ Coverage                                        67.96%   82.69%   +14.72%     
================================================================================
  Files                                             1427     1232      -195     
  Lines                                            57729    56359     -1370     
  Branches                                          2229     1011     -1218     
================================================================================
+ Hits                                             39238    46604     +7366     
+ Misses                                           18157     9612     -8545     
+ Partials                                           334      143      -191     
Flag Coverage Δ *Carryforward flag
integrationtests 53.33% <ø> (ø) Carriedforward from 676b320
unittests 85.55% <100.00%> (+2.38%) ⬆️

*This pull request uses carry forward flags. Click here to find out more.

Components Coverage Δ
api ∅ <ø> (∅)
pkg_aws_library ∅ <ø> (∅)
pkg_dask_task_models_library ∅ <ø> (∅)
pkg_models_library 91.18% <100.00%> (-0.14%) ⬇️
pkg_notifications_library ∅ <ø> (∅)
pkg_postgres_database ∅ <ø> (∅)
pkg_service_integration 70.00% <ø> (ø)
pkg_service_library ∅ <ø> (∅)
pkg_settings_library ∅ <ø> (∅)
pkg_simcore_sdk 78.26% <ø> (ø)
agent 97.01% <ø> (ø)
api_server 89.66% <ø> (∅)
autoscaling ∅ <ø> (∅)
catalog 90.57% <ø> (ø)
clusters_keeper 98.73% <ø> (ø)
dask_sidecar 90.87% <ø> (ø)
datcore_adapter 93.17% <ø> (∅)
director 58.38% <ø> (ø)
director_v2 88.49% <ø> (+12.19%) ⬆️
dynamic_scheduler 96.59% <ø> (ø)
dynamic_sidecar 59.79% <ø> (ø)
efs_guardian 90.12% <ø> (ø)
invitations 93.49% <ø> (ø)
osparc_gateway_server 85.74% <ø> (ø)
payments 92.77% <ø> (ø)
resource_usage_tracker 90.76% <ø> (+0.15%) ⬆️
storage 89.66% <ø> (ø)
webclient ∅ <ø> (∅)
webserver 79.96% <ø> (+39.36%) ⬆️

Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 44bc9f7...b4565b3. Read the comment docs.

@sanderegg sanderegg merged commit 84c4c85 into ITISFoundation:pydantic_v2_migration_do_not_squash_updates Nov 15, 2024
@sanderegg sanderegg deleted the unit-test-director-v2 branch November 15, 2024 15:33
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
t:maintenance Some planned maintenance work
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants