Skip to content

Conversation

@bisgaard-itis
Copy link
Contributor

What do these changes do?

  • This PR adds two load tests, which can be parametrized via the locust UI: One for the run endpoint and one for the map endpoint.
  • These are different from previous load tests in the sense that they don't depend on the underlying function. I.e. one can define a function via the swagger view of the api-server and run these directly.
  • Random function input data is generated from a specified json schema.

Related issue/s

How to test

Dev-ops

@bisgaard-itis bisgaard-itis self-assigned this Sep 8, 2025
@bisgaard-itis bisgaard-itis added t:enhancement Improvement or request on an existing feature t:maintenance Some planned maintenance work labels Sep 8, 2025
@bisgaard-itis bisgaard-itis added this to the Cheops milestone Sep 8, 2025
@bisgaard-itis bisgaard-itis marked this pull request as ready for review September 8, 2025 13:01
@codecov
Copy link

codecov bot commented Sep 8, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 87.64%. Comparing base (143120f) to head (51ebca9).
⚠️ Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #8326      +/-   ##
==========================================
+ Coverage   84.67%   87.64%   +2.97%     
==========================================
  Files        1891     1948      +57     
  Lines       72999    75615    +2616     
  Branches     1311     1311              
==========================================
+ Hits        61811    66275    +4464     
+ Misses      10807     8945    -1862     
- Partials      381      395      +14     
Flag Coverage Δ *Carryforward flag
integrationtests 64.08% <ø> (+2.70%) ⬆️
unittests 86.49% <ø> (+1.68%) ⬆️ Carriedforward from 63eac38

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

Components Coverage Δ
pkg_aws_library 93.59% <ø> (ø)
pkg_celery_library 87.37% <ø> (ø)
pkg_dask_task_models_library 79.62% <ø> (ø)
pkg_models_library 93.13% <ø> (-0.02%) ⬇️
pkg_notifications_library 85.20% <ø> (ø)
pkg_postgres_database 88.02% <ø> (ø)
pkg_service_integration 70.19% <ø> (ø)
pkg_service_library 71.13% <ø> (+0.04%) ⬆️
pkg_settings_library 90.16% <ø> (-0.03%) ⬇️
pkg_simcore_sdk 85.15% <ø> (+19.85%) ⬆️
agent 93.53% <ø> (ø)
api_server 91.87% <ø> (-0.04%) ⬇️
autoscaling 95.77% <ø> (ø)
catalog 92.34% <ø> (ø)
clusters_keeper 99.13% <ø> (-0.01%) ⬇️
dask_sidecar 92.37% <ø> (ø)
datcore_adapter 97.94% <ø> (ø)
director 75.81% <ø> (ø)
director_v2 90.89% <ø> (+6.29%) ⬆️
dynamic_scheduler 96.27% <ø> (ø)
dynamic_sidecar 90.46% <ø> (+8.58%) ⬆️
efs_guardian 89.62% <ø> (ø)
invitations 91.44% <ø> (ø)
payments 92.61% <ø> (ø)
resource_usage_tracker 92.13% <ø> (ø)
storage 86.57% <ø> (∅)
webclient ∅ <ø> (∅)
webserver 87.36% <ø> (+4.93%) ⬆️

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 143120f...51ebca9. Read the comment docs.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@mergify
Copy link
Contributor

mergify bot commented Sep 8, 2025

🧪 CI Insights

Here's what we observed from your CI run for 51ebca9.

✅ Passed Jobs With Interesting Signals

Pipeline Job Signal Health on master Retries 🔍 CI Insights 📄 Logs
CI unit-tests Base branch is broken, but the job passed. Looks like this might be a real fix 💪 Broken 0 View View

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.

cool! thanks

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.

thx

@sonarqubecloud
Copy link

sonarqubecloud bot commented Sep 9, 2025

@bisgaard-itis bisgaard-itis merged commit d443f36 into ITISFoundation:master Sep 9, 2025
95 checks passed
@bisgaard-itis bisgaard-itis deleted the add-parametrizable-load-tests-for-function-interface branch September 9, 2025 04:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

t:enhancement Improvement or request on an existing feature t:maintenance Some planned maintenance work

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants