Skip to content

Conversation

@wvangeit
Copy link
Contributor

In effort to speed up the functions api a bit, the outputs of function are now stored in the function db, and also the status once it reaches SUCCEEDED/FAILED. This avoids some lookups using the study/comp jobs code.
Small refactoring by splitting tests in different files.

How to test

Fetch the status/outputs of a succeeded/failed jobs. These should now come straight from the function job db (and should be stored there)

Dev-ops

No changes

@wvangeit wvangeit added this to the Engage milestone Jul 23, 2025
@wvangeit wvangeit requested a review from bisgaard-itis July 23, 2025 06:37
@wvangeit wvangeit self-assigned this Jul 23, 2025
@wvangeit wvangeit added the a:webserver webserver's codebase. Assigning the area is particularly useful for bugs label Jul 23, 2025
@wvangeit wvangeit added the a:apiserver api-server service label Jul 23, 2025
@codecov
Copy link

codecov bot commented Jul 23, 2025

Codecov Report

Attention: Patch coverage is 75.00000% with 30 lines in your changes missing coverage. Please review.

Project coverage is 87.98%. Comparing base (3ef4975) to head (81dc362).
Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #8142      +/-   ##
==========================================
- Coverage   88.10%   87.98%   -0.12%     
==========================================
  Files        1893     1470     -423     
  Lines       72916    60593   -12323     
  Branches     1279      631     -648     
==========================================
- Hits        64239    53314   -10925     
+ Misses       8297     7057    -1240     
+ Partials      380      222     -158     
Flag Coverage Δ
integrationtests 64.19% <28.07%> (-0.06%) ⬇️
unittests 86.33% <75.00%> (-0.40%) ⬇️
Components Coverage Δ
pkg_aws_library ∅ <ø> (∅)
pkg_celery_library ∅ <ø> (∅)
pkg_dask_task_models_library ∅ <ø> (∅)
pkg_models_library ∅ <ø> (∅)
pkg_notifications_library ∅ <ø> (∅)
pkg_postgres_database ∅ <ø> (∅)
pkg_service_integration ∅ <ø> (∅)
pkg_service_library 71.35% <0.00%> (-0.18%) ⬇️
pkg_settings_library ∅ <ø> (∅)
pkg_simcore_sdk 85.16% <ø> (+0.17%) ⬆️
agent 93.81% <ø> (ø)
api_server 93.08% <78.72%> (+0.05%) ⬆️
autoscaling 95.88% <ø> (ø)
catalog 92.34% <ø> (ø)
clusters_keeper 99.13% <ø> (ø)
dask_sidecar 92.37% <ø> (+0.22%) ⬆️
datcore_adapter 97.94% <ø> (ø)
director 76.14% <ø> (ø)
director_v2 91.04% <ø> (-0.03%) ⬇️
dynamic_scheduler 96.27% <ø> (ø)
dynamic_sidecar 90.07% <ø> (ø)
efs_guardian 89.76% <ø> (ø)
invitations 91.44% <ø> (ø)
payments 92.60% <ø> (ø)
resource_usage_tracker 92.60% <ø> (+0.47%) ⬆️
storage 86.52% <ø> (-0.21%) ⬇️
webclient ∅ <ø> (∅)
webserver 88.18% <92.98%> (-0.04%) ⬇️

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 3ef4975...81dc362. 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.

Copy link
Contributor

@GitHK GitHK 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

@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!

@wvangeit wvangeit added the 🤖-automerge marks PR as ready to be merged for Mergify label Jul 24, 2025
@wvangeit
Copy link
Contributor Author

@mergify queue

@mergify
Copy link
Contributor

mergify bot commented Jul 24, 2025

queue

✅ The pull request has been merged automatically

The pull request has been merged automatically at b8bda32

@sonarqubecloud
Copy link

@mergify mergify bot merged commit b8bda32 into ITISFoundation:master Jul 25, 2025
95 of 97 checks passed
@wvangeit wvangeit deleted the store_function_outputs branch July 25, 2025 10:37
@matusdrobuliak66 matusdrobuliak66 mentioned this pull request Aug 5, 2025
88 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🤖-automerge marks PR as ready to be merged for Mergify a:apiserver api-server service a:webserver webserver's codebase. Assigning the area is particularly useful for bugs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants