Skip to content

♻️ Extract Celery code to a new simcore package ⚠️ #7698

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

Open
wants to merge 72 commits into
base: master
Choose a base branch
from

Conversation

giancarloromeo
Copy link
Contributor

@giancarloromeo giancarloromeo commented May 19, 2025

What do these changes do?

This PR extracts the Celery wrapper logic from the existing storage module into a new dedicated simcore Celery package.

  • Introduces a new celery_library library with functions to setup and retrieve the Celery client and event loop.
  • Updates CI/CD workflows, CodeQL configuration, and Codecov settings to include the new package.

Related issue/s

How to test

cd packages/celery-library
make install-dev
make test-dev

Dev-ops

⚠️ New package has been added, this means new GitHub CI instructions.

@giancarloromeo giancarloromeo added this to the Bazinga! milestone May 19, 2025
@giancarloromeo giancarloromeo self-assigned this May 19, 2025
@giancarloromeo giancarloromeo added the a:storage issue related to storage service label May 19, 2025
Copy link

codecov bot commented May 19, 2025

Codecov Report

Attention: Patch coverage is 51.11111% with 44 lines in your changes missing coverage. Please review.

Project coverage is 84.36%. Comparing base (3f0809d) to head (3d0bbb5).
Report is 2 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #7698      +/-   ##
==========================================
- Coverage   86.74%   84.36%   -2.38%     
==========================================
  Files        1851     1257     -594     
  Lines       71968    53943   -18025     
  Branches     1218      199    -1019     
==========================================
- Hits        62431    45511   -16920     
+ Misses       9195     8374     -821     
+ Partials      342       58     -284     
Flag Coverage Δ
integrationtests 60.38% <ø> (-3.82%) ⬇️
unittests 84.73% <51.11%> (-1.76%) ⬇️
Components Coverage Δ
api ∅ <ø> (∅)
pkg_aws_library ∅ <ø> (∅)
pkg_celery_library 33.57% <37.50%> (∅)
pkg_dask_task_models_library ∅ <ø> (∅)
pkg_models_library ∅ <ø> (∅)
pkg_notifications_library ∅ <ø> (∅)
pkg_postgres_database ∅ <ø> (∅)
pkg_service_integration ∅ <ø> (∅)
pkg_service_library ∅ <ø> (∅)
pkg_settings_library ∅ <ø> (∅)
pkg_simcore_sdk 85.05% <ø> (ø)
agent 96.29% <ø> (ø)
api_server 91.75% <ø> (ø)
autoscaling 96.03% <ø> (ø)
catalog 92.29% <ø> (ø)
clusters_keeper 99.13% <ø> (ø)
dask_sidecar 91.79% <ø> (ø)
datcore_adapter 97.94% <ø> (ø)
director 76.73% <ø> (ø)
director_v2 85.32% <ø> (-5.75%) ⬇️
dynamic_scheduler 96.69% <ø> (ø)
dynamic_sidecar 90.08% <ø> (-0.07%) ⬇️
efs_guardian 89.65% <ø> (ø)
invitations 93.00% <ø> (ø)
payments 92.57% <ø> (ø)
resource_usage_tracker 88.98% <ø> (ø)
storage 86.27% <73.52%> (-1.31%) ⬇️
webclient ∅ <ø> (∅)
webserver 77.46% <ø> (-6.28%) ⬇️

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 3f0809d...3d0bbb5. 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.

@giancarloromeo giancarloromeo changed the title ♻️ Extract Celery code to a new package ♻️ Extract Celery code to a new simcore package May 19, 2025
@giancarloromeo giancarloromeo changed the title ♻️ Extract Celery code to a new simcore package ♻️ Extract Celery code to a new simcore package May 19, 2025
@giancarloromeo giancarloromeo changed the title ♻️ Extract Celery code to a new simcore package ♻️ Extract Celery code to a new simcore package ⚠️ May 20, 2025
bisgaard-itis and others added 29 commits May 27, 2025 07:34
This reverts commit dcef2f1.
Copy link

sonarqubecloud bot commented Jun 6, 2025

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
a:storage issue related to storage service
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants